HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
llamasoft
polyshell
Command Line2021–2021
llamasoft / polyshell

polyshell

A Bash/Batch/PowerShell polyglot!

2Distinct people
2Mentions
0Explicit recommenders
225GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A Bash/Batch/PowerShell polyglot!

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2021-02-26 09:31:56 UTC to 2021-02-26 16:10:30 UTC.

012021-02-26 09:00:00 UTC to 2021-02-26 10:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 26, 09:002021-02-26 10:00:00 UTC to 2021-02-26 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-26 11:00:00 UTC to 2021-02-26 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-26 12:00:00 UTC to 2021-02-26 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 26, 12:002021-02-26 13:00:00 UTC to 2021-02-26 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-26 14:00:00 UTC to 2021-02-26 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-26 15:00:00 UTC to 2021-02-26 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-26 16:00:00 UTC to 2021-02-26 17:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 26, 16:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Feb 26, 09:002021-02-26 09:00:00 UTC2021-02-26 10:00:00 UTC101
Feb 26, 10:002021-02-26 10:00:00 UTC2021-02-26 11:00:00 UTC000
Feb 26, 11:002021-02-26 11:00:00 UTC2021-02-26 12:00:00 UTC000
Feb 26, 12:002021-02-26 12:00:00 UTC2021-02-26 13:00:00 UTC000
Feb 26, 13:002021-02-26 13:00:00 UTC2021-02-26 14:00:00 UTC000
Feb 26, 14:002021-02-26 14:00:00 UTC2021-02-26 15:00:00 UTC000
Feb 26, 15:002021-02-26 15:00:00 UTC2021-02-26 16:00:00 UTC000
Feb 26, 16:002021-02-26 16:00:00 UTC2021-02-26 17:00:00 UTC101

What Hacker News says

2 sources
Ok well this doesn’t work on Mac, so much for not needing to cross-compile on every architecture. It’s because of the OSX Gatekeeper but if majority of people need to self-sign or otherwise compile this binary I’m not sure if it is that portable be it if it’s only a Mac thing. This dumps the zip content directly on the wire skipping an extra kernel write. There have been attempts before to run the same binary on multiple architectures by inserting magic headers without having to recompile. There are shell/batch versions of the same thing [0]. The issue is such projects usually never get much traction since every programmer is wedded to their choice of OS and typically relies on APIs specific to each system. There are also “fat binaries” which accomplish the same thing if one truly wanted a cross platform single executable. There isn’t a h
Read the rest
uge need for them currently and not just because they’re “fat” (something this approach seems to tackle primarily) so I expect for the same reasons there won’t be many needs for this approach either. I see a lot of people making the comparison between this and the OG Linux tools. I absolutely don’t think this qualifies as one, most old Linux tools are irreplaceable or at least were when they first came out and there were no alternatives. Serving a bundled zip file on a web server across many different platforms is not something people are dying to do. You can run a web server like nginx or Apache to index your files or if you really hate those why not a single line command which is supported on almost any platform: python -m http.server 8080 [0] https://github.com/llamasoft/polyshell
In Show HN: Redbean – Single-file distributable web server
This is something like a "fat binary" with some magic in the header that allows it to run out of the box on Windows and several different UNIXes, a bit like those sneaky shell scripts that run on several platforms[0]. It still needs to include some native code for each of the platforms inside the compiled binary, so it's perhaps better to see it as a slick packaging/distribution solution for C programmers than a total game changer for developers everywhere. The more interesting thing I think is the mapping of C library functionality between Linux, BSD and Windows. There have been other attempts to do this, but they never seem to get much traction. I think it's because C programmers tend to get wedded to their OS of choice and then invest time in improving that platform's C libraries. The problem with trying to remain portable with everyth
Read the rest
ing is that you tend to be stuck working with the lowest common denominator functionality, which can be frustrating when doing OS-specific stuff would open up so many more options. All that said, the cleverness of this project is inspirational in a way that might encourage other programmers to also focus more on building against simple functionality that is truly portable. It shows that you don't need all the bells and whistles to build cool stuff. That feels aligned with early UNIX philosophy and (more broadly) the hacker ethic, which is why it's neat to see, even if never gets adopted as a mainstream thing. [0] https://github.com/llamasoft/polyshell
In Show HN: Redbean – Single-file distributable web server

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.