{"id":14968786,"url":"https://github.com/supabase/self-hosted-edge-functions-demo","last_synced_at":"2025-10-19T09:32:09.089Z","repository":{"id":152228013,"uuid":"623240826","full_name":"supabase/self-hosted-edge-functions-demo","owner":"supabase","description":"A demo of how to self-host Supabase Edge Functions on Fly.io","archived":false,"fork":false,"pushed_at":"2023-05-09T09:13:56.000Z","size":14,"stargazers_count":60,"open_issues_count":0,"forks_count":13,"subscribers_count":22,"default_branch":"main","last_synced_at":"2024-04-13T21:54:15.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/supabase.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,"governance":null},"funding":{"github":["supabase"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-04-04T01:26:00.000Z","updated_at":"2024-04-09T00:06:46.000Z","dependencies_parsed_at":"2023-07-02T09:30:14.884Z","dependency_job_id":null,"html_url":"https://github.com/supabase/self-hosted-edge-functions-demo","commit_stats":{"total_commits":10,"total_committers":4,"mean_commits":2.5,"dds":"0.30000000000000004","last_synced_commit":"bbfa2c52c87c4cb9ea1dae013e877d30a0d2d44c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fself-hosted-edge-functions-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fself-hosted-edge-functions-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fself-hosted-edge-functions-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fself-hosted-edge-functions-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/self-hosted-edge-functions-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869999,"owners_count":16555407,"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":[],"created_at":"2024-09-24T13:40:33.642Z","updated_at":"2025-10-19T09:32:08.736Z","avatar_url":"https://github.com/supabase.png","language":"TypeScript","funding_links":["https://github.com/sponsors/supabase"],"categories":[],"sub_categories":[],"readme":"# Self-Host Supabase Edge Functions Demo\n\n## Deploy to Fly.io\n\n- Clone this repository.\n- Copy your edge functions to `./functions` directory.\n- [Optional] Modify the `./functions/main/index.ts` to add custom request handling and routing logic.\n- Open `fly.toml` and update the app name and optionally the region etc.\n- In your terminal, run `fly apps create` and sepcify the app name you just set in your `fly.toml` file.\n- Finally, run `fly deploy`.\n\n## Run locally\n\n- Build the container image: `docker compose up --build`\n- Visit http://localhost:8000/oak\n\nFile changes in the `/functions` directory will automatically be detected, except for the `/main/index.ts` function as it is a long running server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fself-hosted-edge-functions-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Fself-hosted-edge-functions-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fself-hosted-edge-functions-demo/lists"}