Preprocess Wiki Page Titles
- Download most recent Wiki Page Title Dump: https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-all-titles-in-ns0.gz
- Preprocess titles
python ./api/wiki_titles_preprocess.py
Setup Server:
- Install Python dependencies:
pip install -r requirements.txt
- Create a new project in the Twitter Developer portal: https://developer.twitter.com/en/portal/dashboard
- Rename
.env.example
to.env
and add the Twitter API bearer token - Run server:
cd api && uvicorn main:app
Setup Chrome extension:
- Install NPM dependencies
cd client && npm i
- Load the
client
directory using the 'Load unpacked' button in the Chrome browser: chrome://extensions/ - Navigate to any given website and test the extension
Behold results: