Telegram bot for providing VPN based on OutlineVPN
- Self-hosted OutlineVPN
- No logs
- Complete anonymity
The fastest way to run the bot is to run it in pooling mode using SQLite database without all Celery workers for background jobs. This should be enough for quickstart:
git clone https://github.com/p3ngu19z/freedom-network-bot
cd freedom-network-botCreate virtual environment (optional)
python3 -m venv dtb_venv
source dtb_venv/bin/activateInstall all requirements:
pip install -r requirements.txt
Create .env file in root directory and copy-paste this:
DJANGO_DEBUG=True
DATABASE_URL=sqlite:///db.sqlite3
TELEGRAM_TOKEN=<ENTER YOUR TELEGRAM TOKEN HERE>Run migrations to setup SQLite database:
python manage.py migrateCreate superuser to get access to admin panel:
python manage.py createsuperuserRun bot in pooling mode:
python run_pooling.py If you want to open Django admin panel which will be located on http://localhost:8000/tgadmin/:
python manage.py runserver