{"id":20432965,"url":"https://github.com/cdzombak/unshorten","last_synced_at":"2026-03-06T09:05:11.992Z","repository":{"id":66912922,"uuid":"257921656","full_name":"cdzombak/unshorten","owner":"cdzombak","description":"Simple, verbose URL unshortener.","archived":false,"fork":false,"pushed_at":"2024-09-03T22:30:36.000Z","size":27,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T18:42:23.388Z","etag":null,"topics":["http","url-shortener"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/cdzombak.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":"2020-04-22T14:14:01.000Z","updated_at":"2024-05-02T20:24:48.000Z","dependencies_parsed_at":"2023-05-13T21:46:00.391Z","dependency_job_id":"f539d12f-4ab2-440d-9ff5-e8044ded62ac","html_url":"https://github.com/cdzombak/unshorten","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Funshorten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Funshorten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Funshorten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Funshorten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdzombak","download_url":"https://codeload.github.com/cdzombak/unshorten/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241975581,"owners_count":20051495,"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":["http","url-shortener"],"created_at":"2024-11-15T08:17:17.863Z","updated_at":"2026-03-06T09:05:06.962Z","avatar_url":"https://github.com/cdzombak.png","language":"Makefile","readme":"# unshorten\n\nA simple, verbose URL unshortener.\n\n## Usage\n\n```text\nunshorten [OPTIONS] URL\n```\n\n### Options\n\n- `-max-redirects`: Maximum number of redirects to follow. (default 10)\n- `-quiet`: Run quietly; only display the final URL.\n- `-version`: Print version and exit.\n\n## Installation\n\n### macOS via Homebrew\n\n```shell\nbrew install cdzombak/oss/unshorten\n```\n\n### Debian via apt repository\n\nInstall my Debian repository if you haven't already:\n\n```shell\nsudo apt-get install ca-certificates curl gnupg\nsudo install -m 0755 -d /etc/apt/keyrings\ncurl -fsSL https://dist.cdzombak.net/deb.key | sudo gpg --dearmor -o /etc/apt/keyrings/dist-cdzombak-net.gpg\nsudo chmod 0644 /etc/apt/keyrings/dist-cdzombak-net.gpg\necho -e \"deb [signed-by=/etc/apt/keyrings/dist-cdzombak-net.gpg] https://dist.cdzombak.net/deb/oss any oss\\n\" | sudo tee -a /etc/apt/sources.list.d/dist-cdzombak-net.list \u003e /dev/null\nsudo apt-get update\n```\n\nThen install `unshorten` via `apt-get`:\n\n```shell\nsudo apt-get install unshorten\n```\n\n### Manual installation from build artifacts\n\nPre-built binaries for Linux and macOS on various architectures are downloadable from each [GitHub Release](https://github.com/cdzombak/unshorten/releases). Debian packages for each release are available as well.\n\n### Build and install locally\n\n```shell\ngit clone https://github.com/cdzombak/unshorten.git\ncd unshorten\nmake build\n\ncp out/unshorten $INSTALL_DIR\n```\n\n## Docker Images\n\nDocker images are available for a variety of Linux architectures from [Docker Hub](https://hub.docker.com/r/cdzombak/unshorten) and [GHCR](https://github.com/cdzombak/unshorten/pkgs/container/unshorten). Images are based on the `scratch` image and are as small as possible.\n\nRun them via, for example:\n\n```shell\ndocker run --rm cdzombak/unshorten:1 https://dzdz.cz\ndocker run --rm ghcr.io/cdzombak/unshorten:1 https://dzdz.cz\n```\n\n## About\n\n- Issues: [github.com/cdzombak/unshorten/issues](https://github.com/cdzombak/unshorten/issues)\n- Author: [Chris Dzombak](https://www.dzombak.com)\n  - [GitHub: @cdzombak](https://www.github.com/cdzombak)\n\n## License\n\nMIT; see `LICENSE` in this repository.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdzombak%2Funshorten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdzombak%2Funshorten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdzombak%2Funshorten/lists"}