A desktop note taking application, that allows you to quickly describe the current day.
Find a file
2023-02-16 23:58:21 +05:00
histd.sh Add "list" command 2023-02-16 23:45:47 +05:00
license.md Initial commit 2022-08-19 17:31:51 +05:00
readme.md Readme: add a note about session 2023-02-16 23:58:21 +05:00

How I spent this day

A simple but useful personal diary application.

The sole purpose of this application is to quickly create a file and open it in a text editor so that I can take a note before I lose my desire. Notes can be found in the ~/.local/share/histd directory.

tree ~/.local/share/histd
# /home/user/.local/share/histd
# └── 2022
#     └── 08
#         ├── 18.md
#         └── 19.md

Usage

Make sure the EDITOR environment variable is set to the name of your favorite text editor.

If it's not, edit the ~/.bashrc file (or ~/.zshrc)

export EDITOR=nano

Don't forget to start a new session or execute the following command:

source ~/.bashrc

Then mark this script as executable:

chmod +x histd.sh

Now you can create your first note:

./histd.sh

Backup

To create an archive of all notes, run the following command:

./histd.sh backup

Required programs: tar, xz.

Merge all notes

This command concatenates all files and prefixes each with the filename.

./histd.sh merge

List all notes

./histd.sh list
# /home/user/.local/share/histd
# └── 2022
#     └── 08
#         ├── 18.md
#         └── 19.md

Required programs: tree.