~singpolyma/signal-sticker-proxy

1639ed9b4863c8a69ee7a266fad2ca3bade11a19 — Stephen Paul Weber 9 months ago 4be143e
Run on unix socket
2 files changed, 3 insertions(+), 2 deletions(-)

M README.md
M main.py
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])