What does HackerNews think of obsidian-git?

Backup your Obsidian.md vault with git

Language: TypeScript

Obsidian Sync may provide a partial solution but it's mainly targeted at a single user synchronizing vaults between devices. There's also the Obsidian Git[1] plugin if you're working with developers that are familiar with Git, with all of the pros and cons you'd expect. Finally, there's obsidian-livesync[2] which in theory would provide some very powerful functionality; it seems very cool but given that doing such livesync is complex and easy to get wrong exercising a great deal of caution (frequent backups and care when rolling out for production uses) seems prudent.

Keep in mind that Obsidian requires a license for business use[3]. They're a very small shop that's entirely funded by licensing/sync/publishing income and are making a pretty fantastic product and they deserve some cash to keep developing Obsidian.

[1]: https://github.com/denolehov/obsidian-git [2]: https://github.com/vrtmrz/obsidian-livesync [3]: https://obsidian.md/pricing

The Obsidian team uses a shared Sync vault[1] to collaborate on making Obsidian. Since Obsidian runs on local files you could use any shared file storage like Dropbox. If you want more granular version history, you can use Git, there's a nice plugin for it[2].

[1]: https://help.obsidian.md/Obsidian+Sync/Share+remote+vaults

[2]: https://github.com/denolehov/obsidian-git

I've been using the main Obsidian git extension, https://github.com/denolehov/obsidian-git. Took some work to set it up ergnonomically but it works great now. I enabled auto-commit and push on save, and auto-pull when you start the editor. No merge conflicts yet between two machines.

Should note I use Obsidian for a journal, so it's pretty much append-only.

There is! Fair warning that it's a little bit clunky. (which is to say, you may have to manually push buttons to commit/push/pull) I'm not the author, just a happy user.

https://github.com/denolehov/obsidian-git

I've used Obsidian Git.

It definnitely takes some set up to make it work, but once working, it is pretty reliable. It requires an occasional merge conflict resolution, and setting the right files to be ignored.

I love that it is just folder with markdown files.

https://github.com/denolehov/obsidian-git

I've used the same system for about 8 years. I have a folder of Markdown files labeled "diary"; in that folder are files named YYYY-MM-DD.md. I use these files as a daily scratchpad, recording what needs to be done, what I accomplished, and notes from meetings, conversations, etc.

I originally created this system when I was using vimwiki, but it is compatible with Obsidian's Daily Notes feature too (a big advantage to using A Folder of Markdown Files as a knowledge base). In fact, the two can share a diary without undue effort.

Obsidian does charge for sync, but you don't have to use their sync service. You can sync yourself using syncthing, dropbox, or whatever you like. I use git to sync, with the obsidian-git plugin[1].

[1] https://github.com/denolehov/obsidian-git

Here is a way to capture pages from the browser in Obsidian https://stephanango.com/obsidian-web-clipper

https://github.com/denolehov/obsidian-git will help you sync across platforms

Obsidian has all files locally so can be read offline

I use a mix of tagging and two plugins (dataview and tasks) to accomplish the last one.

> It uses the same format of storage as Obsidian...

Can Obsidian and Jot co-mingle in the same vault?

I use Obsidian and am very happy with the git plugin[0] and Working Copy(iOS)[1] for keeping things automatically synced between my phone and desktop(s). Often I find myself dumping notes into random places from the terminal; feeding markdown via pipes. But I then have to remember to collect these artifacts and ensure I fire Obsidian back up for a push. I'd love something that could work "together" with my present setup.

Looks like things are set out quite clearly[2], and Rust looks quite approachable. Very cool stuff!

[0]: https://github.com/denolehov/obsidian-git

[1]: https://workingcopyapp.com

[2]: https://github.com/araekiel/jot/tree/main/src

That is extremely easy to deploy Docusaurus on Vercel/Netlify.

Here's a 70sec demo video deploying Docusaurus on Vercel: https://twitter.com/leeerob/status/1554211061284364290

We provide a "docusaurus deploy" tool to deploy on GitHub pages but it is more work to setup the GH Action CI than using a good static hosting solution

---

Regarding Obsidian, we don't provide an official integration with it, and IMHO Obsidian is only the "markdown authoring experience". Similarly you can use another tool like VSCode, Sublime or Intellij.

What I would do: - Author md in Obsidian - Sync Obsidian vault md to GitHub using https://github.com/denolehov/obsidian-git - Setup Vercel/Netlify to deploy my doc site from the GitHub repo

Note: we don't support Obsidian bi-directional linking such as [[xyz]], as this is not part of the CommonMark spec. But I definitively want to support something like that as well in the future, as I'm interested to create my own second brain / digital garden using Obsidian and put it online with Docusaurus. This way Docusaurus could become a free competitor to Obsidian Publish.

I mentioned this in another subthread, but have you checked out Obsidian [1]?

- It's a product, not a service (they do offer their own paid syncing service though)

- It is backed by plaintext: markdown files in folders. As for Git, I'm pretty sure you could use it easily- and I noticed there's also a community-supported Git integration plugin [2].

- Just tested link renaming, it's there.

- It does have a tagging system. I haven't used it extensively enough to see if the rest of your requirements are met, but it seems very thorough.

- The desktop and mobile clients do support full-text search. Not sure how it's indexed but it is quite fast.

- Server + browser interface: unfortunately, it doesn't look like this is the case out of the box, but since the files are Just Markdown On A Filesystem I feel like you could probably just have a completely unrelated server to make changes to them.

- Native desktop app: hate to break the news, but the desktop app is Electron. That being said, it's extremely snappy and doesn't seem like a complete memory hog. (A cursory check of Activity Monitor says it's got four processes running, using 127 MB, 73 MB, 55MB, and 11.8MB.)

- Sync over git/github- again, community supported, but the plugin [2] looks quite solid and offers plenty of the kind of features you might like. I would also note that because everything's just Markdown files, other syncing mechanisms like Dropbox or iCloud "just work". They have a mobile app as well, and seamless iCloud syncing has been the killer feature for me.

- Publishing is an interesting one. They do have a paid service which allows you to "publish" vaults, which basically means they do the static rendering and then host it for you. It looks like their static rendering gives the published version of a vault a "table of contents" pane and other stuff. I imagine it wouldn't be too tricky to do this oneself, and you could possibly even integrate it into the editor.

- So, CLI/Vim editing works like a dream. I just edited a file from Vim and immediately saw it updated in the desktop and mobile apps. Updating backlinks works in the app just fine, but simply moving files around in the filesystem doesn't update backlinks.

- Yeah, this kinda is a whole concern of its own, but for what it's worth: images and media are stored in the same directory structure as Markdown files, and can be embedded into a "note" via linking. (like ![[imagename.jpg]]). So I imagine you could keep them in a separate directory that's gitignored or something like that.

1: https://obsidian.md/

2: https://github.com/denolehov/obsidian-git

There's a Git plugin for Obsidian: https://github.com/denolehov/obsidian-git

It's not quite out of the box, but installing community plugins is very easy through the settings UI.