1 KiB
1 KiB
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 FLASK_APP=src/app flask run