Skip to content

Parth576/dictionary-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dictionary-cli

CLI wrapper for dictionaryapi.dev. Search for word definitions and memorize words. Helpful for building your vocabulary.

Demo

demo

Installation

For Arch Linux/ Arch based distributions

  • There is a gowords package in the AUR (Arch User Repository)
  • The package can be easily installed using an AUR helper, for example: yay
yay -S gowords

For Other Linux Distributions / macOS

  • Download the binary file from github releases (darwin-amd64 is the macOS release)
  • Latest version can be found on the releases page
wget https://github.com/Parth576/dictionary-cli/releases/download/<version>/gowords-linux-amd64
  • Make the binary executable
chmod +x /path/to/binary/gowords-linux-amd64
./path/to/binary/gowords-linux-amd64 search <word>

For Windows

  • Download the windows release (.exe extension)
  • In Powershell / cmd, navigate to the folder where the binary is downloaded
.\gowords-windows-amd64.exe help

Features

  • Search for definitions by word
gowords search <word>
gowords search obsequious
  • Flashcards like wordlist to build your vocabulary
gowords random
gowords random --number 5  
gowords random -n 3
  • Export your wordlist to share it with someone or to back it up
gowords export
  • Import any wordlist (Format: Single word on every line)
gowords import <filepath>
gowords import wordlist.txt
  • Delete any word from wordlist
gowords delete <word>