Quick note on Android with HTTP Shortcuts and Obsidian Headless CLI
I'm creating notes on the go with HTTP Shortcuts overlay on Android that save to Laravel endpoint with Bearer token and then sync to Obsidian daily note via Obsidian's Headless CLI. It's way faster than the native Obsidian app on Android (you have to open, it will load and sync and my thought is gone). And for me this is the best option until Obsidian ships an own quick add.
The HTTP Shortcut is a small app that allows to send HTTP requests with some custom input. It sends the equivalent of this cURL:
curl https://agent.martinbetz.eu/api/obsidian/daily-note -X POST -H "Authorization: Bearer {token}" -H "Content-Type: application/x-www-form-urlencoded" -d content=
This gets sent to my Laravel endpoint that saves the note in my synced Obsidian library on the server and then triggers a Obsidian CLI sync. (I run this on an existing Laravel app, it was the obvious choice for me, but of course you could use something else, maybe Javascript only might give you less problems with the Obsidian CLI).
It's important to run npm rebuild in the deployment script so that Better SQLite does not break Obsidian CLI:
npm ci
npm rebuild better-sqlite3 --ignore-scripts=false
I can trigger the overlay with a shortcut on my home screen:

Which opens an overlay:

I just type the text and it will then be saved to my daily note, timestamped (YYMMDDHHmm) like this.
