jak0b

joined 5 months ago
[–] jak0b@lemmy.ml 6 points 5 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 5 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 8 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 10 hours ago (2 children)

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 1 points 20 hours ago

iOS is tricky since there's no easy way to set up SSH access to the filesystem like you can on Android with Termux. So unfortunately not really supported at the moment. If you have a jailbroken device it might be possible, but that's not something I've tested.

[–] jak0b@lemmy.ml 4 points 20 hours 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 1 points 20 hours ago

I'm not too familiar with Steam Deck, but that sounds like it would work! As long as you can point Synchi at both save directories, it would keep them in sync and save you the manual copy-paste.

[–] jak0b@lemmy.ml 5 points 20 hours ago (2 children)

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 3 points 1 day ago (4 children)

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.)

115
Synchi - Two-way file sync (jakobkreft.github.io)
 

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.

[–] jak0b@lemmy.ml 24 points 2 days ago (1 children)

It doesn't work that way. Conflicts are resolved before any transfer starts. The flow is:

Scan both sides and compare (compute file hashes or just compare mtime, no data transferred)

Show conflicts if any → you resolve them

Show copy/delete summary → you approve

Only then does the actual transfer begin. So you never come back to find it halted mid-transfer. All decisions happen upfront while it's just reading metadata, which is fast even for large trees.

[–] jak0b@lemmy.ml 11 points 2 days ago (3 children)

It compares everything first (scan, diff, hash), then halts before any changes are made. You see a full summary of what will happen, and approve each category separately (copies, deletes). It's designed to be very transparent. Every change must be approved before anything is written.

Conflicts get their own interactive screen where you pick per-file: keep A, keep B, or skip. Nothing is written until you've resolved all of them.

If you want to skip the prompts, --yes flag auto-approves, but conflicts still halt for user input. Flags --force root_a or --force root_b are used for mirrors one way here conflicts are not possible.

 

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)
 

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!

 

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

44
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.

 

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 ›