view the rest of the comments
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Oh yeah sorry, I misunderstood. I think what you're looking for is local (network) versioning which I've had trouble finding in the past as well. I had hoped SyncThing would do it but it doesn't. Versioning is something a service like git does perfectly (i.e. notifies of and/or resolves conflicts in text files on the fly, seamlessly). When I was doing a lot of writing from different devices I set up a private repo on Github (and later Gitlab) and got my text editor to auto-sync-on-save to the repo (from any device) and it worked great. There are very likely self-hosted solutions that wouldn't rely on the cloud for that, but for me it worked fine as private repos because nobody but me would ever see those drafts (in a perfect world... we all know microsoft has almost certainly trained their shitty A.I. on my terrible writing versions over those years on Github because they own that platform).
I know there are ways to get Git working locally, probably for this purpose, but I don't know of any simple ones to suggest.
Well, it's not versioning I need (I have an rsync backup that makes incremental copies). I need a 2-way sync that happens when files changes and doesn't randomly stop working: I want to edit a note on my phone - it copies to the server. Edit on the server, it updates to the phone. Without having to manually run any separate syncs first. I only mention sync conflicts because right now, syncthing hadn't updated with my phone for over 2 days, plenty of time for me to update a note elsewhere and then edit the same note on the phone.
Resilio does it, but it looks like it's draining the battery. Syncthing doesn't drain the battery much, but that's because it has become inactive on two different phones for long periods of time repeatedly.
Cloud provider apps usually work instantly with little drain, they must trigger from OS notifications, but the apps that sync to local servers just don't seem to work that way!
Git is a great solution just for versioning. After I messed up a big note file I had, I set up emacs to hook git into the save function. I just created a repo in that directory, then backed up the whole directory including .git, so the versioning was there with the backup. No need to even use a separate repo, git just gave me a version history for the local files.
That was the same issue I had with SyncThing, it just seemed to conk out at weird times and I gave up on it (for that purpose). It's great for centralizing a directory of files from one machine to another but I didn't love it for keeping a single file up-to-date with changes coming from more than one point on the network.