A minimal iSH journaling workflow using Git for versioning
- Creates one Markdown file per day
- Opens it in nano
- Commits and pushes file to a priv repo
because obviously i cant use an already built journaling app
- git
- nano
- POSIX shell (tested on iSH/alpine)
- Install dependencies (in iSH):
- apk add git nano openssh-client
- Configure Git identity:
- git config --global user.name "Your Name"
- git config --global user.email "you@example.com"
- Generate SSH key:
- ssh-keygen -t ed25519
- cat ~/.ssh/id_ed25519.pub
- Add the public key to GitHub:
- GitHub → Settings → SSH and GPG keys → New SSH key
Test authentication:
- ssh -T git@github.com
- Create local journal repo:
- mkdir ~/journal
- cd ~/journal
- git init
- Create a private GitHub repo and add remote:
- git remote add origin git@github.com:USERNAME/journal.git
- Create the journal script: nano ~/journal.sh
Make it executable:
- chmod +x ~/journal.sh
- Initial push: -cd ~/journal
- touch init.md
- git add .
- git commit -m "initial commit"
- git branch -M main
- git push -u origin main
- rm init.md”
- Create alias:
- nano ~/.profile
- alias journal='$HOME/journal.sh'
- source ~/.profile
- Daily usage:
- journal