{"id":38084838,"url":"https://github.com/ekovv/url-shortener","last_synced_at":"2026-01-16T20:51:42.925Z","repository":{"id":194581380,"uuid":"690972934","full_name":"ekovv/url-shortener","owner":"ekovv","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-08T18:08:15.000Z","size":217,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-08T19:56:14.746Z","etag":null,"topics":["algorithms","golang","postgresql"],"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/ekovv.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}},"created_at":"2023-09-13T08:51:49.000Z","updated_at":"2024-03-08T19:56:16.783Z","dependencies_parsed_at":"2024-03-08T20:09:16.859Z","dependency_job_id":null,"html_url":"https://github.com/ekovv/url-shortener","commit_stats":null,"previous_names":["ekovv/url-shortener"],"tags_count":0,"template":false,"template_full_name":"Yandex-Practicum/go-musthave-shortener-tpl","purl":"pkg:github/ekovv/url-shortener","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekovv%2Furl-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekovv%2Furl-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekovv%2Furl-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekovv%2Furl-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekovv","download_url":"https://codeload.github.com/ekovv/url-shortener/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekovv%2Furl-shortener/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["algorithms","golang","postgresql"],"created_at":"2026-01-16T20:51:42.225Z","updated_at":"2026-01-16T20:51:42.913Z","avatar_url":"https://github.com/ekovv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-musthave-shortener-tpl\n\n![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)![Go](https://img.shields.io/badge/go-%2300ADD8.svg?style=for-the-badge\u0026logo=go\u0026logoColor=white)\n\n# 🎲 Service on Go(Gin) for shortening url using a special algorithm and storing in a database/file/memory 🎲\n\n# 🎬 Description \n\nReceives a link to a web resource from the client and, using a text reduction algorithm, shortens it and saves it in storage (your choice: memory, file, database) and sends it back. The new short link will automatically redirect all clients to the original (longer) link.\n\n# 📞 Endpoints\n```http\nPOST /\n- Create link\nGET /:id \n- Get link \nPOST /api/shorten\n- Create link from json\nGET /ping\n- Get Stats \nPOST /api/shorten/batch\n- Batch create \nGET /api/user/urls\n- Get all\nDELETE /api/user/urls\n- Delete links\n```\n\n# 🏴‍☠️ Flags\n```\na - ip for REST -a=host\nb base url -b=base\nf - path to the file to be used as a database -f=storage\nd - connection string -d=connection string\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekovv%2Furl-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekovv%2Furl-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekovv%2Furl-shortener/lists"}