{"id":28385927,"url":"https://github.com/gldraphael/redirector","last_synced_at":"2025-06-30T21:35:29.983Z","repository":{"id":160272893,"uuid":"634773858","full_name":"gldraphael/redirector","owner":"gldraphael","description":"🔀 A config-only barebones URL shortener.","archived":false,"fork":false,"pushed_at":"2024-10-16T18:09:12.000Z","size":29,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T14:45:17.009Z","etag":null,"topics":["config","url-shortener"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gldraphael.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":"2023-05-01T06:36:34.000Z","updated_at":"2024-10-17T09:08:46.000Z","dependencies_parsed_at":"2024-08-19T07:56:18.156Z","dependency_job_id":"324b7304-9554-4958-ab8c-d35bc139b234","html_url":"https://github.com/gldraphael/redirector","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gldraphael/redirector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fredirector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fredirector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fredirector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fredirector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gldraphael","download_url":"https://codeload.github.com/gldraphael/redirector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fredirector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262067760,"owners_count":23253665,"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":["config","url-shortener"],"created_at":"2025-05-30T12:13:57.858Z","updated_at":"2025-06-26T12:31:03.754Z","avatar_url":"https://github.com/gldraphael.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redirector\n\n`redirector` is a config-only bare bones URL shortener. \n\nIt supports the following features:\n\n* Use configuration to set URL slugs to redirect to a target URL.\n* 30MB uncompressed docker image (13MB compressed).\n* No database, no analytics, no external dependencies.\n\nRedirection rules can be configured using a simple `rules.yaml` file:\n\n```yaml\nrules:\n  - slug:   author\n    target: https://github.com/gldraphael\n  - slug:   repo\n    target: https://github.com/gldraphael/redirector\n```\n\n## Quickstart with docker\n\n```sh\ndocker run --rm -p 8080:8080 ghcr.io/gldraphael/redirector:main\n# localhost:8080/repo will now redirect to this repo\n```\n\n## Quickstart with go\n\n```sh\ngo run .\n```\n\n## Configuration\n\nEnvironment variable        | Default value    | Description\n----------------------------|------------------|----------------------\n`REDIRECTOR_RULES`          | `./rules.yaml`   | The file to read the redirection rules from.\n`REDIRECTOR_SERVER_ADDRESS` | `localhost:8080` | The server address.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgldraphael%2Fredirector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgldraphael%2Fredirector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgldraphael%2Fredirector/lists"}