A python CLI Journal Program
This is a python journal program that allows you to type in your journal directly from your command line.
- Get
python
for your system. No need to worry if you have use Mac or *nix. - Clone this repo.
- Should be peachy.
- To run the program, type
python3 journ.py
in the terminal [justpython journ.py
if on windows]. - Type directly into the command line the contents of you journal entry.
- Press Ctrl+D on *nix or Ctrl+Z on Windows to trigger EOF to stop making entries.
- You should see a timestamped text file once this is complete.
- If the folder becomes too cluttered with text files, simply run
python3 organize.py
[python organize.py
on windows] and your posts will be segregated by year and month.
- If you have your entry stored in a file (preferably text file), you could do
python3 journ.py < [input-filename]
and it should work just the same.
Further functionality will be added in the future if I find the time and interest, really.