Add readme

This commit is contained in:
Sam W 2022-09-13 17:21:04 +01:00
parent 1a064b8042
commit b1753d8775
1 changed files with 12 additions and 0 deletions

12
readme.md Normal file
View File

@ -0,0 +1,12 @@
# 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!