{"id":22479117,"url":"https://github.com/jsiebens/inlets-on-fly","last_synced_at":"2025-08-02T14:32:10.883Z","repository":{"id":61624085,"uuid":"424591047","full_name":"jsiebens/inlets-on-fly","owner":"jsiebens","description":"Create inlets servers on fly.io","archived":false,"fork":false,"pushed_at":"2022-09-17T09:54:51.000Z","size":106,"stargazers_count":9,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T05:11:38.668Z","etag":null,"topics":["inlets","inlets-pro"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsiebens.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}},"created_at":"2021-11-04T12:41:08.000Z","updated_at":"2022-12-01T02:20:44.000Z","dependencies_parsed_at":"2022-10-20T10:00:43.630Z","dependency_job_id":null,"html_url":"https://github.com/jsiebens/inlets-on-fly","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/jsiebens%2Finlets-on-fly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsiebens%2Finlets-on-fly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsiebens%2Finlets-on-fly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsiebens%2Finlets-on-fly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsiebens","download_url":"https://codeload.github.com/jsiebens/inlets-on-fly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228483617,"owners_count":17927363,"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":["inlets","inlets-pro"],"created_at":"2024-12-06T15:13:06.441Z","updated_at":"2024-12-06T15:13:07.115Z","avatar_url":"https://github.com/jsiebens.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inlets-on-fly\n\ninlets-on-fly automates the task of creating an [inlets Pro](https://inlets.dev) exit-server (tunnel server) on the [fly.io](https://fly.io) platform.\n\nThis automation started as a bash script which you can find [here](https://gist.github.com/jsiebens/4cf66c135ecefe8638c06a16c488b201)\n\nRead more in the blog post [Run an inlets Pro tunnel server for free on fly.io](https://inlets.dev/blog/2021/07/07/inlets-fly-tutorial.html)\n\n## Pre-requisites\n\ninlets-on-fly is actually a little wrapper around flyctl, so make sure you have that CLI installed and that you are authenticated.\n- [Installing flyctl](https://fly.io/docs/hands-on/install-flyctl/)\n- [Login To Fly](https://fly.io/docs/getting-started/log-in-to-fly/)\n\n## Example\n\n``` bash\n$ inlets-on-fly create tcp --region ams --ports 5432,6379\nTemp dir name: /tmp/inletsfly-486952897\n\nSelected App Name: enjoyed-goldfish-6269\n\n\nNew app created: enjoyed-goldfish-6269\nRegion Pool: \nams\nBackup Region: \nfra\nlhr\nSecrets are staged for the first deployment\nDeploying enjoyed-goldfish-6269\n==\u003e Validating app configuration\n--\u003e Validating app configuration done\nServices\nTCP 8123 ⇢ 8123\nTCP 5432 ⇢ 5432\nTCP 6379 ⇢ 6379\n==\u003e Creating build context\n--\u003e Creating build context done\n==\u003e Building image with Docker\n--\u003e docker host: 20.10.7 linux x86_64\nSending build context to Docker daemon  3.072kB\nStep 1/2 : FROM ghcr.io/inlets/inlets-pro:0.9.1\n ---\u003e 68840e710735\nStep 2/2 : CMD [\"tcp\", \"server\", \"--auto-tls-san=enjoyed-goldfish-6269.fly.dev\", \"--token-env=TOKEN\"]\n ---\u003e Running in 16d95f141336\n ---\u003e a1b634947187\nSuccessfully built a1b634947187\nSuccessfully tagged registry.fly.io/enjoyed-goldfish-6269:deployment-1641658112\n--\u003e Building image done\n==\u003e Pushing image to fly\nThe push refers to repository [registry.fly.io/enjoyed-goldfish-6269]\n8345a2e5488b: Preparing\nc0d270ab7e0d: Preparing\nc0d270ab7e0d: Mounted from grand-tortoise-6149\n8345a2e5488b: Mounted from grand-tortoise-6149\ndeployment-1641658112: digest: sha256:9cfddad45c6b112714e8c607219ed1907e14d4a5dc5611d6dc4d07f402bf9507 size: 738\n--\u003e Pushing image done\nImage: registry.fly.io/enjoyed-goldfish-6269:deployment-1641658112\nImage size: 19 MB\n==\u003e Creating release\nRelease v2 created\n\nYou can detach the terminal anytime without stopping the deployment\nMonitoring Deployment\n\nv0 is being deployed\nc7a5572c: ams pending\nc7a5572c: ams running unhealthy [health checks: 1 total]\nc7a5572c: ams running healthy [health checks: 1 total, 1 passing]\n--\u003e v0 deployed successfully\n==================================================================\ninlets PRO TCP (enjoyed-goldfish-6269) server summary:\n\n  URL: wss://enjoyed-goldfish-6269.fly.dev:8123/connect\n  Auth-token: aDdfDfl5uu4pmYzTxG066uLcosnkyyF27OQFCryZTWaAA2r8qCTbob8CErCnJOYm\n\nCommand:\n\n# Obtain a license at https://inlets.dev\n# Store it at $HOME/.inlets/LICENSE or use --help for more options\n\n\nexport PORTS=\"5432,6379,\"\nexport UPSTREAM=\"localhost\"\n\ninlets-pro tcp client \\\n  --url wss://enjoyed-goldfish-6269.fly.dev:8123 \\\n  --token aDdfDfl5uu4pmYzExG066uLcosnkyRF27OQFCryZTWaAA2r8qCTbob8CErCnJOYm \\\n  --upstream $UPSTREAM \\\n  --ports $PORTS\n\n\nTo delete:\n  flyctl destroy enjoyed-goldfish-6269\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsiebens%2Finlets-on-fly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsiebens%2Finlets-on-fly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsiebens%2Finlets-on-fly/lists"}