{"id":27129266,"url":"https://github.com/khaledsakr/overlord","last_synced_at":"2026-05-17T00:07:54.748Z","repository":{"id":46773912,"uuid":"406160605","full_name":"KhaledSakr/overlord","owner":"KhaledSakr","description":"A runner for your scripts so you don't have to deploy them. 🚀","archived":false,"fork":false,"pushed_at":"2022-10-01T14:35:22.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T21:44:07.437Z","etag":null,"topics":["cli","deno","denoland","http","serverless","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KhaledSakr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-13T23:36:27.000Z","updated_at":"2023-08-11T14:17:52.000Z","dependencies_parsed_at":"2022-09-26T20:41:35.656Z","dependency_job_id":null,"html_url":"https://github.com/KhaledSakr/overlord","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSakr%2Foverlord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSakr%2Foverlord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSakr%2Foverlord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSakr%2Foverlord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KhaledSakr","download_url":"https://codeload.github.com/KhaledSakr/overlord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247716485,"owners_count":20984247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","deno","denoland","http","serverless","typescript"],"created_at":"2025-04-07T19:31:28.646Z","updated_at":"2025-10-10T06:02:41.145Z","avatar_url":"https://github.com/KhaledSakr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overlord\n\n[![codecov](https://codecov.io/gh/KhaledSakr/overlord/branch/main/graph/badge.svg?token=EGFL4EYX7J)](https://codecov.io/gh/KhaledSakr/overlord)\n![CI](https://github.com/KhaledSakr/overlord/actions/workflows/ci.yml/badge.svg)\n\nA runner for your scripts so you don't have to deploy them. 🚀\n\nOverlord takes a root directory (or a root URL) containing a bunch of JS or TS scripts and serves them using a\nlightweight http server. Each time overlord receives a request, it spawns a Worker which imports the scripts and runs it\nin an isolated environment.\n\n\u003e Experimental. Use at your own risk. 💥\n\n## Background\n\nDeno is very suitable for running scripts. It's a single executable, you don't have to manage dependencies, it has\ntop-level await, and runs Typescript by default. I wanted to add upon that by providing an easy and secure way to call\nthese scripts remotely.\n\n## Usage\n\n### CLI\n\n1. Install it: `deno --unstable install --allow-net --allow-read https://deno.land/x/overlord/cli.ts`\n2. Use it: `overlord -r https://deno.land/x/overlord/examples`\n3. Try it: `curl localhost:8080/hello_world`\n\n### Programatically\n\n```ts\nimport { Overlord } from \"https://deno.land/x/overlord/mod.ts\";\n\nconst overlord = new Overlord({\n  rootPath: \"https://deno.land/x/overlord/examples\",\n  port: 5000,\n});\n\noverlord.start();\n```\n\n### Documentation\n\nSee the full documentation [here](https://doc.deno.land/https/deno.land/x/overlord/mod.ts#BaseOverlordOptions).\n\n## Features\n\n1. Zero dependancies (unless you count deno std).\n2. Lightweight and fast; with an ~80mb executable and just using deno std http server.\n3. Easy configuration.\n4. Deploy anywhere; your local machine, a server, in docker or kubernetes, or even serverless (with some caching\n   considerations).\n\n## When Should I Use This?\n\n1. You want to run scripts in an isolated environment.\n2. You want a self-hostable alternative to deno deploy.\n3. Lazy load and build your scripts.\n\n## Roadmap\n\n1. Remove `unstable` features once Deno 2.0 is released.\n2. Support WebAssembly.\n3. Resource limits for workers.\n   [This is not planned to be supported by Deno at the moment](https://github.com/denoland/deno/issues/7419), so we will\n   have to find a workaround.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaledsakr%2Foverlord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhaledsakr%2Foverlord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaledsakr%2Foverlord/lists"}