{"id":16621309,"url":"https://github.com/eartharoid/go","last_synced_at":"2025-08-19T11:06:06.892Z","repository":{"id":43823961,"uuid":"331932280","full_name":"eartharoid/go","owner":"eartharoid","description":"A serverless alternative to YOURLS.","archived":false,"fork":false,"pushed_at":"2022-10-02T22:34:33.000Z","size":337,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T08:27:30.684Z","etag":null,"topics":["cloudflare-workers","serverless","yourls"],"latest_commit_sha":null,"homepage":"https://eartharoid.me/blog/eartharoid-go","language":"HTML","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/eartharoid.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-01-22T11:56:14.000Z","updated_at":"2025-03-03T21:40:08.000Z","dependencies_parsed_at":"2023-01-19T02:16:15.712Z","dependency_job_id":null,"html_url":"https://github.com/eartharoid/go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eartharoid/go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eartharoid%2Fgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eartharoid%2Fgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eartharoid%2Fgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eartharoid%2Fgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eartharoid","download_url":"https://codeload.github.com/eartharoid/go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eartharoid%2Fgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271143334,"owners_count":24706343,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cloudflare-workers","serverless","yourls"],"created_at":"2024-10-12T02:46:57.319Z","updated_at":"2025-08-19T11:06:06.841Z","avatar_url":"https://github.com/eartharoid.png","language":"HTML","readme":"# eartharoid:go\n\nOriginally made in January 2021, as a serverless replacement for YOURLS, with Vercel \u0026 Firebase/Firestore.\nThe UI never really worked properly due to Vercel's caching, and became quite slow with all the unnecessary click data in the database. \n\n![January 2021 - May 2022 stats](https://static.eartharoid.me/k/22/05/09223553.png)\n\nTo view the code and read more about the original version, switch to the [v1 branch](https://github.com/eartharoid/go/tree/v1).\n\n## How it works\n\nIt uses Cloudflare Workers, and URLs are stored in KV. This is my first Cloudflare Workers \u0026 KV project. There's no UI or even an API for managing URLs currently (because I rarely need to shorten a URL quickly), so links must be added either via the Cloudflare Dashboard, or the wrangler CLI.\n\nIt uses [umami](https://umami.is) for privacy-friendly analytics/stats.\n\n### Routes\n\n- `/:id.png` -\u003e Generate a QR code\n- `/:id+` -\u003e Redirect to umami\n- `/:id~` -\u003e Show the link preview page\n- `/:id` -\u003e Redirect to long URL\n- `/*` -\u003e Redirect to `eartharoid.me`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feartharoid%2Fgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feartharoid%2Fgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feartharoid%2Fgo/lists"}