Thanks for the code example. I've tracked down where Firefox puts this, and I've realised that the original piece of work will carry on working when saved locally. Quite interesting...
Someone please make me understand why this end up on first page on HN. I saw similar apps many times earlier here. What's the big deal? Why not regular editor in some 'guru' distraction free mode?
For instance Sublime Text can do that (including autosave and quick startup).
I personally found this interesting because the app looks fun, it makes sounds, and it demonstrates some aspects of modern JavaScript that I have got out of date on. I could put the app up on a projector in class and students would find it amusing.
Yes, I shall continue to use Gedit for writing Web page text, which I can then run through markdown.
Really like it. Love the detail of saving in localstorage.
Thinks that, from my point of view, can create an even better experience.
* 1.5 space between paragraphs.
* Backspace sound.
* New line sound.
* Space sound.
* 80 character wide.
* Slightly different sound per key (or row of keys).
* Easy to remember domain.
Then things that I am not so sure, but as long as don't change the interface, could be cool.
* Ctrl-C copy all the text without the need of selecting text. (Probably require flash).
* Ctrl-Shift-C the same but copy the result of markdown the current text (so html is actually copied).
* Selecting text automatically copy the selection to the clipboard.
Things that I will like to play with but don't sure if they are usefull.
* Page simulation. 80 char + margin in white, with proper paper texture, and back background.
* Go for fullscreen on load (if possible), and fallback to show a small, only onmousemove fullscreen icon.
On any case. Really. I really like it. Love to be able to have a webdav (basic auth) interface and could install on my own server. So i can add files just by changing the url, and access that files later through ssh.
The sound is lagging behind my typing by at least a second. As a result, I hear nothing and then bursts of several instances of the sound playing at once, which sounds awful. As others have pointed out, the lag might be because you're invoking local storage after every keyup event. I see the merit in that idea, but as AskHugo suggested, it runs a lot smoother if you save every 2 seconds. I don't think anyone would complain about losing a maximum of the past 2 seconds of their work.
Sound effects are always going to be a polarizing feature (some like it, some hate it), and the comments on this post prove that. You should provide an easy way to turn sound effects off.
That aside, great job with this. I am a big fan of beauty through simplicity.
Gnome Ubuntu Remix with Firefox, and no sound anyway. Same with Opera. Epiphany browser (the 'official' Gnome web browser) does play the sound. This is probably a Linux thing, not your app.
Where are you going with this? Just plain and simple for actual 'stream of consciousness' writing or the full skeuomorphic invocation of the manual typewriter, like
If the original author is going down that road, how about 'hiding' the counts and then a mouse hover brings them up? Minimal working area but accoutrements a mouse gesture away.
54 comments
[ 3.0 ms ] story [ 134 ms ] threadSome end of line bell sounds here.
I liked the application - totally minimal! I'm out of date on Javascript, local storage data I assume ends up in the browser cache?
localStorage.setItem("theKeyToSaveItAs", "theValue");
OP is saving via localStorage every 2 seconds:
setInterval(function() {
}, 2000);sound on keypress, really?
save on keypress, really?
I would like to be able to Write different notes tho. Apart from that, pretty neat concept.
And the design is beautiful.
1. No sound. It's distracting. 2. Support of markdown?
Enjoyed the keypress noise.
Expected word wrap and "ka-ching" sound.
Love the minimal interface.
Markdown support would be really cool.
A real carriage return
https://dl.dropbox.com/u/8403291/ring.mp3
The little bell is harder because you tend to type a couple of characters during its decay
Freesound has plenty of typewriter samples.
Would be cool to be able to store things in a more secure feeling way than local storage.
Also, the already made comments about ka-ching and word wrap.
https://chrome.google.com/webstore/detail/mutetab/nmkbaaijgp...
Yes, I shall continue to use Gedit for writing Web page text, which I can then run through markdown.
I like to think that most "Show HN" posts make it to the front page, but I realise that's probably not true.
"I made this" is always welcome here.
Could it be because it's saving to local storage after every keyup?
I made it save every 2 seconds with setInterval() and it feels a little smoother.
Thinks that, from my point of view, can create an even better experience.
* 1.5 space between paragraphs.
* Backspace sound.
* New line sound.
* Space sound.
* 80 character wide.
* Slightly different sound per key (or row of keys).
* Easy to remember domain.
Then things that I am not so sure, but as long as don't change the interface, could be cool.
* Ctrl-C copy all the text without the need of selecting text. (Probably require flash).
* Ctrl-Shift-C the same but copy the result of markdown the current text (so html is actually copied).
* Selecting text automatically copy the selection to the clipboard.
Things that I will like to play with but don't sure if they are usefull.
* Page simulation. 80 char + margin in white, with proper paper texture, and back background.
* Go for fullscreen on load (if possible), and fallback to show a small, only onmousemove fullscreen icon.
On any case. Really. I really like it. Love to be able to have a webdav (basic auth) interface and could install on my own server. So i can add files just by changing the url, and access that files later through ssh.
Sound effects are always going to be a polarizing feature (some like it, some hate it), and the comments on this post prove that. You should provide an easy way to turn sound effects off.
That aside, great job with this. I am a big fan of beauty through simplicity.
Where are you going with this? Just plain and simple for actual 'stream of consciousness' writing or the full skeuomorphic invocation of the manual typewriter, like
http://www.masswerk.at/google60/
did for the card punch? Either is fine by me!
I would love to write emails in such editor!
Absolutely love it.
Reading the comments I see I missed some things but that's a pretty clear failure of UI design.
So I went back. Still can't see any features other than display what I type.
So I try again, this time on Chrome. Now I hear very annoying audio as I type, and no hint of any other features.
How the hell does this POC make it to the front page of Hacker News?