Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfulop/sandbox_render_server
The server component of the sandboxed renderer
https://github.com/bfulop/sandbox_render_server
Last synced: about 16 hours ago
JSON representation
The server component of the sandboxed renderer
- Host: GitHub
- URL: https://github.com/bfulop/sandbox_render_server
- Owner: bfulop
- Created: 2021-07-17T20:20:34.000Z (over 3 years ago)
- Default Branch: streams
- Last Pushed: 2021-07-17T21:12:30.000Z (over 3 years ago)
- Last Synced: 2024-11-21T14:41:36.412Z (2 months ago)
- Language: TypeScript
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The server component of the Sandboxed Renderer
See a [video demo](https://www.youtube.com/watch?v=a8Fpy4dadf0)
## Goals
1. learn and practice fp-ts and functional programming techniques
2. render any website in a sandboxed environment without any JavaScript arriving to the "viewer" sideSee the [client component here](https://github.com/bfulop/sandboxclient)
## Architecture Overview
![1-first-request](https://user-images.githubusercontent.com/1718128/126048762-6e0e5d62-6b80-4864-a4ed-14b2de7637b9.png)
![3-throttling](https://user-images.githubusercontent.com/1718128/126048787-5a172847-2d7f-4f97-a360-9636d27649dc.png)
## ES Module support in Node.js
Need to add a `package.json` file in every `/es6/..` directory with:
```json
{
"type": "module"
}
```TODO: add some post `npm install` or `tsc` hook to add them...