back

by surprisetalk·3y ago·view on hn ↗
If you are programming literate, I can't recommend plain .txt and .md enough.

Some random benefits:

• Text files make interfacing with GPT super easy.

• You can use Apple Shortcuts and IFTTT to read and write from text files in iCloud or Dropbox.

• In VIM, you can use arbitrary bash commands to edit text. For instance, you can select a bunch of lines and use :!tac to reverse them.

• Text files are easy to backup, and don't lock you into particular vendors.

Example: here's a script I run every morning to spark ideas and preview my day:

  j writings
  cat ~/Documents/tasks/links.txt >> ~/Developer/writings/links.txt && echo '' >! ~/Documents/tasks/links.txt
  cat ~/Developer/writings/waiting.txt 
  cat ~/Documents/tasks/inbox.txt
  cat ~/subscribed_subreddits.csv | shuf | head
  cat ~/Developer/writings/links.txt | gshuf | head
  cat ~/Developer/writings/ideas.txt | gshuf | head
  grep -rHino 'is_published: true' | gshuf | head
  grep -rHino 'is_published: false' | gshuf | head
1 comments
Thanks suprisetalk. Good suggestion. I generally prefer Notion vs text files because of web clipping and rich media support – images, embeds, videos, etc. But I use rich text files on an encrypted drive for things like taxes, copies of IDs, etc.