Hi HN!<p>I made a service to enable me to easily monitor long-running experiments (e.g. training neural nets). I thought it would be generally useful, so I'm opening it up to the public. I'm curious to hear what you all think!<p>Read a little bit more about the motivation here, if you're interested: <a href="http://www.anishathalye.com/2017/07/10/seashells/" rel="nofollow">http://www.anishathalye.com/2017/07/10/seashells/</a>
Looks similar to the "bpipe" project I was experimenting with three years ago, except it appears seashells is only a one-way pipe ( can't pipe data back from browser into Unix pipe ).<p>The project I made has two two-way bindings from Unix pipes directly to DOM elements and supports DOM events.<p>Like:<p><pre><code> bpipe -s "#myInput" -e "keyup" | less
echo "hello there" | bpipe -s "#myDiv"
</code></pre>
If anyone is looking for inspiration on this sort of thing check out: <a href="https://github.com/Marak/bpipe" rel="nofollow">https://github.com/Marak/bpipe</a>. Includes both client and server.
This is one of those perfect "I had a problem, made a solution, and others think it's neat" posts that make HN impossible to miss. Well done!
I love the idea but I'm very wary of piping shell output directly to a third party. Command line tools are notorious for outputting sensitive data to stdout.<p>Any chance we can get a self hosted version? It would be awesome if I could host it internally!
> <i>While you can use netcat for convenience (because it comes preinstalled on most systems)...</i><p>I love netcat but for those without you can do this from within Bash:<p><pre><code> echo "example" > /dev/tcp/seashells.io/1337</code></pre>
Sweet! Very cool tool and can directly think of a few nice use cases for it.<p>Something to demo the "real-time" aspects is to use it together with IPFS's P2P pubsub functionality.<p><pre><code> ipfs daemon --enable-pubsub-experiment
# Daemon now running with pubsub
ipfs pubsub sub mytopic | nc seashells.io 1337
# And now, everything you publish to "mytopic" appears on the seashell website
ipfs pubsub pub mytopic "Hello World"
# See content on website</code></pre>
Hi, I made a quick video if you want to see how seashells work:<p><a href="https://youtu.be/EAKrLprUcK4" rel="nofollow">https://youtu.be/EAKrLprUcK4</a><p>I think that a cooler name for this is SEEshells ;)
This is pretty neat. I wrote something similar at one point: see wtee [1] and tailon [2]. They're both small, self-hosted tornado + sockjs + vanilla typescript webapps.<p><pre><code> [1]: https://wtee.readthedocs.io/en/latest/
[2]: https://tailon.readthedocs.io/en/latest/</code></pre>
I tried it with SSH chat:<p><pre><code> ssh chat.shazow.net | nc seashells.io 1337
serving at https://seashells.io/v/FYh2Dt7t
</code></pre>
It is really real time! much wow!
I wrote something like this a few years ago, except you could write shell scripts to transform the output to HTML. For example, if you have a CSV file, you could write a plugin to turn it into an HTML table.<p><a href="http://www.oilshell.org/webpipe/doc/webpipe.html" rel="nofollow">http://www.oilshell.org/webpipe/doc/webpipe.html</a><p>(If you click through the image there is a screencast)<p><a href="https://github.com/andychu/webpipe" rel="nofollow">https://github.com/andychu/webpipe</a><p>This was mildly successful, although I didn't feel the UI was that great. It can be a little awkward to have the GUI in a separate window than the CLI.<p>Really I wanted some kind of tiling window manager, but I tried a few and they were surprisingly uncomfortable for a heavy CLI user like myself.<p>I still think there is some way to unify the CLI and GUI that hasn't been invented.
You could do something similar with <a href="https://papertrailapp.com/" rel="nofollow">https://papertrailapp.com/</a> or something else that support plain text forwarding. The advantage is that it would also support encryption, that this one does not seem to support.<p>The advantage that I can see of this service is that it does not require any setup.<p>Disclaimer: I don't work for Papertrail or anything, we just use it on work to store our logs.
Nice job! We all like free services without registration :-)<p>This is similar to <a href="https://github.com/benas/gossed" rel="nofollow">https://github.com/benas/gossed</a> (uni-directional) and <a href="http://websocketd.com/" rel="nofollow">http://websocketd.com/</a> (bi-directional) tools.<p>Both written in golang and open source.
Nice. I wrote something similar to this a while ago, except aimed primarily at mobile users. <a href="https://davewm.github.io/phonsole-client/" rel="nofollow">https://davewm.github.io/phonsole-client/</a>
Nice job, Amish! I made a similar project.<p><a href="https://tailtub.com" rel="nofollow">https://tailtub.com</a><p>What I really want is do is to allow users to leverage PubNub's Blocks system to create serverless awk'like aggregators in JS.
This is great, thank you! It even supports colors (and other escape codes i guess) and makes clickable links from URLs.<p>Gentoo ebuilds if anyone is interested: <a href="https://github.com/helb/gentoo-overlay/tree/master/app-shells/seashells" rel="nofollow">https://github.com/helb/gentoo-overlay/tree/master/app-shell...</a>
I'm a huge fan of these simple projects that are not attempting to create a company, but instead sharing a useful tool.<p>A similar one I put together last year for my own uses: <a href="http://textdash.xyz/" rel="nofollow">http://textdash.xyz/</a>
Slightly different from <a href="https://github.com/mthenw/frontail" rel="nofollow">https://github.com/mthenw/frontail</a> but similar type of thinking. Will be interesting to see how you can evolve security and management.
Looks interesting, but there seems to be a built in conflict where you say it's meant for "long running", but then also reap these after 24 hours.<p>Can you clarify how they are reaped? Is it a straight timer, or only after X hours of no reads + no writes?
Hi guys, I made a video about the cool ways of implementing Seashells.
If you're interested:
<a href="https://www.youtube.com/watch?v=QokyXiltoCk" rel="nofollow">https://www.youtube.com/watch?v=QokyXiltoCk</a>
Bermain semakin seru di game Laga SM558 Penasaran ? silhkan Daftar <a href="http://www.daftarsm558indo.com" rel="nofollow">http://www.daftarsm558indo.com</a> laga Sabung Ayam dan Adu Banteng Terpopuler Saat ini
Watch my raid rebuild: <a href="https://seashells.io/v/e5KtSGPW" rel="nofollow">https://seashells.io/v/e5KtSGPW</a><p>It's like watching paint dry, only more boring.<p>(Neat service though!)
I know that Buildkite does something like to view the progress of our builds, but I have always been curious how one might implement it nicely.<p>I like this approach with a simple pipe.