This is the byte size, not the number of characters.
|3 weeks ago|
|html||6 months ago|
|.gitignore||8 months ago|
|README.md||7 months ago|
|exp.rb||3 weeks ago|
|generate-sticker.rb||8 months ago|
|http.rb||3 weeks ago|
|riot-routes.rb||8 months ago|
|scalar-routes.rb||8 months ago|
|stickers.example.json||8 months ago|
|widget-routes.rb||8 months ago|
The intention behind this was for the server to be set up easily, so this is what you have to do:
(Note that this will break all of your existing integrations. If you don’t even know what integrations are and just want stickers, that’s probably OK.)
stickers.jsonas you like (see
stickers.example.jsonfor how it works;
generate-sticker.rbmay help you to speed up the process)
exp.rb with listen host and port, e.g. like so:
$ screen -m -d ./exp.rb localhost 8184
(Feel free to make another HTTP server on your server act as a proxy so you get e.g. SSL support)
Make the following modifications to your local
"integrations_ui_url": "$HOST/riot", "integrations_rest_url": "$HOST/api/v1/scalar", "integrations_widgets_urls": [ "$HOST/widgets" ]
$HOST by the base URL of your server, e.g.
Restart Riot, and keep restarting it (wait for about a minute between starting and quitting) until the integrations icon no longer has a red warning sign on it.
Click on the integrations icon and enable the exp sticker picker. Wait for a couple of seconds, and then the sticker picker should work.
Whenever you modify
stickers.json, you need to restart both
exp.rb and Riot.