This is a simple webapp for extracting rich content from a journal stored as a text file in the following format:
2000-1-1
This is an example of the formatting of the journal.
2000-1-2
Each entry is simply a date header on its own line in the form of YYYY-MM-DD.
Anything after a date header but before the next one (or the end of the file) is the body of the entry.
2000-1-3
The application supports plugins written in Python.
One plugin included as an example can link journal entries together by identifying dates within the contents of entries.
The first entry of this journal occurred on 2000-1-1.
Yesterday and tomorrow are also dates.
This project requires Python 3.
You will need the pipenv
package manager.
Install pipenv
with pip3 install --user pipenv
.
From the repo root execute pipenv install
to instantiate a virtual environment and install all dependencies.
To start the application with one command execute use pipenv run python -m webapp
or pipenv run flask run
.
This project is distributed as a python package and can also be executed directly with python -m webapp
.
The app will be served on 127.0.0.1:5000
.