An open API service indexing awesome lists of open source software.

https://github.com/janstuemmel/nots

A javascript sandbox editor in the browser via qickjs and wasm
https://github.com/janstuemmel/nots

javascript monaco-editor quickjs quickjs-runtime sandbox typescript

Last synced: 5 days ago
JSON representation

A javascript sandbox editor in the browser via qickjs and wasm

Awesome Lists containing this project

README

          

# nots

A application that takes typescript, executes it in a safe sandbox via quickjs and outputs markdown, tables, line and bar charts.

Visit at [janstuemmel.de/nots](https://janstuemmel.de/nots/)

## Features

* Write code in monaco-editor
* Executes your code in a quickjs sandbox
* Configure memory and execution timeout
* Log primitives and objects via `vm.log`
* Render markdown via `vm.md`
* Display bar charts via `vm.bar`
* Display line charts via `vm.line`
* Display tables via `vm.table`
* Share gists via url fragment

## Disclaimer

This project was created within a weekend, thus it's very hacky
and does not include tests. Use at your own risk!

## Screenshots


## Built with

* [QickJS](https://bellard.org/quickjs/)
* [quickjs-emscripten](https://github.com/justjake/quickjs-emscripten)
* [monaco-editor](https://microsoft.github.io/monaco-editor/)
* [svelte](https://svelte.dev/)
* [vite](https://vitejs.dev/)
* [chart.js](https://www.chartjs.org/)
* [AG-Grid](https://www.ag-grid.com/)

## License

MIT