← All projects
Project record1 mention
Originally shared on Hacker News

Ristretto

An open-source sandboxed code and data playground built from scratch with only CodeMirror, ProseMirror, and icons as dependencies, using web components with shadow DOM so everything in it can be edited live. It features a hybrid notebook/playground editor that turns fenced code blocks in Markdown files into links opening files in tabs, a resizable split view, draggable tabs with multiple panes, and a color picker. Sandboxed at both the whole-app and notebook levels via Content Security Policy, it supports using untrusted code (from humans or AI) alongside private data without it being leaked, with a Deno and Docker-based build process.

Last shared
01 / The problem

What it addresses

Enables using untrusted code (from humans or an AI) and private data together without the data easily being leaked.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Ristretto

    An open-source sandboxed code and data playground built from scratch with only CodeMirror, ProseMirror, and icons as dependencies, using web components with shadow DOM so everything in it can be edited live. It features a hybrid notebook/playground editor that turns fenced code blocks in Markdown files into links opening files in tabs, a resizable split view, draggable tabs with multiple panes, and a color picker. Sandboxed at both the whole-app and notebook levels via Content Security Policy, it supports using untrusted code (from humans or AI) alongside private data without it being leaked, with a Deno and Docker-based build process.

    Problem: Enables using untrusted code (from humans or an AI) and private data together without the data easily being leaked.

    Posted by @benatkin · Original source ↗

    Source text · @benatkin · · Source ↗

    I'm working on writing a sort of code and data playground from scratch - with currently only CodeMirror, ProseMirror, and some icons as dependencies - so that everything in it can be edited live. Everything is web components with the shadow DOM. It is sandboxed both as a whole and at the notebook level.