Changeset f574435 in Klonkt for .env.example


Ignore:
Timestamp:
07/21/2026 03:45:36 AM (7 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
e2ea5c4
Parents:
4590e66
git-author:
Robin <roboburr@…> (07/21/2026 03:45:33 AM)
git-committer:
Robin <roboburr@…> (07/21/2026 03:45:36 AM)
Message:

Docs: README + .env.example for paid posts and auto-generated keys

Tell users how the paid-posts key works: no env editing needed, it's
generated on first use like SESSION_SECRET already is. Plus a general pass
for missing features.

Changed files:
README.md

  • "What it does": Paid posts (own Patreon, passkey unlock, no visitor account/cookie, patron identity never stored)
  • Configuration table: PAID_SECRET (auto) + KLONKT_PREMIUM_ENABLED; SESSION_SECRET marked auto (matches .env.example, not "required")
  • new "Auto-generated secrets & backups" section: where the keys live, why PAID_SECRET is outside the DB, and to back up storage/ as a whole
  • Stack: link to FEDERATION.md

.env.example

  • PAID_SECRET block (auto-generate, or openssl rand -base64 32)
  • paid posts added to the premium-extras list

-robo
Co-Authored-By: Claude Opus 4.8 <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .env.example

    r4590e66 rf574435  
    1111# restarts/updates). Or set your own: openssl rand -hex 32
    1212SESSION_SECRET=
     13# Encrypts the stored Patreon secrets for paid posts. Same deal: leave EMPTY to
     14# auto-generate on first use (saved to storage/.paid-secret, kept outside the DB
     15# so a database dump alone stays useless). Or set your own: openssl rand -base64 32
     16PAID_SECRET=
    1317DATABASE_PATH=./storage/database.sqlite
    1418MEDIA_PATH=./storage/media
     
    5256# The core app, all updates and Cirkels are free. A handful of extras
    5357# (newsletter, statistics, EPK, link-in-bio, embeddable player, show agenda,
    54 # release planning, download-for-email) are unlocked by a one-time Patreon
    55 # supporter link — that's what funds the project:
     58# release planning, download-for-email, paid posts) are unlocked by a one-time
     59# Patreon supporter link — that's what funds the project:
    5660# klonkt.com / patreon.com/c/roboburr. Leave this on.
    5761KLONKT_PREMIUM_ENABLED=on
Note: See TracChangeset for help on using the changeset viewer.