A powerful micro/blogging engine with IndieWeb features (abandoned)
A powerful micro/blogging engine with IndieWeb features.
children
are the result of a query)/notes
→ /notes/page1
, /notes/page2
…)Mix tasks:
sweetroll2.setup
creates the databasesweetroll2.bootstrap
adds initial postssweetroll2.drop
deletes the databaseEnvironment variables:
MIX_ENV
: in prod
, logging will be in JSON (ready for shipping somewhere with something), scheduled background tasks will be active, the plug debug middleware won't be active, etc.SR2_SERVER_SOCKET
or SR2_SERVER_PORT
: where to listen for connections (default is port 6969)SR2_PASSWORD_HASH
: Argon2 hash of the admin password (REQUIRED, e.g. $argon2id$v=19$m=…
)SR2_CANONICAL_HOME_URL
: scheme and hostname (NO SLASH) of the website (REQUIRED, e.g. https://example.com
)SR2_WEBSUB_HUB
: URL of the WebSub hub to use (default https://pubsubhubbub.superfeedr.com/
) (make sure to also modify in h2o settings for static files!!)SR2_STATIC_GEN_OUT_DIR
: where to write static HTML (default out
; also the h2o scripts use it!)This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE
file or unlicense.org.
(Note: different licenses apply to dependencies.)