Settings

Theme

Show HN: Code pastes in local storage, shared via Web Sockets

12 points by zeeone 12 years ago · 5 comments · 1 min read


I thought it would be great to share code snippets without saving them on a server, so I created http://mem.pe

It allows you to paste code and save it in your browser's local storage. When you share the URL of the pasted code, other people will connect to it via web sockets. For example, this http://mem.pe/#sge/5 you will be pulling from my browser. I'll keep it open for a while.

If you close the web app, your code paste will not be available for anyone to see, until you open the web app again.

This is obviously, not suitable for using at forums and other places where the paste will have to be available for a long time. However, it is great for IRC and chats where you want to send a quick disposable link to a code snippet.

Available on Github at https://github.com/naturalist/mempe

Any comments would be greatly appreciated.

pearjuice 12 years ago

Very interesting. Quick tip: change this submission to one without text linking to the website and update your frontpage with some headline quickly indicating what your service does. This could become big.

  • zeeoneOP 12 years ago

    It doesn't seem that I can change the post to include a URL and no text, but I followed your advice and added a one line description of the service on the home page.

sovenger 12 years ago

Last night in class, I needed to share some code with a classmate. Instead of using e-mail, we used this. It worked perfectly. Nice job.

codewriter 12 years ago

This looks great. My team of distributed developers could really benefit from something like this.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection