/getwvkeys

Official repository for getwvkeys.cc

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

GetWVKeys

Widevine Utility Website and Remote Widevine Device API.

Setup

You can now run the server with poetry run serve.

Local Development

For local development testing, you will need to disable the HTTPS requirement on the OAuth Callback URLs with the environment variable OAUTHLIB_INSECURE_TRANSPORT=1 or you will get the error InsecureTransportError.

For Unix: export OAUTHLIB_INSECURE_TRANSPORT=1
For Windows (CMD): set OAUTHLIB_INSECURE_TRANSPORT=1
For Windows (Powershell): $env:OAUTHLIB_INSECURE_TRANSPORT=1

Database Migrations

poetry run setup

Deploy

Example deploy command for staging: poetry run gunicorn -w 1 -b 0.0.0.0:8081 getwvkeys.main:app