jashkenas/coffeescript

[not an issue] An embeddable playground for CoffeeScript

hatemhosny opened this issue · 1 comments

Please excuse the issue. I did not find the discussions section enabled in this repo.

Please allow me to introduce LiveCodes, a feature-rich, open-source, client-side, code playground that supports 80+ languages and frameworks. The announcement post gives a general overview.

CoffeeScript has a first-class support in LiveCodes.

CoffeeScript starter template is available for a quick start:
https://livecodes.io/?template=coffeescript
(see all starter templates).

CoffeeScript starter template in LiveCodes

You can start an empty CoffeeScript project using this link: https://livecodes.io/?coffeescript

Projects can be shared, exported and deployed (to GitHub Pages).

Playgrounds can be embedded in any webpage, using a powerful, yet easy-to-use, SDK.

This is an example for an embedded CoffeeScript playground:

<div id="container"></div>

<script type="module">
  import { createPlayground } from "https://unpkg.com/livecodes";

  createPlayground("#container", {
    config: {
      activeEditor: "script",
      markup: { 
        language: "html",
        content: "<h1></h1>",
      },
      script: {
        language: "coffeescript",
        content: "(document.querySelector 'h1').innerText = 'CoffeeScript'",
      },
    },
  });
</script>

Preview

Screenshot:
embedded CoffeeScript playground

Please refer to the SDK documentations for details.

Comprehensive documentations are available with live demos, code samples and screenshots.

LiveCodes is free with unlimited usage, no ads and no account required. It can be easily self-hosted (if you want), and can be used for commercial projects (MIT license).

Disclosure: obviously, I'm the author of LiveCodes.

I thought you would be interested. Otherwise, please feel free to close this.
Thank you.

Thanks so much! You can add it to this list: https://github.com/jashkenas/coffeescript/wiki/In-The-Wild.

Closing as this isn’t an issue that requires action.