2022-05-26 15:51:14 +01:00
2022-05-26 15:53:04 +01:00
2022-05-26 02:08:50 +01:00
2022-05-26 02:08:50 +01:00
2022-05-26 02:08:50 +01:00
2022-05-26 02:16:07 +01:00
2022-05-26 02:33:20 +01:00
2022-05-26 16:14:24 +01:00
2022-05-26 15:51:14 +01:00

sus

simple URL shortener

usage

susmng will assume the first server in the 'secrets' section if the -s flag is not provided.

installation

running the server

  1. generate the secret used to create and delete shortlinks

    echo SECRET=pwgen -s 64 1 >> .env

  2. run the services

    docker-compose up -d --build

server environment variables

  • SECRET - the secret used for signature verification
  • LISTEN_ADDRESS - the address the server is listening on (default is 0.0.0.0:80)

setting up susmng

  1. install susmng

    make install-susmng

  2. create config files

    susmng init

  3. edit config files (~/.config/susmng/config.json) to add your secrets

Description
sus url shortener
Readme 137 KiB
Languages
Go 63.5%
Python 33%
Dockerfile 1.3%
Makefile 1.2%
Shell 1%