News for hackers. Stuff that matters.
Re:Show HN: Seashells – Pipe output from CLI apps to the web... by almostarockstar on Monday July 10, 2017 @06:21PM (#14740194)
This is a great idea. My two cents:

1. An accounts system would be great so that I could just run ``python experiment.py | seashells u=almostarockstar p=hunter2`` or similar with keys, and then have a bookmark on my phone to view seashells.io/u/almostarockstar.

2. A self hosted / open source option would be awesome.

3. A way to view other peoples public seashells urls would make this interesting.

4. Possible options to allow html output which could be paired with a css file attached to your account.

Can't wait to set this up with my own experiments (evolutionary computation).

Re:Show HN: Seashells – Pipe output from CLI apps to the web... by metilda on Monday July 10, 2017 @08:23PM (#14740717)
Maybe use Flask and do cert based auth? A username and password is pretty clunky, and a bit of a pain IMO for sub-10 user projects.
Re:Show HN: Seashells – Pipe output from CLI apps to the web... by anishathalye on Monday July 10, 2017 @11:31PM (#14741384)
An accounts system is coming in the next version. The public seashells URLs / HTML/CSS output ideas sounds neat, I'll add them to the potential features list!

I'm not sure if the code is going to be open-sourced, but I'm adding TLS and also client-side encryption in the next version.

Re:Show HN: Seashells – Pipe output from CLI apps to the web... by philo23 on Tuesday July 11, 2017 @07:20AM (#14743177)
The HTML idea is neat, but something to bear in mind unless you host this content on a separate domain/subdomain (think githubusercontent.com vs github.com) any Javascript embedded in that HTML will be able to read/write cookies, make XMLHttpRequests, etc against the seashells.io domain. Which could in turn cause some fairly serious security issues with any accounts system you plan on adding.

But seeing as view urls are quite shortlived by the sound of it, you shouldn't have too much of a problem moving their location from seashells.io/v/{url} to something like v.seashells.io/{url} if you do end up introducing some kind of HTML mode.

Re:Show HN: Seashells – Pipe output from CLI apps to the web... by ConfucianNardin on Tuesday July 11, 2017 @11:09AM (#14744789)
You should never provide passwords on the command line, since command lines can be shown/stored in any number of places (examples: shell history, process listings).
Re:Show HN: Seashells – Pipe output from CLI apps to the web... by ec109685 on Monday July 10, 2017 @10:51PM (#14741261)
A slack style webhook token would be secure and clean looking.