/web-ide

Erg Web IDE

Primary LanguageTypeScriptApache License 2.0Apache-2.0

web-ide

Erg Web IDE

Try now

screenshot

features

  • editor
  • pseudo file system
  • executing code
  • error highlighting
  • auto completion

building

You need to install the Rust toolchain and wasm-pack.

cargo install wasm-pack
# or
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# on Unix
npm run full-build && npm run start
# on Windows
npm run full-build-win && npm run start

If you find an error like:

Module not found: Error: Can't resolve './snippets/rustpython_wasm-1a681ef34bfe87cf/inline1.js' in '...\web-ide\node_modules\erg-playground'

move snippets folder from pkg to node_modules/erg-playground (run npm run copy).