{"id":25120308,"url":"https://github.com/codaea/shortener","last_synced_at":"2025-04-02T14:40:57.908Z","repository":{"id":265302504,"uuid":"895407589","full_name":"Codaea/shortener","owner":"Codaea","description":"a URL shortener written in go","archived":false,"fork":false,"pushed_at":"2024-11-28T21:16:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T05:29:07.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Codaea.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-11-28T06:39:32.000Z","updated_at":"2024-11-28T21:16:33.000Z","dependencies_parsed_at":"2024-11-28T20:43:56.355Z","dependency_job_id":null,"html_url":"https://github.com/Codaea/shortener","commit_stats":null,"previous_names":["codaea/shortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codaea%2Fshortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codaea%2Fshortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codaea%2Fshortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codaea%2Fshortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codaea","download_url":"https://codeload.github.com/Codaea/shortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246834200,"owners_count":20841495,"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":[],"created_at":"2025-02-08T05:29:09.670Z","updated_at":"2025-04-02T14:40:57.881Z","avatar_url":"https://github.com/Codaea.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Link Shortener\n\na basic link shortener written in go, using postgres as a backend\n\n# How to use\n\nmake a shortened link\n\n```sh\ncurl --request POST \\\n  --url 'https://shorten.codaea.com/api/new?url=example.com'\n```\nthis returns a `slug`. if you visit `shorten.codaea.com/\u003cYOURSLUG\u003e` it will redirect you.\n\n# Performance\n\n## Just postgres, no caching. \n\nwith just postgres and no caching, on a virtual machine running with \n\n4vCpu\n4gb ram\n\nit would top out on the current jmeter test at 613ms to create a link, and viewing at 282ms. with 1200 new links a second and 1370 new links a second\n\nthis was mostly database usage though, and if we use in memory go and redis it would go faster.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaea%2Fshortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodaea%2Fshortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaea%2Fshortener/lists"}