Go to file
wiktor 687bb6bdf1 HSWro retrofitting 2022-05-22 00:57:16 +02: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 Fix render after update, support new spejstore short_id lookup 2020-05-28 22:00:02 +02:00
README.md Bump dependencies, add basic readme 2020-05-28 22:00:02 +02:00
main.rb HSWro retrofitting 2022-05-22 00:57:16 +02: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