{"id":46419475,"url":"https://github.com/zootedb0t/url_shortner","last_synced_at":"2026-03-05T15:04:21.242Z","repository":{"id":65322034,"uuid":"361800789","full_name":"zootedb0t/url_shortner","owner":"zootedb0t","description":"A simple url-shortner built using flask and bitly api.","archived":false,"fork":false,"pushed_at":"2025-03-10T12:20:51.000Z","size":4083,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T06:57:19.999Z","etag":null,"topics":["bitly-api","css","docker","docker-image","dockerfile","flask","html","url-shortener","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zootedb0t.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}},"created_at":"2021-04-26T15:30:17.000Z","updated_at":"2024-12-22T14:12:46.000Z","dependencies_parsed_at":"2024-02-13T13:42:38.814Z","dependency_job_id":"09ecc3f7-8bb7-4ea7-bcdb-6611730053de","html_url":"https://github.com/zootedb0t/url_shortner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zootedb0t/url_shortner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zootedb0t%2Furl_shortner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zootedb0t%2Furl_shortner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zootedb0t%2Furl_shortner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zootedb0t%2Furl_shortner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zootedb0t","download_url":"https://codeload.github.com/zootedb0t/url_shortner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zootedb0t%2Furl_shortner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30132585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T14:41:47.141Z","status":"ssl_error","status_checked_at":"2026-03-05T14:41:21.567Z","response_time":93,"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":["bitly-api","css","docker","docker-image","dockerfile","flask","html","url-shortener","webapp"],"created_at":"2026-03-05T15:04:20.306Z","updated_at":"2026-03-05T15:04:21.236Z","avatar_url":"https://github.com/zootedb0t.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener App ![GitHub](https://img.shields.io/github/license/zootedb0t/url_shortner) [![CodeQL](https://github.com/zootedb0t/url_shortner/actions/workflows/codeql.yml/badge.svg)](https://github.com/zootedb0t/url_shortner/actions/workflows/codeql.yml) [![Pylint](https://github.com/zootedb0t/url_shortner/actions/workflows/pylint.yml/badge.svg)](https://github.com/zootedb0t/url_shortner/actions/workflows/pylint.yml)\n\nA url-shortner built using flask and Bitly api. It has following dependencies:\n\n- Flask - Core dependency\n- SQLAlchemy - For working with database\n- requests - For sending GET and POST request\n- PyQRCode - For generating QR code of URL\n\nFor using bitly api go to [Bitly](https://bitly.com/) website and get a free account to get authentication key and group id. Use these credentials in the applications.\n\nTo find out `guid` for your account. Make a GET request to\n`https://api-ssl.bitly.com/v4/groups` you can use Postman, Curl, Node or Python request module.\n\nWhile making request pass your Authorization token to header. In curl you can do this\n\n```\ncurl \\\n-H 'Authorization: Bearer {TOKEN}' \\\n-X GET \\\nhttps://api-ssl.bitly.com/v4/groups\n```\nThis returns a json object containing `guid`.\nFor more [info](https://dev.bitly.com/api-reference/#getGroups)\n\n## Running App Locally\n- Clone the repo:\n``` \ngit clone https://github.com/zootedb0t/url_shortner \u0026\u0026 cd url_shortner\n```\n- Create a python virtual environment:\n``` \npython -m venv venv\n```\n- Activate virtual environment:\n```\nsource venv/bin/activate\n```\n- Install required modules:\n```\npip install -r requirements.txt\n```\n- Run app:\n``` \nflask run\n```\n\n## App in action\n\n### App home page\n\n![Screenshot_2023-02-09-09-15-41_1920x1080](https://user-images.githubusercontent.com/62596687/217713743-eec20961-bc2d-4bf8-8cfc-c5a548e608de.png)\n\n### Add Api Keys\n\n![Screenshot_2023-02-09-09-18-09_1920x1080](https://user-images.githubusercontent.com/62596687/217714137-37eb9f0f-c7fa-45a5-9e3e-2b1f378593e6.png)\n\n### User database containing urls\n\n![Screenshot_2023-03-24-01-54-00_1920x1080](https://user-images.githubusercontent.com/62596687/227464959-4840ac87-7ebe-48ae-b7aa-4208f9ea0481.png)\n\n### Short-URL generated through api\n\n![Screenshot_2023-03-17-11-46-59_1920x1080](https://user-images.githubusercontent.com/62596687/225827693-0fb0b78b-46ec-4f1b-bfb0-1fa19f24beb1.png)\n\n### Short-URL QR Code\n\n![Screenshot_2023-03-17-11-43-27_1920x1080](https://user-images.githubusercontent.com/62596687/225827304-4635c979-2da5-46fb-98af-a4c94ce7c0a0.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzootedb0t%2Furl_shortner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzootedb0t%2Furl_shortner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzootedb0t%2Furl_shortner/lists"}