{"id":18708079,"url":"https://github.com/threecommaio/tailscale-cloudrun-reverseproxy","last_synced_at":"2025-04-12T10:33:45.786Z","repository":{"id":57627783,"uuid":"402954431","full_name":"threecommaio/tailscale-cloudrun-reverseproxy","owner":"threecommaio","description":"Example of how to write reverse proxy in Go that runs on Cloud Run with Tailscale","archived":false,"fork":false,"pushed_at":"2023-03-07T02:16:03.000Z","size":5,"stargazers_count":19,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T05:33:22.361Z","etag":null,"topics":["cloudrun","go","tailscale"],"latest_commit_sha":null,"homepage":"","language":"Go","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/threecommaio.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-04T03:28:46.000Z","updated_at":"2024-11-23T20:37:54.000Z","dependencies_parsed_at":"2024-06-20T13:23:02.807Z","dependency_job_id":"5ae322d5-e065-488d-8b87-0e77710b79bf","html_url":"https://github.com/threecommaio/tailscale-cloudrun-reverseproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threecommaio%2Ftailscale-cloudrun-reverseproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threecommaio%2Ftailscale-cloudrun-reverseproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threecommaio%2Ftailscale-cloudrun-reverseproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threecommaio%2Ftailscale-cloudrun-reverseproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threecommaio","download_url":"https://codeload.github.com/threecommaio/tailscale-cloudrun-reverseproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248553575,"owners_count":21123476,"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":["cloudrun","go","tailscale"],"created_at":"2024-11-07T12:21:27.929Z","updated_at":"2025-04-12T10:33:45.540Z","avatar_url":"https://github.com/threecommaio.png","language":"Go","readme":"# Cloudrun Tailscale Reverse Proxy\n\n## Setup\n1. Create a ephemeral key in Tailscale\n2. Set `TAILSCALE_AUTHKEY` in your Cloud Run environment variables\n3. Set `TARGET_URL` in your Cloud Run environment variables to the your device on your network.\n\nDue to how ephemeral keys work, they do not allocate an IPv4, so you must hit the IPv6 address of the device. Thankfully Magic DNS makes this easy with the AAAA record. So you can set the `TARGET_URL` to something like: `http://[device].[namespace].io.beta.tailscale.net:8080`\n\n## Usage\n```bash\n$ mage -l\nTargets:\n  build*    handles building the app\n  clean     handles cleaning the project up\n  deploy    handles deploying to cloud run\n  push      handles pushing the image\n\n* default target\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreecommaio%2Ftailscale-cloudrun-reverseproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreecommaio%2Ftailscale-cloudrun-reverseproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreecommaio%2Ftailscale-cloudrun-reverseproxy/lists"}