{"id":19692319,"url":"https://github.com/root27/serverless-redirector","last_synced_at":"2026-05-10T20:40:50.463Z","repository":{"id":246033008,"uuid":"813544241","full_name":"root27/serverless-redirector","owner":"root27","description":"URL redirector using Google Sheets as database","archived":false,"fork":false,"pushed_at":"2024-06-25T12:08:34.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T11:46:58.178Z","etag":null,"topics":["docker","gcloud-run","golang","google-sheets-api","serverless","url-redirector"],"latest_commit_sha":null,"homepage":"https://go.root27.dev","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/root27.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":"2024-06-11T09:28:44.000Z","updated_at":"2024-06-25T12:10:06.000Z","dependencies_parsed_at":"2024-06-25T13:47:08.491Z","dependency_job_id":null,"html_url":"https://github.com/root27/serverless-redirector","commit_stats":null,"previous_names":["root27/serverless-redirector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/root27/serverless-redirector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/root27%2Fserverless-redirector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/root27%2Fserverless-redirector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/root27%2Fserverless-redirector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/root27%2Fserverless-redirector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/root27","download_url":"https://codeload.github.com/root27/serverless-redirector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/root27%2Fserverless-redirector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285681625,"owners_count":27213755,"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-11-21T02:00:06.175Z","response_time":61,"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":["docker","gcloud-run","golang","google-sheets-api","serverless","url-redirector"],"created_at":"2024-11-11T19:12:59.129Z","updated_at":"2025-11-21T20:03:21.701Z","avatar_url":"https://github.com/root27.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Serverless URL Redirector\n\n\nThis is simple redirector service that can redirect a set of URL's in Google Sheets. You need to define [Google Sheets](https://docs.google.com/spreadsheets/d/14lESvPQuXoJfSHLk_gKs4FLYpW1vmWrtw8UbOw5CfmM/edit?usp=sharing) as shown below and deploy to\n[Google Cloud](https://cloud.google.com/)\n\n| Shortpath | Redirect |\n| ---       | ---       |\n| `gh`      | `https://github.com/root27`|\n| `lin`     | `https://linkedin.com/in/ogzdo`|\n| `ex`      | `https://docs.google.com/spreadsheets/d/14lESvPQuXoJfSHLk_gKs4FLYpW1vmWrtw8UbOw5CfmM/edit?usp=sharing`|\n\n## How to Setup\n\n1. Create new  [Google Sheet](https://sheets.new)\n\n1. Set URL's of your desired shorpaths ([see example](https://docs.google.com/spreadsheets/d/14lESvPQuXoJfSHLk_gKs4FLYpW1vmWrtw8UbOw5CfmM/edit?usp=sharing))\n\n1. Save ID of the your google sheet (example: 14lESvPQuXoJfSHLk_gKs4FLYpW1vmWrtw8UbOw5CfmM)\n\n1. Click below button to deploy application to Cloud Run and provide sheet ID during deployment;\n\n    [![Run on Google Cloud](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run)\n\n1. Go to [Cloud Console](https://console.cloud.google.com/run) and click on `sheet-redirector` service. Copy the email address in `Service account`section.\n\n1. Back to your Google Sheets and share it with this email address as \"Viewer\" access.\n\n1. Enable the Google Sheets API in [here](https://console.developers.google.com/apis/api/sheets.googleapis.com/overview)\n\n## Domain Mapping\n\nThis is an optional step. If you want to use custom domain as [go.root27.dev](https://go.root27.dev), go to [domains](https://console.cloud.google.com/run/domains) and map `sheet-redirector` service to your domain.\n\n## Variable Config\n\nYou can configure several parameters in this service. The parameters are;\n\n| Env. Variable | Description |\n| ---           |   ---     |\n| `SHEETNAME`(optional)   | If you want to manage multiple Google Sheets, you can provide Sheet name|\n| `TTL` (optional)| You can set time how frequently the sheet must be queried (default: 5 seconds) |\n`PORT` (optional) | Server port to listen (default: 8000)|\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froot27%2Fserverless-redirector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froot27%2Fserverless-redirector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froot27%2Fserverless-redirector/lists"}