define

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

README

📘 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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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