iso7010-a-day/readme.md

13 lines
461 B
Markdown

# ISO7010 a Day
A silly twitter bot that posts a random ISO7010 safety sign every day. You can follow it
[@iso_7010](https://twitter.com/iso_7010).
## How it works
- Scrape the [wikipedia page for ISO7010](https://en.wikipedia.org/wiki/ISO_7010),
picking out all the files in the gallery and their associated caption
- Pick a random one
- Lookup the file using Wikimedia's API to get license metadata
- Download the SVG file
- Render it to a PNG
- Tweet it!