(private?) diary with txt style
|
All checks were successful
Publish latest version / build (push) Successful in 1m2s
|
||
|---|---|---|
| .forgejo/workflows | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
txtdiary
personal diary with txt style, can be private!
environment variables
| name | description | required |
|---|---|---|
TD_USERNAME |
user name | no |
TD_USERPASS |
user password | yes |
TD_PRIVATE |
post visibility | empty = false |
TD_LOGINLIFETIME |
login lifetime (days) | empty = 7 |
TD_BASEROUTE |
base route, must start with a slash | no |
volumes (docker)
| path | description |
|---|---|
/txtdiary/data |
where posts are stored |
local run
for example, using pass password:
$ pip install -r requirements.txt
$ TD_USERPASS=pass TZ=UTC FLASK_APP=src/app flask run