TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pigshell: Shell for the web

56 pointsby fbruschover 9 years ago

10 comments

devnonymousover 9 years ago
Older thread - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8438515" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8438515</a><p>One interesting feature is the ability to ^mount^ a local directory into the shell, so that one can do something like:<p><pre><code> $ cp -r &#x2F;gdrive&#x2F;username@gmail.com&#x2F; &#x2F;home&#x2F;</code></pre>
评论 #10444237 未加载
fiatjafover 9 years ago
The problem is that it is very difficult to understand the documentation, it is very difficult to develop plugins (like Google Drive) and extend the functionalities, it is very difficult to run the local server in a VPS, customization (dotfiles) is also complicated and undocumented.
评论 #10446192 未加载
andyidsingaover 9 years ago
The example of grabbing a page and feeding it into d3 is whizbang! ( <a href="https:&#x2F;&#x2F;github.com&#x2F;pigshell&#x2F;pigshell#hello-world" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pigshell&#x2F;pigshell#hello-world</a> )<p>I tried to cat this hn page, but also got the CORS error -- trying to route through [h]ttp:&#x2F;&#x2F;localhost:50937&#x2F;...<p>need to run psty for proxying certain things and local access ...so its not &quot;pure client-side Javascript app running in the browser&quot;<p>pretty cool nonetheless -- maybe psty could be baked into a chrome or FF extention (?)
评论 #10446176 未加载
mrdrozdovover 9 years ago
Would like every url to be a directory, and for that site to have its data nested within that url.
评论 #10444212 未加载
P4bTXfOZAZicOOwover 9 years ago
Could we do the same thing with FUSE filesystems?
评论 #10444252 未加载
aembletonover 9 years ago
Just tried to grep BBC News site but got a `cross-origin request denied` error. In the man page for hgrep, it suggests hgrep on a wikipedia page, and I got the same error.<p>The error in full: Cross-origin request denied (check if psty is running): <a href="http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_countries_and_dependencies_by_population" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_countries_and_dependenc...</a><p>I don&#x27;t know how to check if psty is running. Anyone got any ideas?
评论 #10446153 未加载
techdragonover 9 years ago
Honestly one of the most interesting &quot;web shells&quot; I&#x27;ve looked at. But not something I can use regularly since most of my workflow is local for developing software.
Yahivinover 9 years ago
I wish it would at least try to do a real CORS request before giving up and forcing you to use the proxy. I have a CloudFront distribution with CORS all set up but it doesn&#x27;t even try to make the request.
评论 #10446131 未加载
astazangastaover 9 years ago
I don&#x27;t understand why this runs in the browser. Surely this is all stuff you can do in a local shell? What am I missing?
eccstartupover 9 years ago
It seems that buying a domain name is so expensive. Why pig?
评论 #10444364 未加载