Skip to content

PeterShershov/tsilly.dev

Repository files navigation

tsilly.dev

A TypeScript playground that runs in the browser.

This is intentionally plain.

Raw DOM like nature intended. No AI, no Tailwind, no npm installs, no frameworks. Also no servers, no analytics and no data collection.

tsilly.dev

What it does

Editor

  • HTML, CSS and TypeScript side by side
  • Monaco with IntelliSense and TypeScript diagnostics
  • Emmet for HTML and CSS

Preview

  • Instant live preview in a sandboxed iframe
  • Console output with log, warn, error and info levels
  • Runtime errors and unhandled rejections captured
  • Client-side TypeScript compilation
  • Compile errors shown directly in the preview
  • Manual run button to force a re-render

Layout

  • Multiple selectable layouts with resizable panels
  • Toggle individual panels on or off
  • Works on mobile

Saving and sharing

  • Auto-save locally
  • Named playgrounds saved to IndexedDB
  • Shareable URLs with code compressed into the link
  • Share via URL or save to update the address bar
  • Shared URLs override local state on load
  • Unsaved change detection with leave-page warning
  • Clear all editors in one click

License

MIT

About

A TypeScript playground that runs in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages