Go to file
wiktor a2137e1f8b lol update 2023-03-05 23:56:28 +01:00
assets lol update 2023-03-05 23:56:28 +01:00
fonts Add missing fonts 2020-05-28 22:00:02 +02:00
.editorconfig Initial commit 2017-05-28 02:53:46 +02:00
.gitignore Initial commit 2017-05-28 02:53:46 +02:00
Dockerfile HSWro retrofitting 2022-05-22 00:57:16 +02:00
Gemfile HSWro retrofitting 2022-05-22 00:57:16 +02:00
Gemfile.lock lol update 2023-03-05 23:56:28 +01:00
README.md Bump dependencies, add basic readme 2020-05-28 22:00:02 +02:00
main.rb lol update 2023-03-05 23:56:28 +01:00

README.md

spejstore-labelmaker

bundle install
bundle exec ruby main.rb

try it out:

GET http://localhost:4567/api/1/preview/:label.png GET http://localhost:4567/api/1/preview/:label.pdf POST http://localhost:4567/api/1/print/:label

where :label is a spejstore label.id or item.short_id