Thejesh GN Blog

Blogring – JSON to OPML export

If you have been reading this blog you would know that I have blogring now. It’s stored as JSON documents in CouchDB and then used in widgets in the sidebar. It also happens that I read the same blogs in a feed reader. So I wanted a way to import these into my blog reader easily. CouchDB is my source of truth; hence I wanted a way to export JSON documents into OPML format that can be imported into any reader.

Picture of Temp Traveller

Weekly Notes 36/2022

We celebrate September 5th as teachers’ day in India. It used to be significant when Amma was alive and working. She used to get a lot of gifts from her students, flowers (especially roses), Cadburys five star, peacock feathers, Coffee Byte toffee, etc. She used to say government primary school kids are the best. Personally, teaching has been a fantastic experience for me. It has made me more empathetic.

Sharing links between devices using ntfy and Greasemonkey

There are many use cases where I want to share the links with other devices from a Desktop. One specific use case is solved by read-later setup I have. It’s the case where I want to read something later, preferably in offline mode. The content also gets archived. The other important usecase is that I want to share the link for quick access on a different machine, like a link to the Metabase dashboard or a link to the plantuml diagram, etc. This is where ntfy and Greasemonkey work very well. I have a userscript that pickups up the current document URL and title and posts it to ntfy topic.