M README.md => README.md +1 -1
@@ 1,4 1,4 @@
Small proxy server to access Signal sticker packs and stickers.
guix shell
- python main.py
+ python main.py /tmp/unix.sock
M main.py => main.py +2 -1
@@ 2,6 2,7 @@ import json
import multihash
import base58
import magic
+import sys
from aiohttp import web
from signalstickers_client import StickersClient
@@ 44,4 45,4 @@ app.add_routes([web.get('/{pack},{key}', get_pack),
web.get('/{pack},{key}/{sticker}', get_sticker)])
if __name__ == '__main__':
- web.run_app(app)
+ web.run_app(app, path=sys.argv[1])