[-] jak0b@lemmy.ml 1 points 7 hours ago

Nothing wrong with that at all! You can set up a cron job to run Synchi every 5 minutes and it would work just fine. The only minor downside is some wasted compute since it rescans and hashes everything each run, even if nothing changed. For most files like text it's negligible though.

In the future I might look into a lightweight daemon that uses Linux filesystem notifications (inotify) to trigger a sync when something changes.

[-] jak0b@lemmy.ml 1 points 11 hours ago

Haven't tried iroh-ssh but since Synchi just uses standard SSH under the hood, it should work transparently with any ProxyCommand setup. Cool project, though!

[-] jak0b@lemmy.ml 2 points 11 hours ago

Thanks! If you just need backup, with Synchi you set the 'force=root_a' in config, otherwise its bidirectional sync. If you need pure backups, rsync or similar might still be the better fit as they have some backup specific features.

[-] jak0b@lemmy.ml 9 points 17 hours ago

I used Syncthing for years, it's great (if you use it and you are happy, then you dont need to switch), but they are quite different. Syncthing requires daemons on all devices and can't sync two local folders on the same machine. Synchi is on-demand, runs only on one side, and doesn't care where the two root folders are.

I wrote a more detailed comparison here: https://jakobkreft.github.io/synchi/why.html

[-] jak0b@lemmy.ml 3 points 17 hours ago

Thanks for correcting me! Honestly, I haven't used rclone bisync myself so thanks for sharing it. I have to give it a try now. rclone definitely looks a lot more compex feature-rich tool. Synchi I think would be alot simpler to setup and works great for my specific use case of syncing notes and files between my devices. Perhaps, targeted users is the distinction? Anyways I need to try it and see what good things I can learn from it.

[-] jak0b@lemmy.ml 2 points 20 hours ago

You are correct! no sub-file sync / binary diffing at the moment. It was my deliberate choice to keep complexity down. In practice, text files where diffing helps are tiny and transfer instantly anyway, and large files like images and videos almost never change partially. The main case where it would matter is something like large database files or VM images. That said, it's not off the table for the future!

[-] jak0b@lemmy.ml 2 points 22 hours ago

rclone bisync can do two-way sync, yes, great tool, especially for cloud backends and more automated syncs. Synchi is a lot simpler and more focused: works over SSH, nothing needed on the remote side. The key difference is that Synchi shows you exactly what it's about to do (copy A→B, copy B→A, delete in A, delete in B) and asks before changing anything. Conflicts get an interactive UI. No surprises.

[-] jak0b@lemmy.ml 4 points 1 day ago

This is exactly how I use Synchi! Same idea but I use Logseq instead of Obsidian (very similar open-source alternative, worth checking out). Works great for syncing markdown notes between computers and my phone on demand. Of course I need to remember to sync before switching devices, but I prefer this then constant running in the background.

Haven't thought about an Obsidian/Logseq plugin but honestly that sounds like a great idea... For now it's CLI only, but I can definitely see the value.

[-] jak0b@lemmy.ml 7 points 1 day ago

Great question! Let me sum it up here for others:

rsync is one-way only and has no memory between runs, every execution starts from scratch. Synchi is two-way, stateful (knows what changed since last sync), and content-aware (uses hashes, so no false positives from timestamp changes). It also handles conflicts explicitly instead of silently overwriting.

That said, rsync is still the better tool for backups and one-way mirroring. Synchi is for when you need true bidirectional sync.

Here is also a comparison with unison and syncthing: https://jakobkreft.github.io/synchi/why.html

[-] jak0b@lemmy.ml 3 points 1 day ago

Yes, you do need SSH set up on your phone. I'm using the same setup (Linux + Android). I wrote a short tutorial for it here: https://jakobkreft.github.io/synchi/termux.html

Also I use it with Tailscale so I can sync from anywhere not just local network.

[-] jak0b@lemmy.ml 5 points 1 day ago

Many sync tools like rsync are actually one-way (yes, only a mirror/backup). Two-way means changes on either side get synced to the other (Synchi helps you resolve conflicts). That said, Synchi can also do one-way mirroring if you set force=root_a in the config.

[-] jak0b@lemmy.ml 4 points 1 day ago

Yes! On android with Termux terminal.

(note: If you sync between computer and phone you don't need to install it on your phone. One side only is enough.)

18
Synchi - Two-way file sync (jakobkreft.github.io)
submitted 1 day ago by jak0b@lemmy.ml to c/rust@lemmy.ml

cross-posted from: https://lemmy.ml/post/44815211

Two-way file sync, no remote agent needed

Today Synchi is finally public! It's designed for syncing files between two locations (local or over SSH). It detects conflicts, and lets you decide what to do.

Why not rsync/Unison/Syncthing?

  • rsync has no memory between runs and is one-way
  • Unison needs to be installed on both sides
  • Syncthing requires always-on daemons

Synchi runs on demand, works over SSH, and only transfers what actually changed.

I use it daily for syncing a shared folder between my machines and an android phone. Works great in combination with Tailscale/WireGuard so that you can sync files remotely.

123
Synchi - Two-way file sync (jakobkreft.github.io)
submitted 1 day ago by jak0b@lemmy.ml to c/linux@lemmy.ml

cross-posted from: https://lemmy.ml/post/44815211

Two-way file sync, no remote agent needed

Today Synchi is finally public! It's designed for syncing files between two locations (local or over SSH). It detects conflicts, and lets you decide what to do.

Why not rsync/Unison/Syncthing?

  • rsync has no memory between runs and is one-way
  • Unison needs to be installed on both sides
  • Syncthing requires always-on daemons

Synchi runs on demand, works over SSH, and only transfers what actually changed.

I use it daily for syncing a shared folder between my machines and an android phone. Works great in combination with Tailscale/WireGuard so that you can sync files remotely.

75
submitted 2 days ago by jak0b@lemmy.ml to c/opensource@lemmy.ml

Today Synchi is finally public! It's designed for syncing files between two locations (local or over SSH). It detects conflicts, and lets you decide what to do.

Why not rsync/Unison/Syncthing?

  • rsync has no memory between runs and is one-way
  • Unison needs to be installed on both sides
  • Syncthing requires always-on daemons

Synchi runs on demand, works over SSH, and only transfers what actually changed.

I use it daily for syncing a shared folder between my machines and an android phone. Works great in combination with Tailscale/WireGuard so that you can sync files remotely.

12
Cake Timer: productivity tool (jakobkreft.github.io)
submitted 2 months ago by jak0b@lemmy.ml to c/adhd@lemmy.world

Hi, I wanted to share Cake Timer here as it might be helpful.

It’s a focus timer I made for studying. In it's core its a circle that represents 24 hours (noon is at the bottom). At midnight the circle is completed and a new cicle starts growing. Logging work sessions create green arcs, so by the end of the day you get a “cake diagram” of your activity. To me its very powerful psichologically, since it visualizes time always running, and when you are not focused the time is clearly wasted.

Features: session tags, daily/weekly/monthly stats, streaks, and a simple to-do list. All data is stored locally in your browser. It's Open source I started it 6 years ago (during the COVID lockdown) and have been improving it ever since.

Website: https://jakobkreft.github.io/CakeTimer

Thanks for your feedback!

1
24H CAKE TIMER for Deep Work (jakobkreft.github.io)
submitted 2 months ago by jak0b@lemmy.ml to c/studying@lemmy.ml

cross-posted from: https://lemmy.ml/post/41135354

Hi, exam period is near so I wanted to share this.

I made a 24-hour focus timer to help myself study. Started it 6 years ago (during the covid lockdown) and I’ve been using and improving it ever since.

A full circle represents 24 hours. Each study session adds a green arc, so by the end of the day you get a “cake” of your activity.

It now has session tags, stats (daily/weekly/monthly), streaks, and a simple todo list. And all data is stored on your browser locally.

Source code: https://github.com/jakobkreft/CakeTimer

Website: https://jakobkreft.github.io/CakeTimer

32
24H CAKE TIMER for Deep Work (jakobkreft.github.io)
submitted 2 months ago by jak0b@lemmy.ml to c/opensource@lemmy.ml

Hi, exam period is near so I wanted to share this.

I made a 24-hour focus timer to help myself study. Started it 6 years ago (during the covid lockdown) and I’ve been using and improving it ever since.

A full circle represents 24 hours. Each study session adds a green arc, so by the end of the day you get a “cake” of your activity.

It now has session tags, stats (daily/weekly/monthly), streaks, and a simple todo list. And all data is stored on your browser locally.

Source code: https://github.com/jakobkreft/CakeTimer

Website: https://jakobkreft.github.io/CakeTimer

45
submitted 3 months ago* (last edited 3 months ago) by jak0b@lemmy.ml to c/linux@lemmy.ml

Hi!

If you’re using redshift on Linux, I made a small tool that might be useful. It automatically sets the screen temperature based on the current time, you just draw a curve for how you want it to behave during the day. Then you can just add it to crontab to run every minute or hour.

39
submitted 5 months ago by jak0b@lemmy.ml to c/foss@beehaw.org

Hi, I want to share my fist app OnTime. It's a simple "traffic light" timer used by speakers at live events and conferences. Basically the color indicates the time you have left for your speech/presentation.

As far as i know it my app has been used at 3 conferences so far.

Would love to hear your feedback. Thanks!

(Ps. This is my first post on lemmy, still learning it. I hope its ok to promote your own stuff here?)

view more: next ›

jak0b

0 post score
0 comment score
joined 5 months ago