Easy deployable system (API) for creating subscription based applications
- You have desktop or other application that requires subscription
- You want to use subscription-like tokens/keys
- Deploy API on the your server (WIP: Cloud delivered usage)
- Query your subscription key from user inside your application (fetch API call)
- Create and manage new subscription for users (by hand, implementing own management tool, or use premade inside
frontendsdirectory)
SUBSCRIBY_AUTH_METHOD: Auth methods to use (SeeAuthorization)
none: No additional authorizationsecret: RequiresecretGET field orAuthorizationheader (with or withoutBearer) which should equals toSUBSCRIBY_AUTH_SECRETcustom: Will callplugins/custom_authplugin with your own code.
- Telegram bot
frontends/telegram
- Creating new subscriptions
- Checking subscription status
- Revoking subscriptions
- Auth for system methods (publish, revoke)
(How to deploy API)
- Do
git cloneon your server - Edit
.example.envand copy to.env - Run
docker compose up -dinsidebackenddirectory
- Python (FastAPI)
- PostgreSQL (SQLAlchemy, Alembic)
- Docker
- Gunicorn with Uvicorn under the hood
Should be same as default deployment but you have to declare proxy to the API (Like, for NGINX)