{"id":18738239,"url":"https://github.com/xiaomengxinx/url-shortener","last_synced_at":"2025-10-06T17:02:56.701Z","repository":{"id":114991726,"uuid":"462829081","full_name":"XiaoMengXinX/url-shortener","owner":"XiaoMengXinX","description":"A serverless short url api on vercel powered by golang","archived":false,"fork":false,"pushed_at":"2024-12-01T10:57:27.000Z","size":35,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T17:02:40.570Z","etag":null,"topics":["go","golang","hacktoberfest","url-shortener","vercel"],"latest_commit_sha":null,"homepage":"https://xve.me","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XiaoMengXinX.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-23T17:02:04.000Z","updated_at":"2024-12-01T10:57:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"1fa6ac7c-2c73-4574-9a10-8f6bf5f8ec87","html_url":"https://github.com/XiaoMengXinX/url-shortener","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/XiaoMengXinX/url-shortener","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMengXinX%2Furl-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMengXinX%2Furl-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMengXinX%2Furl-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMengXinX%2Furl-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XiaoMengXinX","download_url":"https://codeload.github.com/XiaoMengXinX/url-shortener/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMengXinX%2Furl-shortener/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278646783,"owners_count":26021512,"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-10-06T02:00:05.630Z","response_time":65,"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":["go","golang","hacktoberfest","url-shortener","vercel"],"created_at":"2024-11-07T15:28:47.041Z","updated_at":"2025-10-06T17:02:56.634Z","avatar_url":"https://github.com/XiaoMengXinX.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# url-shortener\n\nA serverless short url api on vercel, powered by golang.\n\n### API Calling Reference\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net/http\"\n\t\"net/url\"\n)\n\nfunc main() {\n\tresp, _ := http.PostForm(\"https://[YOUR_DEPLOYMENT_URL]/api/url\",\n\t\turl.Values{\n\t\t\t\"url\": {\"https://www.baidu.com/\"}, // The url to be shortened\n\t\t\t\"token\": {\"baidu\"},                // Custom shorten url token (optional)\n\t\t})\n\tdefer resp.Body.Close()\n\tbody, _ := ioutil.ReadAll(resp.Body)\n\tfmt.Println(string(body))\n}\n```\n\nResponse:\n\n```json\n{\n  \"token\": \"baidu\",\n  \"error\": \"\"\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaomengxinx%2Furl-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaomengxinx%2Furl-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaomengxinx%2Furl-shortener/lists"}