{"id":15065500,"url":"https://github.com/frzam/short-url","last_synced_at":"2026-02-11T05:31:02.853Z","repository":{"id":48102786,"uuid":"273485344","full_name":"frzam/short-url","owner":"frzam","description":"Shrt-URL is used to build simple and reliable short links.","archived":false,"fork":false,"pushed_at":"2022-08-13T08:32:47.000Z","size":16923,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T09:11:36.416Z","etag":null,"topics":["golang","mongodb","redis","short-url"],"latest_commit_sha":null,"homepage":"https://frzam.github.io/short-url/","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/frzam.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}},"created_at":"2020-06-19T12:11:59.000Z","updated_at":"2022-08-13T08:32:50.000Z","dependencies_parsed_at":"2022-08-12T18:40:34.874Z","dependency_job_id":null,"html_url":"https://github.com/frzam/short-url","commit_stats":null,"previous_names":["farzamalam/short-url"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/frzam/short-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzam%2Fshort-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzam%2Fshort-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzam%2Fshort-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzam%2Fshort-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frzam","download_url":"https://codeload.github.com/frzam/short-url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzam%2Fshort-url/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"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":["golang","mongodb","redis","short-url"],"created_at":"2024-09-25T00:39:21.600Z","updated_at":"2026-02-11T05:31:02.839Z","avatar_url":"https://github.com/frzam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eShorten Bulky Links\u003c/h2\u003e\n    \u003ch1\u003eShrt-URL\u003c/h1\u003e\n    \u003ch4\u003eBuild simple and reliable short links.\u003c/h4\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href = \"#about\"\u003eAbout\u003c/a\u003e |\n    \u003ca href = \"#features\"\u003eFeatures \u003c/a\u003e |\n    \u003ca href = \"#api\"\u003eAPI\u003c/a\u003e |\n    \u003ca href = \"#installation\"\u003eInstallation\u003c/a\u003e |\n    \u003ca href = \"#license\"\u003eLicense\u003c/a\u003e \n\u003c/p\u003e\n\n## About\n\u003e Short-URL is used to make six characters URL and it can be retrived at lightning speed. [Try it out.](  https://shrt-url.xyz/)\n\nIt has an amazing API for getting the click details of each shorturl that has been clicked. \n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/shorturl.gif\" /\u003e\n\u003c/p\u003e\n\n## Features\n\n* Built **six** characters long links.\n* **TSL** based encryptions for all the URLs.\n* RESTful based API to get the click counts.\n* API for getting click details which includes its IP, Location and TimeStamp etc.\n* API supports searching click details by **city**, **country** or **IP**.\n* Google **reCaptcha** is implemented to prevent from bots. \n\n## API\n\n* #### Get all click details for particular shorturl.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}?skip=0\u0026limit=100\n    ```\n    **Example:**  {shorturl} = 52ea82r. Try it out [here.](https://shrt-url.xyz)\n\n* #### Get all click details for particular shorturl for past N days.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}/{days}?skip=0\u0026limit=100\n    ```\n    **Example:**  {shorturl} = 52ea82r *and* {days} = 7. Try it out [here.](https://shrt-url.xyz)\n\n* #### Delete all the details for a url.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}\n    ```\n    **Example:**  Method:  *DELETE*. Try it out [here.](https://shrt-url.xyz)\n\n* #### Get all the click details by a country for one shorturl.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}/country/{country}\n    ```\n    **Example:**  {shorturl} = 52ea82r *and* {country} = India. Try it out [here.](https://shrt-url.xyz)\n\n\n* #### Get all the click details by a city for one shorturl.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}/city/{city}\n    ```\n    **Example:**  {shorturl} = 52ea82r *and* {city} = Powai. Try it out [here.](https://shrt-url.xyz)\n\n\n* #### Get all the click details by an IP for one shorturl.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}/ip/{ip}\n    ```\n    **Example:**  {shorturl} = 52ea82r. Try it out [here.](https://shrt-url.xyz)\n\n* #### Get total click count for one shorturl.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}/totalcount\n    ```\n    **Example:**  {shorturl} = 52ea82r. Try it out [here.](https://shrt-url.xyz)\n\n* #### Get click count for past N days for one shorturl.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}/totalcount/{days}\n    ```\n     **Example:**  {shorturl} = 52ea82r. Try it out [here.](https://shrt-url.xyz)\n\n* #### Get total click count from one IP for one shorturl.\n    ```\n    https://shrt-url.xyz/api/v1/{shorturl}/ip/{ip}/totalcount/\n    ```\n     **Example:**  {shorturl} = 52ea82r. Try it out [here.](https://shrt-url.xyz)\n\n## Installation\nTo run the application you need to type below mentioned command.\n```bash\ngo run main.go\n```\nTo successfully run the application you need to set below mentioned environment variables on your system.\n\n```\nprimary_db_name = \nprimary_db_host = \nprimary_db_port = \ncache_db_name =  \ncache_db_host = \ncache_db_port =\nhost = \nPORT =\nipstack_api_key = Ex: API Key for ipstack\nenv = DEV\nfullchain= Ex: /path/fullchain.pem\nprivkey= Ex: /path/privkey.pem\nprivate_token=Ex: Captcha Token.\n```\n\n## License\nShort-URL is provided under [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) license. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrzam%2Fshort-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrzam%2Fshort-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrzam%2Fshort-url/lists"}