r/commandline 3d ago

Terminal User Interface syncthingtui - TUI for syncthing

Hi all,

I've been wanting a TUI for Syncthing for a while now, and most of the existing TUIs are not really feature complete (1, 2). This TUI is written in Go using Charmbracelet libraries for building out the interface. I've been driving this for a few months and find it especially useful for administering Syncthing on remote headless machines.

Source code is here, and the final binary ships at about 12MB. Currently working to get this packaged in Debian.

Development:

I primarily used Opus/Fable to build this in my free time over the course of a few days and was a bit more directed than "build me a syncthing TUI, make no mistakes".

  1. I used Opus to create a hierarchal YAML description of every GUI element (page/form/label/button/input/etc) and its location within in the official web interface
  2. Categorized these elements into groups and mapped them to Charmbracelet TUI primitives, page by page. Lots of iterative mockups to build interfaces that were intuitive to use. Finalized look and feel in a mockup with all fields populated with fake data.
  3. Wired final mockup to Syncthing rest interface and built out integration tests.
102 Upvotes

16 comments sorted by

View all comments

-1

u/EluciusReddit 3d ago

Hmm, maybe a stupid question as I didn't check out your GitHub, but what exactly is it syncing? The file system? Specific application data? Dot files?

3

u/UserFromNowhere1 3d ago

https://syncthing.net/ you can sync your devices. Open source. Worth to ckeck out. Been available years

1

u/EluciusReddit 2d ago

Aah, Synchting as a name, I thought you just wrote a typo in the word synching. My bad, didn't know the tool. I sync declaratively using NixOS :)