
Capturemd: capture data into markdown
Project Links
What is it
This is a simple tool to somewhat similar to org-capture with a focus on external resources.
The resulting syntax may seem a bit verbose but most of my tools abstract it and use this type of document as database of sort where i can collate the data, my notes and my tasks.
This stem from my initial use of Orgmode/Emacs - logseq also had an influence there.
(although I often had to fight orgmode and th libraries I was reliant on like org-ql which if memory serves me does not like to deal with the "0th node" (the document level metadata))
History
This has evolved from many simpler bash script that would create new orgmode notes.
Over the years to be able to get data in and out, I started using Notion.
A piece of data would initially be added in a database while another script on cron would process it and sync an orgmode note with an entry in a second notion database.
Notion for mobile not even having a proper "share" option, I would call the bash/python scripts on Android through Termux.
Trusting Notion's mobile application about as much as my ability to write good elisp, I eventually moved to markdown and slowly replaced these scripts with this module and a self-hosted wallabag instance.
Use cases
-
on mobile
- writing a note as google search and sharing it into the wallabag app, adds a note in my inbox of my obsidian/dataview queries
- adding any generic url - or specific ones like youtube, adds it
- going over my feed (using Read You with a FreshRSS backend), the starred elements are also captured
-
on desktop
- I can use the CLI
- or in firefox/tridactyl, press
,bor,Bto capture the current page or a selected link
-
Then, a cron job, parses and caches all the data
-
Finally, the data appears in the right place
- podcast onto my antennapod
- articles in my wallabag/e-reader
- youtube videos on my tv (through jelyfin/kodi)
Limits and future efforts
In the future, I need to expand this or merge it with some of my other tools
- focus on the syncing 2 way between my markdown as my personal database and remote resources
- splitting the caching of data into a separate "PVR-like" app
- have rules of youtube cache invalidation
- and more