Self-hosting Standard Notes editors using GitHub pages reddit / selfhosted ---------------------------------------------------------------------- Sea-Marketing5034 · 2023-10-03 22:02 I would like to self-host the official Standard Notes editors (Super, Rich Text, Markdown, etc.) in a way that is accessible outside my home network without requiring something like a VPN or reverse proxy. I have heard that this can easily be done by hosting the content on GitHub and accessing the json redirect using GitHub pages. Is there an online guide anywhere for an audience who does not have any experience with this type of content? I have found various blogs and Reddit threads with bits and pieces, but nothing that fully explains the process of creating the GitHub repositories from SN's official repository and formatting the GitHub pages redirect. Thanks! ---------------------------------------------------------------------- TheQuantumPhysicist · 2023-10-03 22:16 My unsolicited advice: Don't use standard notes. It sucks, and it's not really FOSS software. It's proprietary in an annoying way, where the client can lock you out. It could lock you out of your notes if you don't pay in a certain way. I used to use it, and moved to Joplin. ---------------------------------------------------------------------- Sea-Marketing5034 · 2023-10-04 00:05 I was looking at Joplin recently. I may be wrong, but there did not seem to be a way to easily host encrypted notes outside a local network without using some sort of VPN or proxy. I am not really confident in setting that up on my local pi in a way that doesn't introduce network vulnerabilities. I liked SN because it gave very easy cross platform encryption out of the box. Unfortunately the mobile app is pretty bad, especially if you don't have proper editors (hence above). I tried using 3rd party editors but they either brake or have security concerns. ---------------------------------------------------------------------- JoeB- · 2023-10-04 02:26 I use Joplin as well with apps installed on two Macs, an iPhone, and an iPad. I originally synced using a self-hosted WebDAV server; however, I migrated to syncing with DropBox six months ago. Like you, I wanted access to my notes anywhere, but didn’t want to expose my WebDAV server to the Internet. I have hundreds of notes, many with attached screenshots. My synced notes are encrypted and well below the DropBox free-tier storage limit. Joplin is a desktop & mobile app and syncing with DropBox doesn’t fit cleanly into the “selfhosted” category. Regardless, it’s a good solution for keeping notes that are accessible anywhere from multiple devices. One of the features I like about Joplin is the ability to toggle back and forth between markdown and WYSIWYG editing, much like Reddit. Another feature I *oddly* like is being able to use custom icons for Notebooks. These can be seen in the [screenshot of my Joplin app](https://i.imgur.com/fUu6DOm.png). The icons I use are 72x72 8-bit PNG with transparency. These are hosted on DropBox, [icons-72x72- png.zip](https://www.dropbox.com/scl/fi/pdkp483mwvj6pjgpisqk3/icons- 72x72-png.zip?rlkey=yetd3j3lvq4za7q65q83ejwl2&dl=1), if you are interested. ---------------------------------------------------------------------- Sea-Marketing5034 · 2023-10-04 02:32 I think I may move towards Joplin with syncing behavior, but I am reluctant to host on something like Dropbox because of the storage of the data. I know the data is encrypted and should be reasonably safe, but I have reserves over storing sensitive data on a platform that I don't really have control over. Perhaps that is hypocritical considering I currently host the data on SN's server, but I would like to move towards something self hosted. Since I only have two devices to sync (mobile and desktop), I may just try and create a simple hosting setup on the desktop device. Thank you for the tip about icons, I didnt know that! ---------------------------------------------------------------------- JoeB- · 2023-10-04 02:49 There are a number of options for self-hosted syncing including WebDAV, file system (which I suspect could be a mounted file share), and Nextcloud. Syncing still works well; although I occasionally had issues with WebDAV being flaky. You probably can create a share on your desktop and use it for syncing with your mobile. ---------------------------------------------------------------------- Sea-Marketing5034 · 2023-10-04 03:13 I already have Syncthing set up, so I will probably pivot to that. Thanks for the suggestion! ---------------------------------------------------------------------- JoeB- · 2023-10-04 03:55 Syncthing between mobile and desktop? That may work, but syncing probably should be performed by one or the other, not both. In other words, do not to enable syncing in the app itself if using Syncthing. ---------------------------------------------------------------------- Sea-Marketing5034 · 2023-10-04 11:42 >Syncthing between mobile and desktop? Yes. Have you experienced issues with using bidirectional syncing? I would expect sycronizing with a file system on the mobile device from Joplin and then connecting that file system for Send&Receive on the desktop device would achieve what I was looking for. ---------------------------------------------------------------------- JoeB- · 2023-10-04 17:07 Bidirectional syncing is stable; however, I currently sync between local apps and a fixed store, either WebDAV or Dropbox. If I understand correctly, you will be double-syncing. You will be syncing local apps with local stores (mobile and desktop) that themselves are being synced with Syncthing. I forget earlier that before installing Joplin apps on the iPhone and iPad, I synced only between two Macs using Apple’s iCloud Drive service, which is similar to Syncthing. There was a gotcha that required a workaround. Joplin’s local store, on macOS anyway, is a subdirectory of ~User (user’s home directory), but iCloud Drive only syncs ~User/Documents. My solution was to create a soft link from the subdirectory in ~User that Joplin uses to a subdirectory in ~User/Documents that I created and that was synced by iCloud Drive. I did not enable synchronization in the Joplin app itself. In short, I suggest one of two options… 1. Create a file share of the Joplin local store on the desktop and sync the Joplin app on mobile with it. 2. Use Syncthing to sync Joplin local stores between mobile and desktop, but do not enable synchronization in the Joplin app itself. ---------------------------------------------------------------------- JoeB- · 2023-10-04 17:08 Bidirectional syncing is stable; however, I currently sync between local apps and a fixed store, either WebDAV or Dropbox. If I understand correctly, you will be double-syncing. You will be syncing local apps with local stores (mobile and desktop) that themselves are being synced with Syncthing. I forget earlier that before installing Joplin apps on the iPhone and iPad, I synced only between two Macs using Apple’s iCloud Drive service, which is similar to Syncthing. There was a gotcha that required a workaround. Joplin’s local store, on macOS anyway, is a subdirectory of ~User (user’s home directory), but iCloud Drive only syncs ~User/Documents. My solution was to create a soft link from the subdirectory in ~User that Joplin uses to a subdirectory in ~User/Documents that I created and that was synced by iCloud Drive. I did not enable synchronization in the Joplin app itself. In short, I suggest one of two options… 1. Create a file share of the Joplin local store on the desktop and sync the Joplin app on mobile with it. 2. Use Syncthing to sync Joplin local stores between mobile and desktop, but do not enable synchronization in the Joplin app itself.