This is the byte size, not the number of characters.
|2 months ago|
|html||8 months ago|
|.gitignore||10 months ago|
|README.md||9 months ago|
|exp.rb||2 months ago|
|generate-sticker.rb||10 months ago|
|http.rb||2 months ago|
|riot-routes.rb||10 months ago|
|scalar-routes.rb||10 months ago|
|stickers.example.json||10 months ago|
|widget-routes.rb||10 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.