Obsidian and Bookstack sync reddit / selfhosted ---------------------------------------------------------------------- bluesanoo · 2023-12-23 18:29 I wrote a python program that allows you to download and upload markdown from Bookstack to an Obsidian vault, and vice versa. Mainly intended for users who want to write their notes and in Obsidian and back them up to Bookstack (for possibly public use). Feel free to fork/submit any pull requests for anything you would like added! [https://github.com/jaypyles/obsidian-to- bookstack](https://github.com/jaypyles/obsidian-to-bookstack) ---------------------------------------------------------------------- dopaminedandy · 2023-12-23 18:35 I need a sync solution for my obsidian. Is your technology free? including the free self hosting? ---------------------------------------------------------------------- bluesanoo · 2023-12-23 18:40 Yeah, just clone the repo and install! Instructions are in the repo. Everything is local and self hosted ---------------------------------------------------------------------- Sugardaddy_satan · 2023-12-23 18:40 there is already livesync plugin ---------------------------------------------------------------------- bluesanoo · 2023-12-23 18:45 Ah well this isn't intended to sync between obsidian instances, just allow you to transfer your obisidan notes to a bookstack instance if they aren't already there ---------------------------------------------------------------------- ssddanbrown · 2023-12-23 19:39 Awesome! Would you be willing to put this under [a license to make this open source](https://choosealicense.com/)? Then I'd be happy to share this in /r/bookstack and the bookstack discord. Plus I'd be happy to accept a PR to add this to the ["Community Projects & Scripts" part of our api-scripts repo](https://github.com/BookStackApp/api-scripts#community-projects-- scripts). ---------------------------------------------------------------------- bluesanoo · 2023-12-23 19:47 Sure thing, will update once done ---------------------------------------------------------------------- bluesanoo · 2023-12-23 20:09 Okay, pull request has been opened! ---------------------------------------------------------------------- Digital_Voodoo · 2023-12-23 20:24 This feels like the missing piece of my setup. I love the local *editability* of Obsidian and the online readability of Bookstack. Your program seems to offer the best of both worlds. Kudos 👍🏻 ---------------------------------------------------------------------- bluesanoo · 2023-12-23 20:28 Im actively updating it as well, hoping to achieve a lot of functionality with synchronization, and will be adding more features to closer mimic a Bookstack instance in Obsidian! ---------------------------------------------------------------------- DemeGeek · 2023-12-23 21:31 I was literally looking into this exact pairing a few days ago, spooky. ---------------------------------------------------------------------- Tripanafenix · 2023-12-24 00:35 Just use Obsidian Git and Gitea lol ---------------------------------------------------------------------- Tripanafenix · 2023-12-24 00:35 I use Obsidian Git and Gitea ---------------------------------------------------------------------- dopaminedandy · 2023-12-24 02:10 Gitea? ---------------------------------------------------------------------- edersong · 2023-12-24 05:08 It's awesome! It will be useful for those like me that are looking for a useful web version of Obsidian, in this case, Bookstack. 😉 ---------------------------------------------------------------------- bluesanoo · 2023-12-24 05:20 Update: I have added an \`update\` command that will actually sync notes whether they have been changed locally or remotely, so now you can actually change notes and not just upload or download. ---------------------------------------------------------------------- Tripanafenix · 2023-12-24 12:31 [Gitea is a painless self-hosted all-in-one software development service](https://docs.gitea.com/next) like GitHub or GitLab, but in your Homelab. It can be used for Obsidian like I mentioned before but so much more. For example, you could versionate code, manuals, homelab topology, docker and os settings, etc If you self-host something, I think (personally) having something like a git is essential to keep an overview over all you're doing on and for the server ---------------------------------------------------------------------- maximus459 · 2023-12-24 15:14 Have to agree.. 👍 ---------------------------------------------------------------------- maximus459 · 2023-12-24 15:15 P.s: does it end up linking pages? Or does the scripts make it in a folder hierarchy? ---------------------------------------------------------------------- dopaminedandy · 2023-12-24 19:34 Thanks for the explanation. Can you recommend me a book/blog/youtube- channel, that can teach me all of these things that you have mentioned and me capable of using these technologies? ---------------------------------------------------------------------- Tripanafenix · 2023-12-24 21:28 [Git](https://youtu.be/8JJ101D3knE?si=xAuv3879K35tzplr) [Git & GitHub](https://youtu.be/RGOj5yH7evk?si=TRXq5w_EC4b0vAyj) [Gitea](https://youtu.be/NaKExFTCKtg?si=vRSNcki4s5dXeFpb) and for networking and topology stuff I'd recommend a gander at r/homelab ---------------------------------------------------------------------- dopaminedandy · 2023-12-24 21:33 Thanks. I am so grateful to you for these links. ---------------------------------------------------------------------- Tripanafenix · 2023-12-24 21:52 You're welcome Here are more: [Advanced Git Tricks](https://youtu.be/ecK3EnyGD8o?si=KKKJYaFHJaenfymI) [Very good example self hosted repo](https://github.com/marcogreiveldinger) ---------------------------------------------------------------------- bluesanoo · 2023-12-25 00:03 Well right now it will literally just write raw content from your obsidian note to your bookstack note, so most likely the note will end up containing a malformed obsidian link. This can actually probably be added fairly easily though, which could be game changing. I am planning on reworking some sections of the code tho, primarily to support books with chapters, along with pages that don't have books. I also am planning on adding some sort of \`delete\` functionality to delete notes, books, shelves from both bookstack AND locally at the same time. ---------------------------------------------------------------------- maximus459 · 2023-12-25 02:38 Nice