Skip to content

hugovk/wotdbot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

wotdbot

GitHub Actions status Python: 3.6+ Code style: Black

Word-of-the-day robot for tweeting a word of the day.

First you need a list of Wiktionary words. There's a Finnish one in the data directory. It was made like this

Download enwiktionary-20140118-pages-articles-multistream.xml.bz2 (484.5M) or newer from the Wiktionary data dumps and unzip. Then run:

python wotdbot_extract_words.py > data/finnish.txt

For other languages, change "Finnish" in the if and "fi" in the regex.

Then run like from a scheduled task/crontab:

python wotdbot.py --wordlist data/finnish.txt --yaml data/wotdbot.yaml --no-web

See an example at https://twitter.com/fiwotd

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages