/telegram-supasec-bot

A virus scanner bot for Telegram utilizing the VirusTotal API.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Supasec Bot

Supasec Bot

Checkout the Supasec Bot on the Telegram.

This is a virus scanner bot for the Telegram. It uses the VirusTotal API to scan files for viruses.

⚙️ Build

This project uses Docker to build and start the app. Follow the instructions below to build the app and start it locally.

Pre-requisites

Build

$ make build

🚀 Start

Database

The bot uses the Postgres database to store the user's data. You use the following command to get an instance on the Docker.

docker run -d \
  --name supasec-db 
  -e POSTGRES_PASSWORD=super-secret-password \
  -e POSTGRES_DB=supasec \
  -p 5432:5432 \
  postgres:alpine

Bot

docker run -d \
  --name supasec-bot \
  -e TG_TOKEN=your-telegram-bot-token \
  -e VT_API_KEY=your-virustotal-api-key \
  -e DATABASE_URL="postgres://postgres:super-secret-password@localhost:5432/supasec?schema=private" \
  shahradel/supasec:dev

Environment Variables

Checkout the .env.example file to see the environment variables that you need to set.

License

GPL-3.0 © Shahrad Elahi