json for all poems from Bleach (all rights to VIZ)
- Go 91.9%
- Dockerfile 8.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| Dockerfile | ||
| go.mod | ||
| main.go | ||
| poems.json | ||
| README.md | ||
bleach-poems
do you know how i hate the rain?
this repository contains two things:
- a
poems.jsonfile, containing all of the poems from bleach volumes 1-74 - a simple golang webserver to serve the poems
poems.json
contains the schema:
{
"poems":[
{
"volume": 1,
"title": "...",
"lines": [...]
}
// ...
]
}
install instructions
run go install codeberg.org/b_n_b/bleach-poems/v2@latest
running the program
webserver
just run the built binary. runs on port 8080
contains the routes:
/poems: just returns all of the poems/poems/{volume}: returns the poem of the given volume (must be a number [1,74])/random: returns a random poem
local
run the built binary with the flag --local
prints a random poem to stdout.
access
don't want to use the json file? you can ping a (probably slow) instance here:
https://bleach-poems.onrender.com
all rights to VIZ for translations, i do not claim ownership of the Bleach series, and this is not an official project