Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 917 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 917 Bytes

TermDict

A CLI dictionary written in Go.

screenshot-windows-terminal

Preview

$ dict -find happy 
Happy

----------------------------------
Meanings:
[noun]
• A happy event, thing, person, etc.
  
[noun]
• Preceded by the: happy people as a group.
  
[verb]
• Often followed by up: to become happy; to brighten up, to cheer up.
  
• Often followed by up: to make happy; to brighten, to cheer, to enliven.
...

Build

For bash

cd termdict
go build -o dict
echo "alias dict='$(pwd)/dict'" >> ~/.bashrc

For zsh

cd termdict
go build -o dict
echo "alias dict='$(pwd)/dict'" >> ~/.zshrc

Special Thanks

This dictionary uses freeDictionaryAPI as the source. This tool couldn't have done without the API.