https://codeberg.org/smnx/promethee This website requires JavaScript. Logo Logo Explore About FAQ Help Donate Register Sign in smnx/promethee smnx/promethee Watch 1 Star 10 Fork You've already forked promethee 0 Code Issues Pull requests Activity UEFI Bindings for JavaScript (Proof of Concept) 133 commits 1 branch 0 tags 178 KiB * C 69.7% * Makefile 21.4% * TypeScript 3.4% * JavaScript 2.9% * Shell 2.6% trunk Find a file HTTPS [https://codeberg.org] Download ZIP Download TAR.GZ Download BUNDLE Open with VS Code Open with VSCodium Open with Intellij IDEA # sleepy-monax 3025d2b24f 2026-02-09 # 15:42:13 Removed useless file. +01:00 2026-02-09 src Removed useless file. 15:42:13 +01:00 Prometheus stole fire from the gods and 2026-02-09 .gitignore gave it to man. For this he was chained to 14:48:48 a rock and tortured for eternity. +01:00 Prometheus stole fire from the gods and 2026-02-09 get-deps gave it to man. For this he was chained to 14:48:48 a rock and tortured for eternity. +01:00 Prometheus stole fire from the gods and 2026-02-09 GNUmakefile gave it to man. For this he was chained to 14:48:48 a rock and tortured for eternity. +01:00 2026-01-02 LICENSE Update LICENSE copyright for 2026 14:41:00 +01:00 Prometheus stole fire from the gods and 2026-02-09 promethee.jpeg gave it to man. For this he was chained to 14:48:48 a rock and tortured for eternity. +01:00 2026-02-09 README.md Update README.md 14:56:28 +01:00 Prometheus stole fire from the gods and 2026-02-09 script.js gave it to man. For this he was chained to 14:48:48 a rock and tortured for eternity. +01:00 Prometheus stole fire from the gods and 2026-02-09 types.ts gave it to man. For this he was chained to 14:48:48 a rock and tortured for eternity. +01:00 README.md Promethee Promethee What this is UEFI Bindings for JavaScript How it works Promethee loads script.js from the boot volume and runs it. That script is your bootloader. If you can do it with UEFI services, you can do it in JavaScript. Quick start 1. Fetch dependencies: ./get-deps 2. Build and run in QEMU: make run Your entrypoint is script.js. The run target copies it to the UEFI FAT volume as \script.js. Tiny example In script.js: var gop = efi.SystemTable.BootServices.LocateProtocol(efi.guid.GraphicsOutput); if (gop) { var red = { r: 255, g: 0, b: 0 }; gop.Blt(red, 'EfiBltVideoFill', 0, 0, 50, 50, 200, 120, 0); } Notes * Duktape tooling requires Node.js (used to generate sources). * The build is freestanding; only minimal libc stubs are provided. * If this makes you grin, you are probably holding the torch. Logo Logo Powered by Forgejo logo Forgejo logo with modifications Codeberg Blog * Documentation * Community Issues * Contributing * Report Abuse Association * Who are we? * Bylaws / Satzung * Donate * Join / Support * Contact Services * Codeberg Pages * Codeberg Translate * Woodpecker CI * Forgejo API * Status Page Legal * Imprint / Impressum * Privacy Policy * Licenses * Terms of Use Mastodon | Matrix Space (Web link) Powered by Forgejo English Bahasa Indonesia Dansk Deutsch English Espanol Esperanto Filipino Francais Italiano Latviesu Magyar nyelv Nederlands Plattduutsch Polski Portugues de Portugal Portugues do Brasil Slovenscina Suomi Svenska Turkce Cestina Ellenika B'lgarski Russkii Ukrayins'ka frsy Ri Ben Yu Jian Ti Zhong Wen Fan Ti Zhong Wen (Tai Wan )Fan Ti Zhong Wen (Xiang Gang ) hangugeo Page: 135ms Template: 21ms