Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

277 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Outline Gateway

Config virtual enviroment

python3 -m venv env
. env/bin/activate
pip install -r requirements.txt

Setup .env

cp .env.example .env
vim .env

API_URL – Outline api_url. Get this variable from Outline Manager app

AUTH_TOKEN – Auth token to protect private routes.

KEY_SALT – Optional value. Salt for creating outline key.

DB_URL – Database url like postgresql+asyncpg://

OUTLINE_USERS_GATEWAY – Outline users gateway url like ssconf://

Setup alembic

Copy and set database_url

cp alembic.ini.example alembic.example

Run application (dev)

fastapi dev app.py

Database

Make migrations

alembic revision --autogenerate -m "Some message"

Migrate

alembic upgrade head

About

HopGuard API. This API created for manage Outline, VLESS keys and managing users

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages