Most active commenters
  • sirbread(3)

←back to thread

107 points sirbread | 12 comments | | HN request time: 1.276s | source | bottom

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
dewey ◴[] No.44394289[source]
What is the selling point over the very mature Syncthing? I’ve been using that for this use case for many years, with the additional benefit of also being able to sync it to my server, having a UI and being in all package managers already.
replies(9): >>44394330 #>>44394365 #>>44394409 #>>44394416 #>>44394449 #>>44394452 #>>44395219 #>>44396409 #>>44397983 #
1. sirbread ◴[] No.44394449[source]
being fr, i never even knew about syncthing until now. it's (clearly) a lot better, but again, the reason I made this is because of my school's software whitelist. they only allow certain apps to run on my laptop, one of them being python due to out compsci class. since then, I've been using it to get around whitelists and make my own stuff. this allows me to sync up me and my friend's stuff (like projects, etc.) while we're in school and not have to worry about the whitelist :)
replies(3): >>44394502 #>>44394650 #>>44397389 #
2. ryanjshaw ◴[] No.44394502[source]
That’s perfectly valid. Maybe add it to the top of your readme explaining what problem it solves (need to sync files between machines and all you can use is python).
3. globular-toast ◴[] No.44394650[source]
My initial thought was, man, your school is lame. But maybe it's genius? Creativity thrives in a constrained environment.
replies(1): >>44398746 #
4. udev4096 ◴[] No.44397389[source]
This kind of whitelisting does absolutely nothing. It's a straight up lolbin. Anyway, if python is allowed, then surely other languages can be added to whitelist. Ask them to whitelist go and use syncthing
replies(3): >>44397770 #>>44398114 #>>44400494 #
5. sirbread ◴[] No.44397770[source]
trust me, I've tried asking for other programs to be on the whitelist. if they didn't allow firefox, they definitely won't allow synching. and I don't wanna get in trouble either lol
replies(3): >>44398221 #>>44398369 #>>44398730 #
6. woodrowbarlow ◴[] No.44398114[source]
> This kind of whitelisting does absolutely nothing.

well, aside from getting students more interested in programming, apparently.

replies(1): >>44398677 #
7. ◴[] No.44398221{3}[source]
8. ◴[] No.44398369{3}[source]
9. xeonmc ◴[] No.44398677{3}[source]
Necessity is the mother of invention, constraints the cradle of imagination, and contrarian teenagers the womb of ingenuity.
10. xeonmc ◴[] No.44398730{3}[source]
Can you ask them to permit docker?
11. snackbroken ◴[] No.44398746[source]
In high school they had a few information kiosk computers spread around the various buildings; two in the library, one in the main reception, one in the cafeteria, and one in the mostly unused hallway right outside the computer club room. They were locked down so you could only navigate some intranet pages using a rudimentary on-screen keyboard, with the rest of the hardware in a locked cabinet.

Guess which one got digitally defaced a couple of times each semester. Guess which ones got left alone. Genius move by the IT guy. Every time it happened he would come talk to the club members about the difference between whitehat and blackhat hacking but other than that nobody ever got in trouble.

12. Thrymr ◴[] No.44400494[source]
Or just write a python script wrapper for the syncthing client :)