Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugovk/wotdbot
Word of the day robot for tweeting a word of the day
https://github.com/hugovk/wotdbot
bot day finnish of suomi the twitter twitterbot word word-of-the-day wotd
Last synced: 5 days ago
JSON representation
Word of the day robot for tweeting a word of the day
- Host: GitHub
- URL: https://github.com/hugovk/wotdbot
- Owner: hugovk
- Created: 2014-02-08T10:05:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T09:54:46.000Z (almost 3 years ago)
- Last Synced: 2025-01-06T00:30:52.414Z (21 days ago)
- Topics: bot, day, finnish, of, suomi, the, twitter, twitterbot, word, word-of-the-day, wotd
- Language: Python
- Homepage: https://twitter.com/fiwotd
- Size: 88.9 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
wotdbot
=======[![GitHub Actions status](https://github.com/hugovk/wotdbot/workflows/Test/badge.svg)](https://github.com/hugovk/wotdbot/actions)
[![Python: 3.6+](https://img.shields.io/badge/Python-3.6+-blue.svg)](https://www.python.org/downloads/)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/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](https://dumps.wikimedia.org/enwiktionary/latest/) 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