🍺 BREW Explorer

← all formulae

bed

brew install bed v0.2.8 MIT

Binary editor written in Go

9
30-day installs · #8852
12
90-day · #11263
103
365-day · #9107
1.3k
★ GitHub stars · updated 1y ago

Build dependencies

go

GitHub topics

binary golang hex-editor

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Binary editor written in Go",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:49+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bed",
  "github_default_branch": "main",
  "github_last_commit_at": "2024-12-01T09:01:15Z",
  "github_readme_excerpt": "# bed\n[![CI Status](https://github.com/itchyny/bed/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/itchyny/bed/actions?query=branch:main)\n[![Go Report Card](https://goreportcard.com/badge/github.com/itchyny/bed)](https://goreportcard.com/report/github.com/itchyny/bed)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/itchyny/bed/blob/main/LICENSE)\n[![release](https://img.shields.io/github/release/itchyny/bed/all.svg)](https://github.com/itchyny/bed/releases)\n[![pkg.go.dev](https://pkg.go.dev/badge/github.com/itchyny/bed)](https://pkg.go.dev/github.com/itchyny/bed)\n\nBinary editor written in Go\n\n## Screenshot\n![bed command screenshot](https://user-images.githubusercontent.com/375258/38499347-2f71306c-3c42-11e8-926e-1782b0bc73f3.png)\n\n## Motivation\nI wanted to create a binary editor with Vim-like user interface, which runs in terminals, fast, and is portable.\nI have always been interested in various binary formats and I wanted to create my own editor to handle them.\nI also wanted to learn how a binary editor can handle large files and allow users to edit them interactively.\n\nWhile creating this binary editor, I leaned a lot about programming in Go language.\nI spent a lot of time writing the core logic of buffer implementation of the editor.\nIt was a great learning experience for me and a lot of fun.\n\n## Installation\n### Homebrew\n\n```sh\nbrew install bed\n```\n\n### Build from source\n\n```bash\ngo install github.com/itchyny/bed/cmd/bed@latest\n```\n\n## Features\n\n- Basic byte editing\n- Large file support\n- Command line interface\n- Window splitting\n- Partial writing\n- Text searching\n- Undo and redo\n\n### Commands and keyboard shortcuts\nThis binary editor is influenced by the Vim editor.\n\n- File operations\n  - `:edit`, `:enew`, `:new`, `:vnew`, `:only`\n- Current working directory\n  - `:cd`, `:chdir`, `:pwd`\n- Quit and save\n  - `:quit`, `ZQ`, `:qall`, `:write`,\n    `:wq`, `ZZ`, `:xit`, `:xall`, `:cquit`\n- Window operations\n  ",
  "github_repo": "itchyny/bed",
  "github_stars": 1348,
  "github_topics": [
    "binary",
    "golang",
    "hex-editor"
  ],
  "homepage": "https://github.com/itchyny/bed",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 9,
  "installs_365d": 103,
  "installs_90d": 12,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "bed",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8852,
  "rank_365d": 9107,
  "rank_90d": 11263,
  "raw_hash": "17a2ae64da7d55c1",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bed.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.2.8",
  "versioned_formulae": [],
  "why_use_this": null
}