{"id":16922998,"url":"https://github.com/unasuke/blade-redirector","last_synced_at":"2026-04-13T17:02:09.478Z","repository":{"id":150398335,"uuid":"586183056","full_name":"unasuke/blade-redirector","owner":"unasuke","description":"Redirect from blade.nagaokaut.ac.jp's ruby-core and ruby-dev mailing list archive that's no longer available to blade.ruby-lang.org.","archived":false,"fork":false,"pushed_at":"2023-02-04T09:35:41.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T00:15:32.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/unasuke.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},"funding":{"github":"unasuke","custom":"https://www.buymeacoffee.com/unasuke"}},"created_at":"2023-01-07T08:22:44.000Z","updated_at":"2023-01-07T09:04:48.000Z","dependencies_parsed_at":"2023-04-05T07:04:06.631Z","dependency_job_id":null,"html_url":"https://github.com/unasuke/blade-redirector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/unasuke/blade-redirector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fblade-redirector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fblade-redirector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fblade-redirector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fblade-redirector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unasuke","download_url":"https://codeload.github.com/unasuke/blade-redirector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fblade-redirector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264862355,"owners_count":23674947,"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":[],"created_at":"2024-10-13T19:57:32.207Z","updated_at":"2026-04-13T17:02:09.472Z","avatar_url":"https://github.com/unasuke.png","language":"JavaScript","funding_links":["https://github.com/sponsors/unasuke","https://www.buymeacoffee.com/unasuke"],"categories":[],"sub_categories":[],"readme":"# Blade redirector\n\n## What?\nBlade ruby mailing list archive redirector. Redirect from `blade.nagaokaut.ac.jp`'s ruby-core and ruby-dev mailing list archive that's no longer available to `blade.ruby-lang.org` that's the alternative.\n\n## Install\n### Chrome web store\n\n[Blade redirector - Chrome Web Store](https://chrome.google.com/webstore/detail/blade-redirector/cpgeohmncpielpaegfbdhkhaccoocbcc)\n\n### Firefox\nwait a moment...\n\n### UserScript\nSee also [misc/blade-redirector.user.js](misc/blade-redirector.user.js)\n\n```javascript\n// ==UserScript==\n// @name         Blade ruby mailing list archive redirector\n// @version      0.1.0\n// @description  Redirect from blade.nagaokaut.ac.jp's ruby-core and ruby-dev mailing list archive that's no longer available to blade.ruby-lang.org that's the alternative.\n// @author       unasuke (Yusuke Nakamura)\n// @match        http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/*\n// @match        http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/*\n// @icon         https://avatars.githubusercontent.com/u/4487291?v=4\n// @updateURL    https://github.com/unasuke/blade-redirector/raw/main/misc/blade-redirector.user.js\n// @downloadURL  https://github.com/unasuke/blade-redirector/raw/main/misc/blade-redirector.user.js\n// @supportURL   https://github.com/unasuke/blade-redirector\n// ==/UserScript==\n\n(function () {\n  \"use strict\";\n\n  const dialog = (url) =\u003e {\n    const anchor = `\u003ca href=\"${url}\"\u003e${url}\u003c/a\u003e`;\n    const elem = document.createElement(\"div\");\n    elem.innerHTML = `Redirect to \u003cpre style=\"display: inline-block\"\u003e${anchor}\u003c/pre\u003e after 3 seconds.`;\n    elem.setAttribute(\"style\", \"font-size: 20px; font-weight: bold\");\n    return elem;\n  };\n\n  const location = document.location.pathname;\n\n  if (\n    location.startsWith(\"/cgi-bin/scat.rb/ruby/ruby-dev/\") ||\n    location.startsWith(\"/cgi-bin/scat.rb/ruby/ruby-core/\")\n  ) {\n    const newPath = location.replace(\"/cgi-bin/scat.rb/ruby/\", \"\");\n    const newUrl = `https://blade.ruby-lang.org/${newPath}`;\n    const htmlBody = document.getElementsByTagName(\"body\")[0];\n    setTimeout(() =\u003e {\n      htmlBody.prepend(dialog(newUrl));\n    }, 500);\n\n    setTimeout(() =\u003e {\n      window.location.assign(newUrl);\n    }, 3500);\n  }\n})();\n\n```\n\n## License\nThe original image used for the icon is referenced from twemoji. It's licensed under CC-BY 4.0\n\n* \u003chttps://twemoji.twitter.com\u003e\n* \u003chttps://creativecommons.org/licenses/by/4.0/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Fblade-redirector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funasuke%2Fblade-redirector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Fblade-redirector/lists"}