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
- Host: GitHub
- URL: https://github.com/janstuemmel/nots
- Owner: janstuemmel
- License: mit
- Created: 2023-10-27T16:39:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-18T07:53:21.000Z (10 months ago)
- Last Synced: 2025-06-18T08:39:26.920Z (10 months ago)
- Topics: javascript, monaco-editor, quickjs, quickjs-runtime, sandbox, typescript
- Language: Svelte
- Homepage: https://janstuemmel.de/nots
- Size: 43.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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