📘 Offline English dictionary for your terminal.
  • Go 91.8%
  • Makefile 8.2%
Find a file
2026-01-17 20:27:01 +05:30
.gitignore adds gitignore 2026-01-13 20:39:07 +05:30
go.mod creates basic dictionary 2026-01-14 02:52:22 +05:30
go.sum creates basic dictionary 2026-01-14 02:52:22 +05:30
LICENSE Initial commit 2026-01-13 15:34:54 +01:00
main.go creates basic dictionary 2026-01-14 02:52:22 +05:30
Makefile creates basic dictionary 2026-01-14 02:52:22 +05:30
README.md Initial Release 2026-01-14 12:05:20 +05:30
screenshot.png Updates screenshot 2026-01-17 20:27:01 +05:30

📘 Define

Offline English dictionary for your terminal.

Features

  • 🌱 Offline-first: ships with an embedded English dictionary.
  • Fast lookups: optimized SQLite with tuned pragmas.
  • 🧠 Smart resolution: handles inflections and suggests close matches.
  • 🗣️ Pronunciations: included when available.
  • 📃 Rich lexical data: definitions, synonyms, antonyms, examples, and more.
  • 🖌️ Readable output: clean, colorized terminal formatting.
  • 🎟️ JSON mode: script-friendly output with --json.

Usage

Simply pass a word as an argument to look it up:

define <word>

Options:

  • --json: Output results in structured JSON format.
  • --version: Display the current app version.

Installation

For Linux 64-bit:

curl -sL https://codeberg.org/commitsovercoffee/define/releases/download/v1.0.0/define-linux-amd64 \
  -o define && chmod +x define && sudo mv define /usr/local/bin/

For macOS Intel (64-bit):

curl -sL https://codeberg.org/commitsovercoffee/define/releases/download/v1.0.0/define-darwin-amd64 \
  -o define && chmod +x define && sudo mv define /usr/local/bin/

For macOS Apple Silicon (arm64):

curl -sL https://codeberg.org/commitsovercoffee/define/releases/download/v1.0.0/define-darwin-arm64 \
  -o define && chmod +x define && sudo mv define /usr/local/bin/

Uninstallation

sudo rm /usr/local/bin/define # remove app
rm -rf ~/.config/define/ # remove data

Credits

License

This project is licensed under the GNU AGPLv3.