Live data from Hacker News

Share live code snippets in your browser

codeshare.io

21–27 of 27 posts

Re: Share live code snippets in your browser

#21

Can anyone explain how this works?I opened the URL in two different browsers and it works fine but I don't see any data in Fiddler.

You should see a code editor, that looks like Sublime, that you can write or paste code into. What browser are you using?

It is working fine for me. I wanted to know how the application works. I mean there should be HTTP requests going to the server, but I don't find any. The same is the case with the other browser where I am viewing the code.

Re: Share live code snippets in your browser

#22

Earlier quoted context omitted.

You should see a code editor, that looks like Sublime, that you can write or paste code into. What browser are you using?

It is working fine for me. I wanted to know how the application works. I mean there should be HTTP requests going to the server, but I don't find any. The same is the case with the other browser where I am viewing the code.

Oh I see. Firebase is the magic behind that https://www.firebase.com/

Re: Share live code snippets in your browser

#24

Does this shared editor have advantages over etherpad?

As a heavy etherpad user, absolutely.

Etherpad is optimized for text, while Ace (the editing widget CodeShare.io uses) is built for code. It has syntax highlighting, folding, automatic indentation, etc.

It looks like Etherpad Lite may be using Ace, but I don't immediately see a way to turn on the nice programmer-y features.

Re: Share live code snippets in your browser

#25
post #8

I think this is more of a firebase demo than a useful tool. That said, if JSFiddle had real-time support then that could be very cool.

you can set an arbitrary url like codeshare.io/hackernews instead of the auto-generated value. its like etherpad + socket.im. nice.
Post reply on HN