Self Hosted Share Note Server

Found this cool plugin that allows me to share my notes with other folks without having to publish them on my blog as such. Handy when I wanna share something with just Naqu or someone, and not have it on my personal blog for the whole internet to see.

This plugin's author also runs his own server to allow the notes being shared to have a central server where the notes are served from. While I do trust the guy... somewhat. And the notes are "encrypted" as he says. Even then, I want my own server to handle this.

The dude is kind enough to collaborate with other folks and have a self-hosted backend for Share Note. Thereby making this plugin in Obsidian like the client, connected to my self hosted backend which implements everything the original server does. One such example is this python server.

Imma get this deployed on my GCP VM, get it reverse proxied, and use it to share my notes. Let's see how it goes.

Work Log

2025-08-14

Got this idea in my head at this time.. soo.. yeah. Not doing much today maybe. Also it's 5am.

2025-08-18

Took a little break from being sad and office work (both are kinda synonymous lately), to see if Claude Code and I can get this running quickly with the new reverse proxy setup we accomplished yesterday.

Aaandd.. It took roughly 2 hours and it's up and running on https://notes.hamzamoiyadi.dev. This Claude Code thing is probably the super-power I always wanted. There were a ton of things it did:

  1. Cloned the sharenote-py repo in a subfolder as a git submodule.
  2. Renamed the service-b directory previously setup into a proper name (I told it to do that explicitly).
  3. Updated nginx configurations to point to the new folder.
  4. Moved the old nodejs service it had created into a legacy-code folder (I kinda liked it).
  5. Updated docker-compose.yml (obviously) to build the sharepoint-py image and run it through docker compose.
  6. Fixed some git submodule errors
    1. Earlier the sharenote-py repo was cloned into service-b folder.
    2. After renaming the folders, the submodule linking kinda broke.

Damn cool man.

Now I have my own private note sharing service deployed! Hope the author implements encryption in some way too. I would also like to know how it's done. Maybe I can contribute?

anyway,

We DONE 😁