Giter VIP home page Giter VIP logo

codewich's Introduction

CodeWich

Build Status

CodeWich is a web app you can use to write small, self-contained snippets of TypeScript/JavaScript, CSS, and HTML, and to preview a simple page that combines them. The preview updates live as you type. It's similar to JSFiddle, JSBin, CodePen, and others.

This is not an official Google product.

Features

  • Native support for TypeScript, including error highlighting and autocompletion.
  • Your code automatically runs as you type.
  • 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.

Demos

CodeWich uses

  • Pako for compression
  • Loop Protect from JSBin to prevent accidental infinite for/while loops from breaking your tab.
  • Firebase for static hosting

Development

$ npm install

Running locally

$ npx parcel serve src/index.html

Deploying

$ npx parcel build src/index.html
$ npx firebase deploy -P qa
$ npx firebase deploy -P prod

codewich's People

Contributors

calebegg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

codewich's Issues

https issue on the website?

I saw this project yesterday on reddit, and today I can't enter the site.
As a side note, I wasn't able to run it locally either...

This is what I get:
screenshot from 2017-03-29 09-44-26

.scss Support [Enhancement]

Would be amazing if Codewich supported running Sass via emscripten.

As requested on HN, just filing the issue to track any progress. <3 Thanks for looking into if it was a possibility at all - and if it turns out it isn't, I understand your desire to keep codewich contained in the browser.

Again - great work on it!

Editor only - Autorun Option?

Hi, please add this option, when i'm playing with code without any html or css i don't need output window, i would use only editor, but it wouldn't autorun...so no results in the console.

Thx!

Enhancement request: 'Run' button

While using the online editor I'm running into an issue where it appears the tool is running my code a couple of times quickly, and then no longer allowing me to enter any additional content.

Is it possible to have the editor only run on command, such as via a 'Run' button?

Example where I'm seeing this / that might benefit from a 'Run' button.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.