Skip to content
forked from bchao1/vocabs

A lightweight online dictionary integration to the command line. No browsers. No paperbooks.

Notifications You must be signed in to change notification settings

PatrikBillgren/Vocab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vocab



A lightweight online dictionary integration to the command line. No browsers. No paperbooks.


Features

  • Directly query words from the command line.
  • Save words to your local dictionary.
  • Add notes to saved words.
  • Interactive word game to hone your vocabulary skills.

Requirements

and the following libraries are required.

  • beautifulsoup4
  • pyfiglet
  • termcolor
  • requests
  • (Linux compatible) tty, termios

Run

  • Clone the git repository ./Vocab.
  • In ./Vocab directory, type ./vocab.
  • Enjoy the experience!

Usage

Query Mode

Directly search and save unknown words from the command line.

$ ./vocab -m query

Dictionary Mode

Scroll though pages to search for saved words.

$ ./vocab -m dict

Edit mode

Edit your save words and add notes.

$ ./vocab -m edit

Interactive Mode

Test your vocabulary skills with the interactive mode.

$ ./vocab -m interactive

Load Word List

Load a list of words from to your local dictionary.

$ ./vocab -f <path to file>

Count Total Words

Count number of words saved in your local dictionary.

$ ./vocab -c

Reset Local Dictionary

$ ./vocab -r

Help

$ ./vocab -h

Todo

  • Synonyms / Antonyms.
  • Full command line support (left, right keys, autofill).
  • Search history (up, down keys).

About

A lightweight online dictionary integration to the command line. No browsers. No paperbooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%