If you do anything on macOS, you may or may not have used Unclutter App. It features a clipboard manager, a file manager and a notes manager. I use this application extensively when I use my MacBook. Clipboard manager and file manager are something that are temporary, but I would prefer to move the notes with me when I go to a different non macOS machine.
It all started after all my development stalled by moving to new MacBook M1. Most of my development tools were not available any more. So I had to move to a Ubuntu laptop that I always use for testing applications on Linux. However, most of my notes are on Unclutter, so I needed to have access to them. So, I thought of creating the simplest interface to be able to run on my home linux server and have access to all my notes (with the ability to go back to original Unclutter notes when I start using MacBook again).
Ideation
I wanted to have something built quickly, no fancy UI, does not depend on any libraries and should be fully compatible with unclutter notes format so that I can move the notes around. Initial plan was to host the data on AWS S3, but I later gave up on that idea and just hosted on my local network.

This came out to be a very convenient tool for me organizing all my quick notes, so I thought I will share the code if anyone finds it useful to run on their local network. There are quite a few unused classes. There is an implementation of vignere cipher that I wanted to use, but have not used eventually. Rest server uses in built http.server. It will be easy to extend this to write to dropbox or AWS.
Couple of things that need to be done to make it work on your network.
- Change the Host IP address to 0.0.0.0 in restserver.py
- In unclutter.html, change baseurl to the IP address of the server
- Call using http://<your network IP:post>/unclutter.html
Conclusion
I have checked in the code in GitHub here. Please feel free to modify anything that is required. Hope you find this useful. Ciao for now!