https://github.com/abe-winter/flashcat
CLI tool which turns a wikipedia category into anki flash cards
https://github.com/abe-winter/flashcat
anki wikipedia
Last synced: 2 months ago
JSON representation
CLI tool which turns a wikipedia category into anki flash cards
- Host: GitHub
- URL: https://github.com/abe-winter/flashcat
- Owner: abe-winter
- Created: 2022-01-26T19:05:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T19:16:46.000Z (over 4 years ago)
- Last Synced: 2025-03-11T05:17:05.308Z (over 1 year ago)
- Topics: anki, wikipedia
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flashcat
CLI tool which turns a wikipedia category into anki flash cards.
## usage
```sh
# one-time setup
direnv allow
pip install -r requirements.txt
# create an anki deck
UNIQUE_ID=12345678
TITLE=anntypes
./flashcat.py Artificial_neural_networks $UNIQUE_ID $TITLE
# anki output will be anntypes.apk
# get help
./flashcat.py --help
```
## features and wishlist
- [x] for every page in a wikipedia category, capture the first paragraph to an anki card
- [x] caching to disk so you can rerun queries while tinkering
- [ ] capture template boxes to do things like date of birth or 'preceded / followed by', country demonym, a million things
- [ ] capture wikipedia props to anki tags so you can filter in the anki app (supreme court cases by year, for example)
- [ ] do something useful with images
- [ ] fix html entities
- [ ] unbreak mathjax