Bento-Terminal

module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT

README

Bento terminal is a full-screen workspace for one project, in the terminal: preview and edit files, read the tree, commits and working-tree changes, run builds, and open a shell — all in one keyboard-first bento layout. It is written in Go with Bubble Tea and runs in the macOS Terminal or Windows Terminal (Menlo, SF Mono, Cascadia Mono; no Nerd Font).

CI Release Go version License Platform Go Report Card Stars Issues PRs welcome

Site starkdroid.github.io/Bento-Terminal · Docs install, keys, layout · Releases latest

Install

macOS and Linux:

curl -fsSL https://raw.githubusercontent.com/StarkDroid/Bento-Terminal/main/scripts/install.sh | sh

Windows, in Windows Terminal:

irm https://raw.githubusercontent.com/StarkDroid/Bento-Terminal/main/scripts/install.ps1 | iex

The Unix installer puts the binary in ~/.local/bin; --with-zsh also adds that folder to PATH. The Windows installer puts bento.exe in %LOCALAPPDATA%\bento and adds it to your user PATH, so a new Windows Terminal finds bento. Flags, install directories, and the source-build path are in the install docs.

What it does

  • Preview and edit. Highlighting, folding, and a save in place.

  • Every change. Modified, staged, untracked, and conflicted paths, with patches.

  • Your shell. Any command, run inside the project.

  • Builds without setup. Detected tests, builds, and lint commands.

  • Find fast. ctrl+p filters the project's files; ctrl+f searches the open file.

Every build ships the same panes, keys, and behaviour. Only the shell the Terminal tab runs ($SHELL on macOS and Linux, %COMSPEC% on Windows) and the installer differ per platform.

Search, editing, changes, the terminal, build detection, shortcuts, mouse, and layout are in the docs.

Develop

macOS and Linux:

go test ./...
make build
./bento
sh scripts/install.sh --from-source   # install the checkout, not the release

Windows, in Windows Terminal:

go test ./...
go build -o bento.exe ./cmd/bento
.\bento.exe
.\scripts\install.ps1 -FromSource     # install the build so `bento` works

go run ./cmd/bento is the quickest loop on any platform; it runs from a temp directory and touches neither PATH nor the repository. Cross-compile with make darwin-arm64, make darwin-amd64, make linux-arm64, make linux-amd64, make windows-amd64, and make windows-arm64; without make, use go build -o dist\bento_windows_amd64.exe ./cmd/bento.

Read AGENTS.md before changing layout, focus order, theme tokens, or keybindings. The site lives in website/; its README covers the build. Issues and pull requests are welcome.

License

MIT. Copyright 2026 Trishiraj. See LICENSE.

Directories

Path Synopsis
cmd
bento command
internal
build
Package build detects project commands and runs them.
Package build detects project commands and runs them.
files
Package files loads a project directory tree and text previews.
Package files loads a project directory tree and text previews.
git
syntax
Package syntax detects source languages, highlights code, and finds foldable function and class blocks.
Package syntax detects source languages, highlights code, and finds foldable function and class blocks.
ui
Package ui is the full-screen interface for Bento terminal.
Package ui is the full-screen interface for Bento terminal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL