https://github.com/nightnoryu/anon3anon
Telegram bot for anonymous messages
https://github.com/nightnoryu/anon3anon
bot golang telegram telegram-bot
Last synced: 6 months ago
JSON representation
Telegram bot for anonymous messages
- Host: GitHub
- URL: https://github.com/nightnoryu/anon3anon
- Owner: nightnoryu
- License: mit
- Created: 2024-07-24T23:16:47.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-10-24T10:33:26.000Z (8 months ago)
- Last Synced: 2025-10-24T12:25:59.248Z (8 months ago)
- Topics: bot, golang, telegram, telegram-bot
- Language: Go
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :performing_arts: anon3anon [](https://github.com/nightnoryu/anon3anon/releases) [](https://github.com/nightnoryu/anon3anon/actions/workflows/check-go.yml) [](https://goreportcard.com/report/github.com/nightnoryu/anon3anon)
Telegram bot for anonymous messages.
Currently running at https://t.me/meme_me_a_meme_bot for my channel.
## Local development
Prerequisites:
1. Git
2. Docker
3. [brewkit](https://github.com/ispringtech/brewkit)
Clone the repository:
```shell
git clone git@github.com:nightnoryu/anon3anon.git
cd anon3anon
```
Then build the project:
```shell
brewkit build
```
After that, copy the `docker-compose.override.example.yml` to `docker-compose.override.yml` and set the environment variables:
```yaml
services:
anon3anon:
environment:
ANON3ANON_TELEGRAM_BOT_TOKEN: 123:ABC # The token for your bot, obtained from t.me/BotFather
ANON3ANON_OWNER_CHAT_ID: 123 # ID of your chat with your bot
```
> [!NOTE]
> When launching the bot for the first time, leave `ANON3ANON_OWNER_CHAT_ID` empty and write a message to the bot. It will print the chat ID in the logs and after that you can set it up.
And you're set! Use `docker compose` to manage the application:
```shell
# Start
docker compose up -d
# Restart to apply changes
docker restart anon3anon
# Stop
docker compose down
```