5 ms·
Share live code snippets in your browser
- denzil_correa 14y agoOops! Google Chrome could not find codeshare.io Am I missing something?
- phawk 14y agoyou might be missing some DNS
- unwind 14y agoThe editor on that page doesn't know that selecting something (like the loooong help text that's there from the start) and hitting the DELETE key on my keyboard should delete the selection. That's when I hit my back button. Aargh, all these re-implemented text editors on the web. :/
- hyperenergy 14y agoIt seemed to work for me on Windows Chrome 26
- fonziguy 14y agoLooks like a bug on first select. Should be easy fix.
- fonziguy 14y agoShould work better now
- inevitable 14y agoThis is really cool. Thank you, I will use it. Is the code somehow stored on the server? As unwind said you can't share your selection, some kind of a pointer to "show" things might be a good feature.
- martin_ 14y agoI 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.
- cad 14y agoyou can set an arbitrary url like codeshare.io/hackernews instead of the auto-generated value. its like etherpad + socket.im. nice.
- techietrash 14y agoAlmost perfect! The only thing missing (for me) is the ability to edit in one part of the document at the same time as someone else edits a different part of the document, (similar to how firepad.io works). With that addition it would be just wonderful! Any chance you'll be adding this source code to GitHub?
- fonziguy 14y agoI will definitely. Needs some clean up first.
- techietrash 14y agoCheers, looking forward to it. Stellar job so far, simple but polished.
- techietrash 14y agoAnother addition that would be nice to have and informative: a small badge or counter with the number of people currently editing the document? Not sure if that's easily done or more trouble than it's worth!
- fonziguy 14y agoI like it, good thinking
- sadkingbilly 14y agoInteresting. We're finally back to the 1990's BBS days, with real-time sysop chat. I never understood why AIM and other chat messengers removed real-time typing when we always had that with the BBSes. I suppose it was due to latency or flow (you type a sentence hit enter, I type a sentence hit enter), but in 2013, you would think most chat systems would allow character by character typing by now. You can tell a lot from a person by how they type: slow typing, frequent misspellings, interrupting the other user, etc, and can convey more information. http://codeshare.io/hackernews http://codeshare.io/hackernews
- spullara 14y agoThey removed it because people don't like it. Every chat system out there has had it at one point or another. As it turns out, people don't like their mistakes broadcast to the person they are chatting with.
- anirudhrata 14y agoCan 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.
- fonziguy 14y agoYou should see a code editor, that looks like Sublime, that you can write or paste code into. What browser are you using?
- anirudhrata 14y agoIt 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.
- fonziguy 14y agoOh I see. Firebase is the magic behind that https://www.firebase.com/ https://www.firebase.com/
- donpdonp 14y agoDoes this shared editor have advantages over etherpad?
- fonziguy 14y agoHmm probably not feature wise. This was hacked together on the train. One advantage though is sharing code quickly (no download or reg) in any browser.
- callahad 14y agoAs 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.
- afshinmeh 14y agoGood job! I like it, real-time code editing.
- LLVM_clang 14y agoGreat tool. but sadly Korean not available. when add a comment with Korean, all codes suddenly disappear. Are you have a scheme that support to unicode?
- n8ji 14y agoAdd support for multiple cursors (like http://socrates.io http://socrates.io), then you've really got something.