Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. borg

borg

Apache-2.0Gov0.0.3

Search and save shell snippets directly from your terminal without switching to a browser.

GitHubGitHub
1.6k stars55 forks0 contributors

What is borg?

Borg is a command-line utility that allows developers to search and save shell snippets without leaving their terminal. It solves the problem of constantly switching to a browser to look up bash commands by providing a fast, in-terminal searchable database of community-contributed snippets.

Target Audience

Developers, sysadmins, and power users who frequently work in the terminal and want quick access to shell command examples without disrupting their workflow.

Value Proposition

Borg offers a streamlined, terminal-native experience for discovering and sharing shell knowledge, with the ability to self-host and a voting system that surfaces the most helpful snippets based on real user feedback.

Overview

Search and save shell snippets without leaving your terminal

Use Cases

Best For

  • Quickly finding bash one-liners for common tasks
  • Building a personal or team knowledge base of shell commands
  • Reducing context switching when working in the terminal
  • Learning shell scripting through practical examples
  • Self-hosting a private snippet repository for internal use
  • Rating and curating the most effective shell snippets

Not Ideal For

  • Teams needing a guaranteed, always-online hosted service without self-hosting maintenance
  • Users who require full snippet editing capabilities with pre-built binaries, not source compilation
  • Projects demanding advanced snippet organization like tagging, categories, or GUI management

Pros & Cons

Pros

Terminal-Native Search

Borg allows querying shell snippets directly from the command line with succinct output, minimizing workflow disruption, as designed to avoid leaving the terminal for bash commands.

Community Curation System

The `worked` command lets users upvote helpful snippets, improving search rankings based on real feedback, fostering a shared knowledge base that surfaces the best results.

Piping Flexibility

Supports piping search results to tools like `less` for easier browsing, mentioned in the README with `borg pipeto less`, enhancing usability for long outputs.

Self-Hosting Option

Offers the ability to run your own Borg server for full control over the snippet database, enabling private or customized setups, though the README notes it might become less appealing as community content grows.

Cons

Unreliable Hosted Service

The official hosted website (ok-b.org) is down due to lack of maintainer time, forcing users to self-host or wait for a planned resurrection, which limits out-of-the-box usability.

Limited Release Functionality

Pre-built releases only support searching snippets; adding or editing requires installing from source, as stated in the README, making it inconvenient for casual users.

Dependent on Community Activity

The snippet database relies on user contributions, and with the hosted service down, content may be stagnant or incomplete, reducing search effectiveness for niche commands.

Frequently Asked Questions

Quick Stats

Stars1,606
Forks55
Contributors0
Open Issues14
Last commit8 years ago
CreatedSince 2016

Tags

#command-line-tool#bash#docker#shell-snippets#terminal-productivity#go#snippets#self-hosted#knowledge-base

Built With

G
Go

Included in

Go169.1k
Auto-fetched 9 hours ago

Related Projects

croccroc

Easily and securely send things from one computer to another :crocodile: :package:

Stars40,275
Forks1,615
Last commit1 day ago
resticrestic

Fast, secure, efficient backup program

Stars35,923
Forks1,869
Last commit7 days ago
gorgor

GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.

Stars19,319
Forks96
Last commit7 months ago
JuiceFSJuiceFS

JuiceFS is a distributed POSIX file system built on top of Redis and S3.

Stars14,400
Forks1,284
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub