24e3f5f95eb936154cf616f502aaa4cd8099b4c2
anon3anon
Telegram bot for anonymous messages 🎭✨
Building for local development
Prerequisites:
- Linux
- Git
- Docker
Firstly, clone the repository into your $GOPATH:
mkdir -p $GOPATH/src/github.com/nightnoryu
cd $GOPATH/src/github.com/nightnoryu
git clone git@github.com:nightnoryu/anon3anon.git
cd anon3anon
Then build the binary:
bin/a3abrewkit build
This script will download a brewkit build system binary and put it in the bin directory of the project.
After that, copy the docker-compose.override.example.yml to docker-compose.override.yml and set the environment variables:
services:
anon3anon:
environment:
TELEGRAM_BOT_TOKEN: 123:ABC # The token for your bot, obtained from t.me/BotFather
OWNER_CHAT_ID: 123 # ID of your chat with your bot
And you're set! Use the provided docker compose wrapper script to manage the application:
# Start
bin/a3acompose up -d
# Restart to apply changes
docker restart anon3anon
# Stop
bin/a3acompose down
Languages
Go
63.2%
Jsonnet
35.6%
Dockerfile
1.2%