Playhouse Save

Playground for HTML/CSS/JavaScript

Project README

Playhouse

Playground for HTML/CSS/JavaScript

screenshot

Download on Flathub

About

Playhouse make it easy to prototype, teach, design, learn and build Web things.

Features:

  • HTML/CSS/JavaScript editors
  • live Web preview
  • auto-save
  • standard keyboard shortcuts
  • developer tools
  • dark/light mode support

Tips an tricks

How can I use a library?

Use https://unpkg.com/ and dynamic imports in the JavaScript panel.

// Example of loading a library that supports ES modules
import("https://unpkg.com/[email protected]/esm/index.js?module")
  .then((datefns) => {
    console.log(datefns.add(new Date(), { days: 2 }));
  })
  .catch(console.error);

// Example of loading a library that registers on the global object
import("https://unpkg.com/[email protected]/dist/jquery.js")
  .then(() => {
    $("p").hide();
  })
  .catch(console.error);

Development

Use GNOME Builder.

Press Ctrl+Shift+D for the GTK inspector.

Credits

Playhouse would not be possible without

GTK, GLib, Flatpak, GtkSourceView, libadwaita, GJS, Blueprint, WebkitGTK

and the GNOME community 🖤

© 2022 Sonny Piers

License

GPLv3. Please see COPYING file.

Open Source Agenda is not affiliated with "Playhouse" Project. README Source: sonnyp/Playhouse
Stars
137
Open Issues
8
Last Commit
11 months ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating