3 ms·
This is not related to the typescript aspect which, I realize, is the point of this contribution. I really like these code playgrounds but my main issue almost
by startupdiscuss 10y ago
This is not related to the typescript aspect which, I realize, is the point of this contribution.
I really like these code playgrounds but my main issue almost always comes down to flexibility regarding which code I can keep private, which I can make public, and so on.
Just something to keep in mind as you decide to take this ahead.
Now to play with some typescript.
- vdm 10y agohttps://github.com/calebegg/codewich#features https://github.com/calebegg/codewich#features: >>> Code snippets you write are automatically saved in a compressed form in the URL. This has a few benefits: - Your code never leaves your machine unless you decide to share your URL. Since the snippet is stored in the URL fragment (the part after the #), the CodeWich web server doesn't even log your code snippets. - You don't have to rely on CodeWich's availability. You can download your own copy and run it locally, or host it somewhere you control, and you'll always be able to decode your CodeWich URLs to get the original code.
- startupdiscuss 10y agoOh wow, so is that why someone can paste an example and when I click on it, I can see the code? Codewich reproduced it from the URL? p.s.: the more I think about it, the more I like it but is there any fear that some programs can't be compressed into a url? p.p.s maybe not: http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers http://stackoverflow.com/questions/417142/what-is-the-maximu...
- calebegg 10y agoI agree completely. One of my goals with this was to make it entirely client-side. Your code is never sent to my server. It's stored in the URL after the #. You can share it by sharing the URL, but otherwise it's yours. I've also provided a standalone version on Github which you can download and run locally or install somewhere in your company's intranet for internal use. It has no analytics and no outside communication. https://github.com/calebegg/codewich/releases https://github.com/calebegg/codewich/releases If there are other ways to support this use case, let me know. I'm open to suggestions.
- startupdiscuss 10y agoI saw that solution in the other reply. Really smart and (to me) original.