demoit

demoit demoit

Demoit is the front-end app behind Poet

Demo :rocket:

https://poet.krasimir.now.sh/new


Usage

Configuration

When you open the app and start writing code you progress gets saved to an internal state. You can grab it by opening the bar at the top and clicking on the gear icon (check the “Export” section). The JSON there contains all the configuration that Demoit needs. You can save this configuration to an external file and let Demoit knows the path to it via the state GET parameter (for example http://localhost/demoit?state=./mycode.json).

GET Params

Continuing your work offline

Keyboard shortcuts when the focus is on the editor

Editing filenames and deleting files

Right mouse click on the file’s tab.

Troubleshooting

Error URL scheme must be "http" or "https" for CORS request.

It means that the browser doesn’t load the files that the tool needs because the protocol is file://. That’s a problem in Chrome at the moment. Everything works fine in Firefox. To fix the problem in Chrome you have to run it like so:

open /Applications/Google\ Chrome.app/ --args --disable-web-security

or under Windows:

chrome.exe --disable-web-security

Of course Demoit works just fine if you open index.html via http protocol but to do that you need a server.