Skip to content
☕ CoffeeScript Playground
CoffeeScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
JOURNAL.txt Update JOURNAL.txt Jan 14, 2020
LICENSE Add README.md and LICENSE Jan 14, 2020
README.md Update README.md Jan 14, 2020
index.html Add CoffeeScript syntax highlighting Jan 14, 2020
main.coffee
package-lock.json First round of implementation Jan 13, 2020
package.json Forgot to add boilerplate code in keyboard execute mode Jan 13, 2020
screenshot.png Add README.md and LICENSE Jan 14, 2020
style.scss Remove boilerplate code. Do not modify HTML content outside of React. Jan 14, 2020
yarn.lock First round of implementation Jan 13, 2020

README.md

Coffee Now

Coffee Now is a CoffeeScript playground that execute code directly in your browser, it's not sending the code to any other server to do so.

The UI is minimal, so you can use it anywhere and anytime, especially on mobile device.

Let me repeat, all of the code is executed right on your browser, please proceed with care!!! I don't write this app with your best interest in mind.

Usage

  • Use your keyboard, type in the code
  • Press Cmd + Enter or Ctrl + Enter if you're on a desktop
  • If you're on mobile, hit the Execute button
  • That's it.

You can share your code by click on the Share button, then copy the page URL and send it to anyone.

Try it online

You can try it at https://coffee-cup.now.sh

Host it yourself

You can deploy Coffee Now as a static HTML page anywhere you want, for example, I'm using ZEIT Now.

$ yarn install
$ yarn dist
$ cd dist
$ now

Why am I building this?

During my parental leave, I found myself solving programming challenges for fun on my phone on and off, because you can't just sit at a laptop when there's a baby just waiting to cry every random hour for every random reason.

Most of the coding playground I can find online are just sucks, they either break the editing experience on the mobile or behave badly on small screen devices. Also, they send the code to a remote server to execute it before showing you the result, which is a waste. I'm using CoffeeScript and it should be compiled to JavaScript to run in the browser at my finger tip.

Oh, now you ask, why the "dead language"? I like doing more with less, and the beautiful syntax of CoffeeScript help me write less, especially writing code on mobile. That's why.

See JOURNAL.txt for more details.

You can’t perform that action at this time.