Skip to content

Repository files navigation

plainpen

A deliberately small, local-first HTML/CSS/JavaScript playground built with SolidJS, Monaco Editor and a sandboxed iframe.

Open Plainpen · About the project

Run locally

npm install
npm run dev

Features

  • HTML, CSS and JavaScript intelligence through Monaco
  • Sandboxed, debounced live preview and a manual Run action
  • Console and runtime error capture
  • Four workspace layouts plus single-editor focus
  • Browser-local autosave
  • Compressed, backend-free share links
  • Light/dark themes and configurable editor font size
  • Fixed and fluid preview viewport presets
  • Search-friendly static project information and structured application metadata

There are no accounts, servers, feeds, build pipelines or framework abstractions.

Architecture

Plainpen renders standard browser code directly into an isolated iframe using srcdoc. Pen state is saved locally and can be compressed into a versioned URL fragment for backend-free sharing. Monaco is loaded asynchronously after the lightweight SolidJS application shell so the interface can paint before the editor engine downloads.

About

Simple Local Web Playground

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages