From 84d50a2b30872c7078466b35ef4af4b82c4a7ce9 Mon Sep 17 00:00:00 2001 From: Pretheesh Thomas Date: Sat, 17 Oct 2026 15:17:00 +0400 Subject: [PATCH] feat: add PicoRunner launch manifest and badge --- README.md | 2 ++ picorunner.toml | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 picorunner.toml diff --git a/README.md b/README.md index 11c6aa0..eb9a985 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,8 @@ write0 is a **100% client-side** app: ## 🚀 Getting Started +[![Launch on PicoRunner](https://picorunner.com/badges/launch.svg)](https://picorunner.com/launch/?repository=https%3A%2F%2Fgithub.com%2Fomarbdri%2Fwrite0) + You can test it out [here](https://write.omarbadri.dev/). ### Local Development (Vite) diff --git a/picorunner.toml b/picorunner.toml new file mode 100644 index 0000000..8c2126a --- /dev/null +++ b/picorunner.toml @@ -0,0 +1,28 @@ +schema = 1 +name = "write0" + +[runtime] +kind = "node" +version = "24" +package_manager = "npm" + +[[setup.steps]] +kind = "dependencies" +locked = true + +[[setup.steps]] +run = ["npm", "run", "build"] + +[launch] +command = ["npm", "run", "preview", "--", "--host", "{host}", "--port", "{port}", "--strictPort"] +host = "127.0.0.1" +port = 4173 + +[health] +type = "http" +path = "/" +timeout_seconds = 90 + +[persistence] +# Browser storage is outside the repository checkout. +paths = []