frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: Goboscript, text-based programming language, compiles to Scratch

https://github.com/aspizu/goboscript
125•aspizu•8h ago•41 comments

Show HN: Cogitator – A Python Toolkit for Chain-of-Thought Prompting

https://github.com/habedi/cogitator
15•habedi0•3d ago•0 comments

Show HN: Job board aggregator for best paying remote SWE jobs in the U.S.

https://www.remoteswe.fyi
107•xitang•13h ago•66 comments

Show HN: Ziit – Open source wakatime alternative

https://github.com/0PandaDEV/Ziit
2•pandadev_•50m ago•0 comments

Show HN: I modeled the Voynich Manuscript with SBERT to test for structure

https://github.com/brianmg/voynich-nlp-analysis
354•brig90•21h ago•116 comments

Show HN: Jar.tools – View, Change, Decompile Java Jar Files

https://jar.tools
2•Igor_Wiwi•1h ago•0 comments

Show HN: I reinvented PHP in TypeScript (demo)

https://github.com/vseplet/morph
17•vseplet•3d ago•16 comments

Show HN: Find startup founders near you

https://www.foundersaround.com/
2•leonagano•2h ago•0 comments

Show HN: Vaev – A browser engine built from scratch (It renders google.com)

https://github.com/skift-org/vaev
209•monax•20h ago•120 comments

Show HN: A platform to find tech conferences, discounts, and ticket giveaways

https://www.tech.tickets/
91•danthebaker•2d ago•32 comments

Show HN: Open-Source AlphaEvolve Clone Using GPT-4.1 and Genetic Programming

3•Sai_Praneeth•2h ago•0 comments

Show HN: Python Simulator of David Deutsch’s “Constructor Theory of Time”

https://github.com/gvelesandro/constructor-theory-simulator
77•SandroG•17h ago•11 comments

Show HN: Hardtime.nvim – break bad habits and master Vim motions

https://github.com/m4xshen/hardtime.nvim
193•m4xshen•1d ago•75 comments

Show HN: Buckaroo – Data table UI for Notebooks

https://github.com/paddymul/buckaroo
96•paddy_m•22h ago•8 comments

Show HN: Chat with 19 years of HN

https://app.camelai.com/log-in?next=/hn/
135•vercantez•1d ago•105 comments

Show HN: A web browser agent in your Chrome side panel

https://github.com/parsaghaffari/browserbee
140•parsabg•1d ago•59 comments

Show HN: Berlin Swapfest #2 – Electronics flea market (July 20th, 2025)

https://www.swapfest.berlin/?number=2
6•mirshko•3h ago•0 comments

Show HN: Model2vec-Rs – Fast Static Text Embeddings in Rust

https://github.com/MinishLab/model2vec-rs
58•Tananon•23h ago•13 comments

Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

https://github.com/Blackmamoth/sshsync
32•blackmamoth•18h ago•40 comments

Show HN: Turn any workflow diagram into compilable, running and stateful code

https://workflows.diagrid.io/
99•yaronsc•4d ago•31 comments

Show HN: A Wolfenstein3D-like raycaster made in Windows Batch

https://github.com/nTh0rn/batch-raycaster
12•nthornton•16h ago•3 comments

Show HN: Stack Error – ergonomic error handling for Rust

https://github.com/gmcgoldr/stackerror
25•garrinm•19h ago•11 comments

Show HN: Racketmeter – Measure Badminton String Tension Using Sound Frequency

https://www.racketmeter.com/
38•zhacker•20h ago•12 comments

Show HN: I built a knife steel comparison tool

https://new.knife.day/blog/knife-steel-comparisons/all
139•p-s-v•1d ago•83 comments

Show HN: Datetime.app – open-source alternative to time.is

https://datetime.app
3•Airyisland•10h ago•3 comments

Show HN: Merliot – plugging physical devices into LLMs

https://github.com/merliot/hub
79•sfeldma•2d ago•23 comments

Show HN: Pixelagent – Build your Stateful Agent Framework in 200 lines of code

https://github.com/pixeltable/pixelagent
29•pierrebrunelle•3d ago•14 comments

Show HN: Grace – Orchestrate Hybrid Mainframe and Cloud Workflows with YAML

https://graceinfra.org
2•arnavsurve•12h ago•0 comments

Show HN: Muscle-Mem, a behavior cache for AI agents

https://github.com/pig-dot-dev/muscle-mem
224•edunteman•4d ago•51 comments

Show HN: Visual flow-based programming for Erlang, inspired by Node-RED

https://github.com/gorenje/erlang-red
243•Towaway69•2d ago•101 comments
Open in hackernews

Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

https://github.com/Blackmamoth/sshsync
32•blackmamoth•18h ago
I built a CLI tool called `sshsync` to run shell commands and transfer files across multiple servers over SSH concurrently.

It was inspired by tools like `pssh`, but I wanted something more modern, intuitive, and Pythonic.

What it does:

- Run shell commands on multiple servers (in parallel) - Push/pull files or directories with progress bars - Uses `~/.ssh/config` and lets you group hosts with YAML - Supports `--dry-run` mode to preview actions without executing - Outputs results using `rich` (tables, colors) - Built with `Typer`, `asyncssh`, and `rich`

There’s no daemon or extra setup, it reads your existing SSH config and just runs.

Would love feedback on general use and especially if there are ways to improve the `--dry-run` output.

Comments

ahofmann•6h ago
This looks great. I've used ansible in the past, is this tool like a stripped down (and thus simpler to use) version of ansible?
XorNot•5h ago
Given that ansible can be installed via "pip install ansible" I'm not sure how much simpler you can get?

Like a basic list of servers can also have this done via "ansible -m shell -a 'echo something' <server group>"

N2yhWNXQN3k9•5h ago
yeah, ansible is very nice also in that it can have multiple inventories across cloud providers for running whatever, with minimal setup, and without needing to modify your ssh host config
mkayokay•6h ago
How are commands handled, that require user input? E.g. password for sudo in your example:

  sshsync group web-servers "sudo systemctl restart nginx"
I like that you included a demo in the README, but it is too long for a gif, as I can't pause/rewind/forward. So splitting into multiple short gifs or converting into a video (if GitHub supports them) could improve the experience.
blackmamoth•4h ago
As of now there is no way to take user input in transit, so either the user is required to have the privilege to execute the specified command or have passwordless sudo available.

And Yeah, now that you've mentioned it multiple shorter gifs would be better.

mrbluecoat•1h ago
Or https://asciinema.org/ instead of gifs
nasretdinov•5h ago
Around 10 years ago I was supporting infrastructure at a PHP shop and we needed a similar thing, but for ~3000 servers, and the library that we were using (libpssh) didn't support async SSH agent authentication, so I built this small tool in Go to allow to implement such tooling in any language (PHP, Python, whatever) in a simple way: https://github.com/YuriyNasretdinov/GoSSHa

It's main advantage is that it allows you to do SSH agent forwarding that actually works at scale, since it limits concurrency when talking to SSH agent to a configurable amount (by default 128, the default connection backlog in OpenSSH ssh-agent)

blackmamoth•4h ago
Hey man that's really cool, I never really thought of making this interactive.
gamedna•5h ago
Curious to understand the need to create this over using tools like pssh, etc.

https://linux.die.net/man/1/pssh

blackmamoth•4h ago
I was getting bored, this seemed like a cool project to work on outside of work, that's why. One of my colleagues found it useful for his needs, so I figured there might be other people who'd find this useful too.
deva502•5h ago
The lack of research, the AI-generated README and comments, and the "Pythonic" approach (while Ansible exists) made me laugh. I guess it's a good CS50 project, but it's not presentable at all and doesn't have real-world usage.
blackmamoth•4h ago
Hey, yeah I admit i should've written the README myself, but I'm kinda lazy , so I let gpt handle both readme and the post. And I do know there are other tools way better than this and battle tested, but I just built this for fun and not to compete with any of them.
strzibny•5h ago
If you deploy with Kamal you practically get this, except maybe the file push, that's a nice touch.
monster_truck•5h ago
Have you looked at what powershell does? Invoke-Command (and the Job stuff it meshes perfectly with via AsJob) is really nice

I only needed a very small fraction of what it can do to bail a client out of a problem their customer caused on several hundred computers the night before an event, but it absolutely saved the day and a lot of money.

N2yhWNXQN3k9•5h ago
The dry-run option is nice, but you can do this easily in a normal environment without special tooling (GNU parallel, etc).

I have made scripts to do this with filter parameters over VMs on cloud providers, which is very valuable. Maybe you can extend this to have those options, so potential users are more attracted to it?

proxysna•4h ago
ansible my_servers -m shell -a 'fortune && reboot' -b

I know it is easy to be a hater, but sincerely do not see a reason to use something like that over Ansible or just pure sh, ssh and scp. All you have to do is to set up keys and the inventory. Takes 10 minutes, even if you are doing it for the first time. And you can expand it if you need it.

liamkearney•4h ago
Ansible is one of the best examples of needless complexity I’ve ever interacted with.
proxysna•3h ago
Ansible is the easiest tool for configuration management to onboard and start using. Great documentation, large community. It is as complex as you want it to be and it's complexity scales with your infra. ofc YMMV.
alerighi•4h ago
I use pssh often (not this tool, but as I understand is similar).

The reasons I find it over Ansible are:

- takes the same syntax and options as plain SSH, just run over multiple hosts. So if you already know SSH, you know how to use pssh that is an extension of the command. Ansible requires to study it. The configuration format is trivial, just a file that contains on each line one host, no need to study complex formats like Ansible

- doesn't require dependencies on the target machine. Ansible, as far as I know, requires a python3 installation on the target machine. Something that, for example, is not granted in all settings (e.g. embedded devices, that are not strictly GNU/Linux machines, for example consider a lot of network devices that espose an SSH server, like Microtik devices, with PSSH is possible to configure them in batch), or in some settings you maybe need to work on legacy machines that have an outdated python version.

- sometimes simpler tool that just do one thing are just better. Especially for tools like pssh that are to me like a swiss army knife, the kind of tool that you use obviously when you are bodging something up to make something work because you are in an hurry and saves your day

Of course if you already use Ansible to manage your infrastructure you may as well use it to run a simple command. But if you have to run a command on some devices, that were not previously setup for Ansible, and devices trough which you may not have a lot of control (e.g. a bunch of embedded devices of some sort), pssh is a tool that can come handy.

pug23•1h ago
For clarity Ansible does allow to run commands on a target host without Python installed using the raw module

I do agree with your point, sometimes it's just easier to use native tools or simple wrappers around native tools. Use whatever makes your job easier

blackmamoth•4h ago
I know ansible or even custom shell scripts are way better and optimized for such use cases. However, I just wanted to show something I built that might be useful to someone.
proxysna•3h ago
My comparison is most likely unfair because i am looking at it through a distorted lens of running all sorts of configuration management in production or at home for years. So i might be the wrong person to make judgement on it and just being a hater for no good reason.
revskill•3h ago
Ansible doesn't work on windows.

Stop assuming your method works across the universe of edge cases.

KAMSPioneer•3h ago
I mean, Ansible isn't the best choice for Windows configuration, I would agree, but you're not strictly correct: https://docs.ansible.com/ansible/latest/os_guide/windows_usa...
proxysna•2h ago
Ansible server does not work on windows, yes, but you can configure windows hosts with Ansible out of the box.
cynicalsecurity•2h ago
Ansible requires python to be installed on all of the target computers.
hoherd•1h ago
That's not necessarily true. There is the raw module that executes a bare command. https://docs.ansible.com/ansible/latest/collections/ansible/...
mmsc•54m ago
are there any linux distributions which don't require python installed, other than embedded?
darrenf•4h ago
See also: fabric. https://docs.fabfile.org/en/latest/
shaunpud•4h ago
See also: pyinfra. https://docs.pyinfra.com/en/latest/
kachapopopow•4h ago
This would only be interesting if it wasn't written in python, but native instead.
blackmamoth•4h ago
Originally I was going to write the prototype in python and than later reimplement it in Golang, but right now I'm not sure if it's needed
Joker_vD•2h ago
Looks interesting; my klunky script for doing something similar has been something along the lines of

    printf 'started: %s\n' "$(utcdate)"

    (
        trap 'kill 0' SIGINT
        for REMOTE in "${REMOTES[@]}"
        do
            ssh -- "$REMOTE" "$COMMAND" "$@" &
        done
        wait
    )

    printf 'ended: %s\n' "$(utcdate)"
but twiddling with it has been quite annoying, so I'll look into this tool.
JulianWasTaken•2h ago
To me GNU parallel is the top of the line here (as it is for most things parallel).

For the most common cases I have it aliased to just `p`: https://github.com/Julian/dotfiles/blob/main/.config/zsh/com...

Or https://github.com/Julian/dotfiles/blob/4d36e6b17e9804a887ba...

naikrovek•2h ago
what is the use case? why wouldn't you use something else (like ansible or puppet or something)? I do not understand why someone would do things like this.
johnisgood•40m ago
Why would anyone use Ansible or Puppet for running shell commands on remote servers? Such an overkill.
cbm-vic-20•2h ago
[citation needed]
andrewchilds•2h ago
I built (and still use) a similar tool called Overcast 10 years ago: https://github.com/andrewchilds/overcast
baalimago•52m ago
Very cool project! But it's a quite saturated market. Any sysadmin/similar who needs this sort of functionality have most likely already found an solution (5-20 years ago).

Personally, I'm a tmux synchronized-panes kind of guy, so that I can see the result of each output immediately.

jasongill•32m ago
In a past life, this is an interview question that I would ask people: "We have thousands of servers, and you need to run the same command on 10 of them, what's one way you would do it?" and follow up with "What if you wanted to run the command on hundreds or thousands - what problems would you expect with this approach, and what might you do differently?"

I didn't really expect them to write code on the spot (hate that in interviews), but just to describe a possible solution; there were no wrong answers. Seeing how people came up with a quick hack for 10 and then being able to evolve their thinking for thousands was the point of the question and it could be enlightening to see.

I had a lot of people come up with things that I never even thought of, such as SSH'ing in to all 10 machines and then using a terminal feature to type into all of the windows at once.

bandie91•3m ago
[delayed]