←back to thread

107 points sirbread | 2 comments | | HN request time: 0s | source

i made sink. it's a simple little tool that continuously syncs folders between 2 devices. no cloud, no email, flash drives, no bs.

it just uses your local wifi. run it on your machines, tell them to trust each other, and you're set. and if you manage to edit the same file at once, it handles the conflict and saves both copies.

for anyone who just wants to get files from point a to b without the headache. hope it makes your life a bit less annoying.

github: https://github.com/sirbread/sink binary: https://github.com/sirbread/sink/releases/tag/v0.1

Show context
tomhow ◴[] No.44396481[source]
[stub]
replies(10): >>44394250 #>>44394284 #>>44394292 #>>44394325 #>>44394329 #>>44394331 #>>44394367 #>>44394401 #>>44394538 #>>44394630 #
neepi ◴[] No.44394538[source]
I solved this problem again recently as well. After evaluating various synchronisation methods I thought it would be a good idea to design a new methodology which doesn't reinvent the wheel. Completely out of the box thinking. It took a few days to come up with a solution which worked on paper and a couple of weeks to implement it. I call this onecomputer. What you do is uninstall all sync software from your devices and put everything other than the primary one in the cupboard. Job done. No problems with conflict resolution. No race conditions. No resource and locking issues. Fast, reliable and does not depend on any third party provider or network. It just works. No wheel reinventing - this is uninvention.
replies(2): >>44394560 #>>44394569 #
1. shaism ◴[] No.44394560[source]
How do I get stuff from my “onesmartphone” to the “onecomputer”?

Or shall I also put the “onesmartphone” in the cupboard?

replies(1): >>44394903 #
2. neepi ◴[] No.44394903[source]
The phone here basically does IMAP (which is sync I suppose) and gets plugged into the computer and stuff copied around as required manually, which turns out to be rarely as it's not the primary device!