News for hackers. Stuff that matters.
Re:Show HN: Stash, an evernote for command line by shitlord on Friday May 02, 2014 @11:49PM (#7689485)
Cool as fuck! Will definitely use.

Some issues I noticed:

* When you are signing up and type your email address into the box, it gives you an error if you press enter (but it works if you click the button)

* Typo here: http://i.imgur.com/w6rxsqx.png

* Doesn't seem to work on Windows 8. The package installs fine (via pip) but breaks when I try to use it... http://i.imgur.com/Llokwl9.png

CBF sending this as an email

Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @10:04AM (#7690786)
Thank you! Fixed the singnup box. Haven't tried it on Windows yet (think we'll have to fix some directory code).
Re:Show HN: Stash, an evernote for command line by techsupporter on Friday May 02, 2014 @08:42PM (#7689035)
Is there something that I can run locally for the data storage yet still hit from multiple computers? I've considered writing a CLI interface to the Etherpad API for just this reason. A lot of what I do depends on code/script snips but I can't store my employer's stuff in someone else's system.
Re:Show HN: Stash, an evernote for command line by nyddle on Friday May 02, 2014 @08:57PM (#7689075)
You mean like an internally hosted version of trystash.com?
Re:Show HN: Stash, an evernote for command line by techsupporter on Saturday May 03, 2014 @04:05AM (#7690030)
Yep, that's exactly what I'd like.
Re:Show HN: Stash, an evernote for command line by s_kilk on Saturday May 03, 2014 @11:46AM (#7691179)
Funnily enough, I've been working on a little open-souce evernote clone side project for the last while, and was just contemplating making a cli client for it the other day.

https://github.com/ShaneKilkelly/radsticks

I may have to bump that up the priority list a bit, once I've done some work to make the project more ready for self deployment.

Re:Show HN: Stash, an evernote for command line by eudoxus on Friday May 02, 2014 @09:16PM (#7689118)
I for one would very much appreciate a self hosted version.
Re:Show HN: Stash, an evernote for command line by nyddle on Friday May 02, 2014 @09:24PM (#7689137)
Please, drop me a line so I can ping you when we'll come up with one.
Re:Show HN: Stash, an evernote for command line by jck on Friday May 02, 2014 @11:17PM (#7689411)
Check out taskwarrior.
Re:Show HN: Stash, an evernote for command line by mushishi on Saturday May 03, 2014 @01:44AM (#7689776)
Slightly related: an old Scala command line todo app of mine: https://code.google.com/p/whendone/wiki/ExampleSession
Re:Show HN: Stash, an evernote for command line by prezjordan on Saturday May 03, 2014 @12:42AM (#7689615)
See also: Boom (Open-source). The project page is pretty aggressive, but it's a nice little tool.

http://zachholman.com/boom/

Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @08:29AM (#7690518)
Stash is actually a "boom in the cloud".
Re:Show HN: Stash, an evernote for command line by aaronem on Saturday May 03, 2014 @09:57AM (#7690755)
So they should've named it Thunder?
Re:Show HN: Stash, an evernote for command line by source99 on Friday May 02, 2014 @07:49PM (#7688860)
This seems pretty cool. Not sure if I will remember to use it but might work better than a txt file I keep handy. Though for my most common annoyingly long commands I normally create an alias.
Re:Show HN: Stash, an evernote for command line by Spittie on Friday May 02, 2014 @08:11PM (#7688946)
Indeed. I usually rely on ZSH + the zsh-history-substring-plugin, on Bash + ^r or my .bashrc/.zshrc, but this looks like a better solution.

The synching sound sweet, but I wonder if the data get encrypted. It's opensource so I can just look myself, but I think it's something that should be clear on the homepage.

Re:Show HN: Stash, an evernote for command line by nyddle on Friday May 02, 2014 @08:13PM (#7688955)
Right now it is not. We'll add encryption as soon as possible.
Re:Show HN: Stash, an evernote for command line by michaelmior on Friday May 02, 2014 @10:24PM (#7689263)
Seems like you could emulate this easily with Dropbox and a couple shell aliases.
Re:Show HN: Stash, an evernote for command line by CyberShadow on Friday May 02, 2014 @08:58PM (#7689076)
Can I run my own server? Is the server part open-source too, or just the client?
Re:Show HN: Stash, an evernote for command line by nyddle on Friday May 02, 2014 @09:00PM (#7689082)
Not yet, just the client.
Re:Show HN: Stash, an evernote for command line by CyberShadow on Friday May 02, 2014 @09:08PM (#7689100)
Thanks, but no thanks.

I would suggest adding a privacy policy to your website.

Re:Show HN: Stash, an evernote for command line by cshimmin on Friday May 02, 2014 @09:08PM (#7689099)
The server is called "redis"
Re:Show HN: Stash, an evernote for command line by eudoxus on Saturday May 03, 2014 @12:28AM (#7689569)
Is there a reason the server isnt open source? Do you have some business model in mind, or just havent got around to it.
Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @08:23AM (#7690500)
Just haven't thought about it yet. But seems like people want a self-hosted version so I think we'll come up with one after polishing the current version.
Re:Show HN: Stash, an evernote for command line by Jonovono on Friday May 02, 2014 @08:44PM (#7689045)
I just replaced Evernote with Justnotes. It's like nValt but I think with more features (tags, etc). Mapped to a nice keyboard shortcut and it's really fast to access old notes / make new ones. :)
Re:Show HN: Stash, an evernote for command line by emdowling on Friday May 02, 2014 @11:11PM (#7689396)
Would love something like this for 1Password. Being able to quickly grab credentials from command line would be great when logging in to boxes not set up for key-based login.
Re:Show HN: Stash, an evernote for command line by jareds on Saturday May 03, 2014 @10:10AM (#7690817)
Have you considered using kpcli and Keepass files to store server info for machines not set up with key based login? I use it on OSX with my keepass database and it works pretty well. See http://kpcli.sourceforge.net/
Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @10:44AM (#7690969)
Thank you, will check this out.
Re:Show HN: Stash, an evernote for command line by blutoot on Saturday May 03, 2014 @10:07AM (#7690807)
After I turn off local mode, why does it still say "local" when adding a new key-value pair?

"Item has been updated (local)"

Re:Show HN: Stash, an evernote for command line by lesingerouge on Saturday May 03, 2014 @08:17AM (#7690481)
Looks really cool and will definitely try it. Was also thinking about forking it and making it save the key value pairs on a file in my dropbox.
Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @08:27AM (#7690511)
Great idea! I think we can somehow add a "remote dropbox" (or whatever) option to the client.
Re:Show HN: Stash, an evernote for command line by aaronem on Saturday May 03, 2014 @09:57AM (#7690752)
A reasonable first cut might be making the local storage target configurable (if it isn't already), so that the user could point it to a file synced by Dropbox. It doesn't look like there's any daemon involved, so changes made from one box would be visible on the others as soon as Dropbox finished syncing them.
Re:Show HN: Stash, an evernote for command line by lesingerouge on Saturday May 03, 2014 @10:42AM (#7690960)
Perfect idea, simple and elegant. Though I wonder if there would not be lock conflicts between the file-syncing dropbox does and the file-reading that stash would need.
Re:Show HN: Stash, an evernote for command line by aaronem on Saturday May 03, 2014 @11:33AM (#7691127)
Depends on who's locking what, I suppose; I'm not sure about Stash, but I haven't seen the Dropbox client holding write locks.
Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @02:11PM (#7691774)
I think everything should work fine and this kind of locks is very uncommon.
Re:Show HN: Stash, an evernote for command line by Ixiaus on Saturday May 03, 2014 @08:24AM (#7690502)
Or you could use org-mode + capture + org-protocol.
Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @08:33AM (#7690528)
That's for real programmers! http://xkcd.com/378/
Re:Show HN: Stash, an evernote for command line by err4nt on Friday May 02, 2014 @08:59PM (#7689081)
Brilliant! Are there any other tools from the command line that I can use from my web server to make my life easier like this?
Re:Show HN: Stash, an evernote for command line by krat0sprakhar on Saturday May 03, 2014 @02:48AM (#7689903)
Cool tool! How do I save a code snippet if its in a file using stash? An example please?
Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @07:18AM (#7690349)
cat file | stash set snippet_name
Re:Show HN: Stash, an evernote for command line by jljljl on Saturday May 03, 2014 @11:53PM (#7693233)
Is there any way to do the reverse? e.g., pipe or cat the output from stash into a file?

Cool tool by the way, I've been browsing the source and playing around with it.

Re:Show HN: Stash, an evernote for command line by endgame on Saturday May 03, 2014 @08:20AM (#7690490)
stash set snippet_name < file
Re:Show HN: Stash, an evernote for command line by dmd on Friday May 02, 2014 @11:56PM (#7689500)
I get "Method Not Allowed

The method is not allowed for the requested URL."

Re:Show HN: Stash, an evernote for command line by nyddle on Saturday May 03, 2014 @10:47AM (#7690982)
Fixed.
Re:Show HN: Stash, an evernote for command line by bulldog4 on Friday May 02, 2014 @07:51PM (#7688863)
Looks nice to keep things like urls and some todo lists closer! Will check it!
Re:Show HN: Stash, an evernote for command line by pm on Friday May 02, 2014 @08:08PM (#7688937)
s/coud/cloud, presumably.
Re:Show HN: Stash, an evernote for command line by nyddle on Friday May 02, 2014 @08:35PM (#7689015)
Sure, fixed.