{"id":16235941,"url":"https://github.com/phiilu/redirect-checker","last_synced_at":"2026-01-21T19:34:51.085Z","repository":{"id":83178536,"uuid":"314558778","full_name":"phiilu/redirect-checker","owner":"phiilu","description":"The Redirect Checker is a cli that allows to generate an nginx map from csvs/xlsx \u0026 checks the validity of the redirect - according to the input. ","archived":false,"fork":false,"pushed_at":"2020-11-20T13:15:31.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T08:29:42.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"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/phiilu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-20T13:15:09.000Z","updated_at":"2023-03-10T09:33:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"d048bc17-10bb-4cdc-a364-0bf80a546f82","html_url":"https://github.com/phiilu/redirect-checker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phiilu/redirect-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phiilu%2Fredirect-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phiilu%2Fredirect-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phiilu%2Fredirect-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phiilu%2Fredirect-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phiilu","download_url":"https://codeload.github.com/phiilu/redirect-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phiilu%2Fredirect-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28641274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T18:04:35.752Z","status":"ssl_error","status_checked_at":"2026-01-21T18:03:55.054Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-10T13:28:13.847Z","updated_at":"2026-01-21T19:34:51.060Z","avatar_url":"https://github.com/phiilu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redirect Checker\n\nThe Redirect Checker is a cli that allows to generate an nginx map from csvs/xlsx \u0026 checks the validity of the redirect - according to the input. \n\n## Installation \n\n`yarn`\n\n## Usage\n\nTo get an overview of all available options run \n\n```bash\n./redirect-checker --help\n```\n\n**Output:** \n```\nUsage: redirect-checker [options]\n\nOptions:\n  --url \u003curl\u003e                 Base URL entries will be tested against.\n  --source \u003csource\u003e           Relative path to csv or xlsx file (default: \"./input/redirects.xlsx\")\n  --sheets \u003csheets\u003e           Exclude only certain sheets by name, comma separated. e.g: jahresreport,halb jahres report\n  --googleSheetsId \u003csheetId\u003e  Google Sheet Id - eg. https://docs.google.com/spreadsheets/d/\u003cgoogle-sheets-id\u003e\n  --debug                     enables additional output\n  --to-nginx                  creates an an redirects.map \u0026 redirects.txt nginx file\n  -h, --help                  display help for command\n```\n\nRun basic check \n```bash\n./redirect-checker --url \"https://wienenergie.at\"\n```\n\n# Source\n\n## Document Structure\n\n| old                             | new                           | comment                           | exclude | testonly | regexEnabled |\n| ------------------------------- | ----------------------------- | --------------------------------- | ------- | -------- | ------------ |\n| /tarifkampangne                 | /tarifkampagne                | Fixes Typo                        |         |          |              |\n| ^/blog/energie                  | /blog/wien$1                  | Fix for blog                      |         |          | x            |\n| /blog/energie/going-live        | /blog/energie/wien/going-live | test for blog case                |         | x        |              |\n| /imnotsureifineedtoberedirected | /imprettysurethough           | Disabled - because we're not sure | x       |          |              |\n\n## Available Sources\n\n### File Based\n* csv\n* xlsx\n\n### Cloud Based\n\n**Google Sheets**\n\nUsage: \n1. Add your credentials.json to /drivers/credentials.json\n   (https://developers.google.com/sheets/api/quickstart/nodejs)\n2. run the `redirect-checker` with the `--googleSheetsId \"ID-HERE\"` option\n3. You're all set. The script now uses the google sheet as the source\n\n\u003e Please be aware the the file has to be a \"real\" google sheet (you can spot an invalid \"xlsx\" sheet by the green \"xlsx\" next to the sheet title)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphiilu%2Fredirect-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphiilu%2Fredirect-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphiilu%2Fredirect-checker/lists"}