The server is hosted with Deta, a free cloud hosting service. Also, the API is updated with each push with Github Actions. The API was built with FastAPI and the CLI was made with Google Fire.
The installation is really straightforward. You only need to clone this repo, install the python requirements and run the CLI.
git clone https://github.com/sebaspv/trie-apiGo to the CLI directory...
cd cliInstall the CLI python requirements...
# if you're on Mac or Linux
pip3 install -r requirements.txt
# if you're on Windows
pip install -r requirements.txtAnd run the CLI!
# example to see the available CLI Trie words
python3 trie.py available👤 Sebastian Ponce
- Github: @sebaspv