Build web apps like a frontend pro in the language you already know. No knowledge of HTML, CSS or JavaScript required.
Pglet ("piglet") is a rich user interface (UI) framework for scripts and programs written in any language. Python, Bash, PowerShell and Node.js are already supported and other languages can be easily added via Pglet protocol.
Pglet renders web UI, so you can easily build web apps with your favorite language. Knowledge of HTML/CSS/JavaScript is not required as you build UI with controls. Pglet controls are built with Fluent UI React to ensure your programs look cool and professional.
Install Pglet helper functions:
curl -O https://pglet.io/pglet.sh
Create hello.sh with the following contents:
. pglet.sh
pglet_page
pglet_add "text value='Hello, world!"
Run sh hello.sh and in a new browser window you'll get:
Here is a page served by a local instance of Pglet server started in the background on your computer.
Now, add PGLET_WEB=true before pglet_page:
. pglet.sh
PGLET_WEB=true pglet_page
pglet_add "text value='Hello, world!"
and instantly make your app available on the web!
This Docker image is a self-hosted Pglet Server you can run in your network.
Content type
Image
Digest
Size
14.6 MB
Last updated
over 4 years ago
docker pull pglet/server