Chronoflask
A minimalist diary/journal application made with Python 3, Flask, and TinyDB
Install / Use
/learn @kmbn/ChronoflaskREADME
Chronoflask
A minimalist diary/journal application made with Python 3, Flask, and TinyDB and inspired by Warren Ellis's Chronofile Minimal and Buckminster Fuller's Dymaxion Chronofile. Add new entries (with or witout hashtags) in a single input field. Each entry is stored with a UTC timestamp.
View recent entries (in reverse chronological order), view all entries for a single day (in chronological order), view a single entry, view all entries associated with a tag, and view a list of tags.
Chronoflask is private by default. It's made for Python 3, but it should work with Python 2.
Setup
cd path/to/chronoflask- Optional: set up a virtual environment using virtualenv.
- Install the required packages:
pip install -r requirements.txt - Set the secret key for session encryption:
export SECRET_KEY=<your_secret_key_here>(if you're just testing, the length of the string doesn't matter). - Enable
export DEBUG=1or disableexport DEBUG=0debug mode for the built-in server (enabling debugging is recommended for testing; if you plan to run the app on a production server, though, debugging should be disabled). - Optional: in order to enable password reset emails, you'll need to export the following:
export MAIL_SERVER=<your.email.server>,export MAIL_USERNAME=<your@email.username>andexport MAIL_PASSWORD=<your_password>. If you don't do this, the app will crash if you try to reset your password. python run.py.
Usage
After completing the setup steps, open a browser and navigate to http://localhost:5000/. The first time you run the app you'l need to register; the current version of the app is intended to be single-user, so it is only possible to create one account.
Use the entry form to post brief notes, thoughts, observations, etc.
Any #hashtags in the entry will be detected and added to a list of tags for that entry. Any #hashtags at the end of the entry will will be stripped from the entry text to improve presentation (they'll be added to the tag list beforehand, though).
You can change the name of the chronofile and/or author in the Admin section. You can also change your email address and/or password there.
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
