Go to file
wiktor ee305d2804 undo echo 2022-05-22 00:58:41 +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 undo echo 2022-05-22 00:58:41 +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