{"id":20642526,"url":"https://github.com/aditeyabaral/redirector","last_synced_at":"2026-02-27T09:11:25.186Z","repository":{"id":46654363,"uuid":"342570074","full_name":"aditeyabaral/redirector","owner":"aditeyabaral","description":"A simple link redirecting service built using Flask","archived":false,"fork":false,"pushed_at":"2022-10-01T06:59:09.000Z","size":18,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T03:32:16.392Z","etag":null,"topics":["flask","flask-sqlalchemy","python3","redirect-urls","redirecting-requests","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://goto-link.herokuapp.com","language":"Python","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/aditeyabaral.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":"2021-02-26T12:31:44.000Z","updated_at":"2022-10-29T18:01:54.000Z","dependencies_parsed_at":"2023-01-18T21:55:20.614Z","dependency_job_id":null,"html_url":"https://github.com/aditeyabaral/redirector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditeyabaral%2Fredirector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditeyabaral%2Fredirector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditeyabaral%2Fredirector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditeyabaral%2Fredirector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aditeyabaral","download_url":"https://codeload.github.com/aditeyabaral/redirector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182807,"owners_count":21226123,"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":["flask","flask-sqlalchemy","python3","redirect-urls","redirecting-requests","sqlalchemy"],"created_at":"2024-11-16T16:09:21.630Z","updated_at":"2026-02-27T09:11:20.144Z","avatar_url":"https://github.com/aditeyabaral.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redirector\n\nRedirector is a simple link redirecting service. Built using Flask and SQLAlchemy, it aims to provide a way to shorten and redirect links but usually fails at the former. \n\n# How to use Redirector?\n\n## Creating redirecting links\n\nSince I'm awful at making pretty interfaces, creation of redirection links can currently only take place using POST requests.\n\nUse the following Python script to make a POST request and create your link.\n\n```Python\nimport sys\nimport requests\n\nparams = {\n    \"source_url\" = sys.argv[1],\n    \"alias_url\" = sys.argv[2]\n}\n\nresponse = requests.post(\"https://goto-link.herokuapp.com/register\", data=params)\nprint(str(response.content))\n```\n\nExecute the above script using\n\n```bash\npython3 source_url alias_url\n```\n\nExample, use\n```bash\npython3 https://github.com/ git\n```\n\n## Accessing redirecting links\n\nYou can access an alias link using `goto-link/alias_name`\n\n# Why use Redirector?\n\n* Open Source\n\nYup, that's the only advantage I can think of.\n\n# Why not to use Redirector?\n\n* The alias links may not be always shorter because of the size of the link prefix\n* Creation of alias links is tedious (for now)\n\nIt is not as bad as it sounds though.\n\n# How to contribute to Redirector?\n\nA pretty interface to create alias links would be a good starting point. \n\n# Why did I make a link redirecting service?\n\nHonestly, even I do not know why this exists.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faditeyabaral%2Fredirector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faditeyabaral%2Fredirector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faditeyabaral%2Fredirector/lists"}