• Stars
    star
    146
  • Rank 252,769 (Top 5 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created almost 3 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Playground for HTML/CSS/JavaScript

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 🖤

Copyright

© 2022 Sonny Piers

License

GPLv3. Please see COPYING file.

More Repositories

1

Tangram

Browser for your pinned tabs
JavaScript
905
star
2

aria2.js

JavaScript library for aria2, "The next generation download utility."
JavaScript
608
star
3

Workbench

Code playground for GNOME 🛠️
JavaScript
524
star
4

Junction

Application/browser chooser
JavaScript
467
star
5

polygoat

Make JavaScript functions that support both promise and callback styles.
JavaScript
154
star
6

Commit

Commit message editor
JavaScript
133
star
7

JSON8

JSON toolkit for JavaScript.
JavaScript
104
star
8

OhMySVG

Reduce the size of SVGs
JavaScript
92
star
9

linux-minibook-x

Linux for the Chuwi MiniBook X 2023 / N100
46
star
10

troll

Libraries for GNOME JavaScript (GJS)
JavaScript
45
star
11

Retro

A customizable retro digital segment clock
JavaScript
17
star
12

lightstring

XMPP client library for browsers.
JavaScript
17
star
13

remoteStorage

Playing around with remoteStorage, eventually releasing a lightweight library
TypeScript
5
star
14

mermaid-webkitgtk

JavaScript
5
star
15

owi-535

Applications and libraries for OWI-535 aka. Robotic Arm Edge
JavaScript
4
star
16

Disappear

Free your desktop from cumbersome apps.
JavaScript
4
star
17

broadcaster.js

Server-less cross-tabs messaging
HTML
3
star
18

proctor

Node.js module to lookup CPU and memory usage of a process.
JavaScript
3
star
19

icns.js

Apple Icon Image format (icns) for JavaScript
JavaScript
3
star
20

pya

CLI application to manage and monitor devices
JavaScript
2
star
21

node-bosh

BOSH client implementation library for nodejs.
JavaScript
2
star
22

netflix-desktop-entry

A simple (Linux) desktop entry that will open Netflix with Google Chrome
Makefile
2
star
23

ubiquitous-pancake

JavaScript
2
star
24

readplist

Tiny Node.js module to read any plist file.
JavaScript
2
star
25

outofsoya

Out of soya
TypeScript
1
star
26

gjs-embed

C
1
star
27

HTMLIncludes

JavaScript
1
star
28

sliders

HTML WYSIWYG slides editor
JavaScript
1
star
29

server-stop

Closes all connections and stop the server. Node.js
JavaScript
1
star
30

HTTPClient.js

JavaScript HTTP client library for browsers and Node.js
JavaScript
1
star
31

media-loop

Firefox addon that adds a menu item to control HTML5 audio/video loop.
JavaScript
1
star
32

dezorse

Like dezalgo but let you choose your "asap" function.
JavaScript
1
star