Recently Written · git

subplz-web

git clone https://github.com/equwal/subplz-web

Log | Files | Refs


commit 1ee9318bf97d9d30965513c09997962b3dc5fb7b
equwal <truex@equwal.com>
2026-09-27 00:06:01 -0700

Merge Google Play purchases for Subrep cloud hours

The server checks each Google Play purchase with the Android Publisher API, adds its hours once for each token, consumes it after the commit, and takes back the hours of refunded purchases.

 .env.example        |   7 +
 README.md           |  44 ++++
 backend/captions.py |   2 +
 backend/main.py     |   9 +-
 backend/play.py     | 329 ++++++++++++++++++++++++
 backend/settings.py |  19 ++
 requirements.txt    |   5 +
 tests/conftest.py   |   2 +
 tests/test_play.py  | 713 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 1128 insertions(+), 2 deletions(-)