{"id":14968813,"url":"https://github.com/supabase/fly-admin","last_synced_at":"2025-10-01T10:31:33.367Z","repository":{"id":164670521,"uuid":"640063528","full_name":"supabase/fly-admin","owner":"supabase","description":"A typescript client for managing Fly.io Machines","archived":false,"fork":true,"pushed_at":"2024-03-12T17:25:22.000Z","size":1175,"stargazers_count":47,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-29T12:34:01.703Z","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":"supabase/fly-preview","license":"mit","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":"LICENSE","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-05-12T22:25:42.000Z","updated_at":"2024-09-26T22:45:58.000Z","dependencies_parsed_at":"2023-09-23T01:34:52.809Z","dependency_job_id":null,"html_url":"https://github.com/supabase/fly-admin","commit_stats":{"total_commits":39,"total_committers":3,"mean_commits":13.0,"dds":0.2564102564102564,"last_synced_commit":"04439db8c752fcc6c9034dd76cda3e734bfce6df"},"previous_names":["supabase/fly-admin"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/fly-admin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234750649,"owners_count":18880921,"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:36.647Z","updated_at":"2025-10-01T10:31:28.088Z","avatar_url":"https://github.com/supabase.png","language":"TypeScript","funding_links":["https://github.com/sponsors/supabase"],"categories":[],"sub_categories":[],"readme":"# `fly-admin`\n\nA Typescript client for managing Fly infrastructure.\n\n## Install\n\n```bash\nnpm i --save fly-admin\n```\n\n## Usage\n\n```ts\nimport { createClient } from 'fly-admin'\n\nconst fly = createClient('FLY_API_TOKEN')\n\nasync function deployApp() {\n  const machine = await fly.Machine.createMachine({\n    app_name: 'myAppId',\n    image: 'supabase/postgres',\n  })\n}\n```\n\n## API\n\n**Apps**\n\n- `fly.App.listApps()`\n- `fly.App.getApp()`\n- `fly.App.createApp()`\n- `fly.App.deleteApp()`\n\n**Machines**\n\n- `fly.Machine.listMachines()`\n- `fly.Machine.getMachine()`\n- `fly.Machine.createMachine()`\n- `fly.Machine.updateMachine()`\n- `fly.Machine.startMachine()`\n- `fly.Machine.stopMachine()`\n- `fly.Machine.deleteMachine()`\n- `fly.Machine.restartMachine()`\n- `fly.Machine.signalMachine()`\n- `fly.Machine.waitMachine()`\n- `fly.Machine.cordonMachine()`\n- `fly.Machine.uncordonMachine()`\n- `fly.Machine.listEvents()`\n- `fly.Machine.listVersions()`\n- `fly.Machine.listProcesses()`\n- `fly.Machine.getLease()`\n- `fly.Machine.acquireLease()`\n\n**Networks**\n\n- `fly.Network.allocateIpAddress()`\n- `fly.Network.releaseIpAddress()`\n\n**Organizations**\n\n- `fly.Organization.getOrganization()`\n\n**Secrets**\n\n- `fly.Secret.setSecrets()`\n- `fly.Secret.unsetSecrets()`\n\n**Volumes**\n\n- `fly.Volume.listVolumes()`\n- `fly.Volume.getVolume()`\n- `fly.Volume.createVolume()`\n- `fly.Volume.deleteVolume()`\n- `fly.Volume.extendVolume()`\n- `fly.Volume.listSnapshots()`\n\n**TODO**\n\n- [ ] `fly.Machine.execMachine()`\n- [ ] `fly.Machine.releaseLease()`\n- [ ] `fly.Machine.getMetadata()`\n- [ ] `fly.Machine.updateMetadata()`\n- [ ] `fly.Machine.deleteMetadata()`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Ffly-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Ffly-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Ffly-admin/lists"}