Pigshell: Unix the Web
Posted by pbohun 9 hours ago
Comments
Comment by alt227 6 hours ago
EDIT: Looking at it, chrome seems to hide all security info about sites now and only display a generic 'Not Secure' badge for anything. This is a very awkward change and removes lots of convenience when troubleshooting random sites.
Still, the site needs to fix its SSL certificate.
Comment by pred_ 4 hours ago
$ curl -v https://pigshell.com 2>&1 | grep Location
< Location: http://pigshell.comComment by alt227 3 hours ago
Comment by thaumaturgy 6 hours ago
Firefox is nice.
Comment by alt227 6 hours ago
I am shocked at how glitchy chrome is in comparison, with the likes of crashed dev tools panels and tabs that just dont come back properly after being idled being a regular thing.
I will be returning to Firefox before long I am sure of it.
Comment by Wowfunhappy 6 hours ago
Comment by Brian_K_White 5 hours ago
When I searched "firefox bypass hsts" I got a years-long thread where a mozilla dev said how to do it.
Just finding and merely reading that post was more work than install foobrowser, search how to use it's bypass method, use once, uninstall.
Since it's possible, seems ripe for a plugin? Is that something plugins can touch? IDK, as before the nuclear option is actually more convenient. Meanwhile the browsers with nerfed plugins actually empower the user more at least on this point.
Proves that monoculture is bad even if it's your favorite that wins. If it was FF that was taking over everything instead of chromium, then it would be chromium proving that monoculture is bad.
Comment by Wowfunhappy 5 hours ago
Please share because I was under the impression it was literally impossible and would like to know how to do this.
Comment by Brian_K_White 4 hours ago
https://kagi.com/search?q=firefox%20bypass%20hsts
top result (at least on kagi for me at the moment) -> https://connect.mozilla.org/t5/ideas/allow-firefox-to-bypass...
5th comment still close to the top -> https://connect.mozilla.org/t5/ideas/allow-firefox-to-bypass...
(untested by me)
Comment by thesuitonym 4 hours ago
Comment by somat 6 hours ago
Which is honestly what I thought plan9's webfs https://man.cat-v.org/plan_9/4/webfs did and then you could use the filesystem api to parse it. But alas, I actually read the man page to double check, and it looks like it does the much more sane option and just fetches web resources(http), I am crushed.
But it may be a fun weekend project to see if that mapping could be done and where it fails. So not a complete loss.
Comment by nickdothutton 4 hours ago
Comment by sntran 7 hours ago
There are also a few FIFOs there that works like rclone, using my own `rfetch` library.
Still a WIP though.
Comment by somat 5 hours ago
Making the natural comparison to unix pipes. I would say CMS pipes were better for complex pipe lines, the primitive names actually made sense and no need for that awkward setup stage on unix where named pipes need to live on the filesystem. But for simple pipes the unix syntax... felt better? Looking back on that manual now, simple cms pipes look fine, I don't remember why I felt they were worse than unix pipes.
Anyhow it is an interesting alternate take on what pipes could be.
Comment by jauntywundrkind 7 hours ago
Very much a fan of this, of the 9p life. What times seeing a shell on the web with 9p access!
9p is very shell coded, as we see here, but I also really want to imagine going further. I want to imagine apps and systems that interoperate via small fine grained files. As a scripting environment, I really hope it's easy and fun for programs and now llms to look at and alter state, to work other systems, and 9p feels like it is rallying around a core truth that's there all the time just more of it, more files. Instead of descending beyond the os into deeper datastructures like toml.
A downside is that now you need lots of kernel syscalls to talk to all the files. That alas has not, historically, been performant.
Comment by mbreese 6 hours ago
https://github.com/pigshell/pigshell/commit/9ad32ce83b7191e8... committed on Aug 24, 2015
Still, I'm a fan of the style. Today, it would probably be an LLM interface to resources, but how much fun would a web shell be?
Comment by aturek 2 hours ago
Comment by dapperdrake 7 hours ago