# ok-borg/borg

Search and save shell snippets without leaving your terminal

Repository: https://github.com/ok-borg/borg
Canonical: https://ross.abutalabs.com/products/ok-borg-borg
Language: Go
License: Apache-2.0
License Family: permissive
Topics: snippets, bash, command-line-tool
Archived: true
Last push: 2018-02-07T19:40:06+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3644, "days_push": 3129, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1605, forks 56 (observed 2026-08-28T04:05:10.330963+00:00)

## What it is
Borg is a Go-based command-line tool for searching and saving shell/bash snippets without leaving the terminal. It queries a community snippet database and lets users rate results, with an option to self-host the backend.

## Use cases
- search bash snippets from the terminal
- find shell one-liners for common tasks
- save and share shell commands
- rank useful command snippets
- pipe snippet search results to less
- self-host a shell snippet search service

## When to choose
- you frequently look up bash one-liners and want to stay in the terminal
- you want a self-hostable snippet search tool
- you prefer succinct, scannable search output for shell commands

## When to avoid
- you need a maintained tool - the hosted service is down and the last release was 2018
- you want a general-purpose snippet manager with editor integration
- you need offline-only snippet storage

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: search-engine, cli, developer-tools
- domain: developer-tools
- platform: cli, cross-platform
- tags: shell-snippets, bash, terminal-search, community-snippets, self-hosted, command-line, search, linux, macos

## Member repositories
- ok-borg/borg (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:10.330963+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:52:17.417523+00:00, confidence not recorded.
  - readme: https://github.com/ok-borg/borg (fetched 2026-08-28T04:05:10.330963+00:00, sha 374d79636551)
- Data as of 2026-08-30T08:39:29.467469+00:00.
