{"id":25979287,"url":"https://github.com/stanleymasinde/url_expander","last_synced_at":"2025-08-31T05:34:10.943Z","repository":{"id":280452925,"uuid":"942045480","full_name":"StanleyMasinde/url_expander","owner":"StanleyMasinde","description":"Take short links follow them and return the final URL","archived":false,"fork":false,"pushed_at":"2025-08-04T15:33:34.000Z","size":95,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-15T23:46:02.218Z","etag":null,"topics":["anti-tracking","privacy","rust","url-expander"],"latest_commit_sha":null,"homepage":"https://lnky.stanleymasinde.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StanleyMasinde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2025-03-03T13:39:06.000Z","updated_at":"2025-08-04T15:33:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"34b1ba82-f4a1-4b94-b869-1912b49ef959","html_url":"https://github.com/StanleyMasinde/url_expander","commit_stats":null,"previous_names":["stanleymasinde/url_expander"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/StanleyMasinde/url_expander","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StanleyMasinde%2Furl_expander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StanleyMasinde%2Furl_expander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StanleyMasinde%2Furl_expander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StanleyMasinde%2Furl_expander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StanleyMasinde","download_url":"https://codeload.github.com/StanleyMasinde/url_expander/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StanleyMasinde%2Furl_expander/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272940981,"owners_count":25019016,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["anti-tracking","privacy","rust","url-expander"],"created_at":"2025-03-05T06:29:26.304Z","updated_at":"2025-08-31T05:34:10.915Z","avatar_url":"https://github.com/StanleyMasinde.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Expander\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/StanleyMasinde/url_expander)\n\n### What is it?\n\nThe URL Expander API allows you to expand shortened URLs and return the final destination URL. This helps bypass tracking mechanisms and ensures privacy.\nIt can also be used as a proxy to bypass CORS.\n\nBypassing CORS is not a good idea unless you are in development. Or in this case, you might need to bypass CORS so that you can\nPreview Links from your front-end applications. This is how [Lnky](https://lnky.stanleymasinde.com), does it. It routes the URL through the `proxy` endpoint.\n\n### Usage\n\n#### Expand a URL\nGET lnky.api.stanleymasinde.com?url=\u003cshorturl\u003e\n##### Example:\n```shell\n  curl \"https://lnky.api.stanleymasinde.com?url=https://bit.ly\"\n```\n\n#### Proxy a URL to bypass CORS:\nGET lnky.api.stanleymasinde.com/proxy?url=\u003curl\u003e\n#### Example:\n```shell\n  curl \"https://lnky.api.stanleymasinde.com/proxy?url=https://stanleymasinde.com\"\n```\n\n### Response Format\n\n* The API returns a plain text response containing the final URL or plain HTML. It does not return JSON or HTML.\n\n### Is this Deployed?\n\nYes, it is part of my [Lnky project on GitHub](https://github.com/StanleyMasinde/Lnky). It is responsible for expanding short links like bit.ly.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanleymasinde%2Furl_expander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstanleymasinde%2Furl_expander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanleymasinde%2Furl_expander/lists"}