Article 5SN5P Emacs - Distributed, Asynchronous Git Syncing with NNCP

Emacs - Distributed, Asynchronous Git Syncing with NNCP

by
janrinok
from SoylentNews on (#5SN5P)

An Anonymous Coward writes:

Distributed, Asynchronous Git Syncing with NNCP:

I have a directory that I use with org-mode and org-roam. I want it to be synced across multiple machines. I also want to keep the history with git. And, I want to use end-to-end encryption (no storing a plain git repo on a remote server), have a serverless setup, not require any two machines to be up simultaneously, and be resilient in the face of races and conflicts.

I've tried a number of setups - git-remote-gcrypt on a remote server (fragile), some complicated scripts around a separate repo in syncthing (requires one machine to be "in charge"), etc. They all were subpar.

Then NNCP (network node control point) introduced asynchronous multicast and I was intrigued.

So, I wrote gitsync-nncp, which uses NNCP to distribute git bundles to all the participating machines. The comprehensive documentation for gitsync-nncp goes into a lot more detail about how it works and what problems it solves. It's working quite well for me!

Have any of our Emacs users had similar problems, or found alternative solutions?

Original Submission

Read more of this story at SoylentNews.

External Content
Source RSS or Atom Feed
Feed Location https://soylentnews.org/index.rss
Feed Title SoylentNews
Feed Link https://soylentnews.org/
Feed Copyright Copyright 2014, SoylentNews
Reply 0 comments