{"id":31667868,"url":"https://github.com/roflsunriz/web-page-enhancement-scripts","last_synced_at":"2026-04-16T14:03:14.324Z","repository":{"id":318022532,"uuid":"1069734769","full_name":"roflsunriz/web-page-enhancement-scripts","owner":"roflsunriz","description":"Multiple userscripts for various web pages to enhance its usability","archived":false,"fork":false,"pushed_at":"2026-03-21T05:30:47.000Z","size":3141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T21:27:25.531Z","etag":null,"topics":["greasemonkey-userscript","javascript","tampermonkey-userscript","typescript","userscript","violentmonkey-userscript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/roflsunriz.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-10-04T14:16:58.000Z","updated_at":"2026-03-21T05:30:50.000Z","dependencies_parsed_at":"2025-10-04T16:19:13.891Z","dependency_job_id":"bf79cb3f-3ba7-4e64-a681-f006643b2ab6","html_url":"https://github.com/roflsunriz/web-page-enhancement-scripts","commit_stats":null,"previous_names":["roflsunriz/web-page-enhancement-scripts"],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/roflsunriz/web-page-enhancement-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roflsunriz%2Fweb-page-enhancement-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roflsunriz%2Fweb-page-enhancement-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roflsunriz%2Fweb-page-enhancement-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roflsunriz%2Fweb-page-enhancement-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roflsunriz","download_url":"https://codeload.github.com/roflsunriz/web-page-enhancement-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roflsunriz%2Fweb-page-enhancement-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31888936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["greasemonkey-userscript","javascript","tampermonkey-userscript","typescript","userscript","violentmonkey-userscript"],"created_at":"2025-10-08T00:48:51.864Z","updated_at":"2026-04-16T14:03:14.319Z","avatar_url":"https://github.com/roflsunriz.png","language":"TypeScript","readme":"web-page-enhancement-scripts\n================================\n[![CI](https://github.com/roflsunriz/web-page-enhancement-scripts/actions/workflows/release.yaml/badge.svg)](https://github.com/roflsunriz/web-page-enhancement-scripts/actions/workflows/release.yaml)\n[![Lint](https://img.shields.io/badge/lint-eslint9-blue?logo=eslint\u0026logoColor=white)](https://eslint.org/)\n[![TypeScript](https://img.shields.io/badge/types-TypeScript%205.x-3178c6?logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/)\n[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/roflsunriz/web-page-enhancement-scripts/pulls)\n[![CI](https://github.com/roflsunriz/web-page-enhancement-scripts/actions/workflows/ci.yaml/badge.svg)](https://github.com/roflsunriz/web-page-enhancement-scripts/actions/workflows/ci.yaml)\n\n\nこれは複数のウェブページ向けユーザースクリプト（Tampermonkey / Greasemonkey）を管理するリポジトリです。TypeScript と Vite を用いて開発され、`dist/` にビルド済みの userscript（`.user.js` / `.meta.js`）が出力されます。\n\nプロジェクト構成（概要）\n-----------------------\n\n- `src/` — 各ユーザースクリプトのソースコード。サブディレクトリごとに機能を分離。\n  - `chatgpt-notify/` — 生成完了通知（ChatGPT 連携想定）\n  - `d-anime/` — dアニメ向けニコニコ動画コメントレンダリングスクリプト\n  - `d-anime-cf-ranking/` — dアニメCFページ向け作品人気度ランキング表示スクリプト\n  - `image-collector/` — ページ内画像の一括収集・ZIP ダウンロード\n  - `imgur-direct-link/` — Imgur 画像の直接リンク取得\n  - `native-video-volume-setter/` — ブラウザ標準のビデオプレーヤー音量を既定値に揃える補助スクリプト\n  - `manga-viewer/` — 漫画・画像閲覧ブックスタイルビューア（React コンポーネント含む）\n  - `twitter-*` 系 — Twitter 関連の各種ユーティリティ（画像、フィルタ、スレッドコピー等）\n  - `x-auto-spam-reporter/` — X/Twitter のリプライをワンクリックでスパム報告＆ブロック\n  - `x-community-note-close/` — X/Twitter のコミュニティノート評価モーダルをバックドロップクリックで閉じる\n  - `youtube-info-copier/` — YouTube の動画情報をコピーするツール\n- `shared/` — DOM ヘルパー、GM HTTP、ロガー、共通型定義などのユーティリティ\n- `dist/` — ビルド済みの userscript（配布用）\n\n各種ユーザースクリプトの説明は[userscripts.md](userscripts.md)を参照してください。\n\nユーザースクリプトのサブスクライブ\n----------------------\nリンクをクリックすることでTampermonkeyが自動的にインストールウィンドウを開き、インストールを行うことができます。\n\n- [chatgpt-notify](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/chatgpt-notify.user.js)\n- [d-anime-cf-ranking](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/d-anime-cf-ranking.user.js)\n- [d-anime-nico-comment-renderer](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/d-anime-nico-comment-renderer.user.js)\n- [fanbox-floating-menu](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/fanbox-floating-menu.user.js)\n- [fanbox-pagination-helper](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/fanbox-pagination-helper.user.js)\n- [image-collector](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/image-collector.user.js)\n- [imgur-direct-link](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/imgur-direct-link.user.js)\n- [native-video-volume-setter](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/native-video-volume-setter.user.js)\n- [book-style-manga-viewer](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/manga-viewer.user.js)\n- [twitter-clean-ui](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/twitter-clean-ui.user.js)\n- [twitter-full-size-image](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/twitter-full-size-image.user.js)\n- [twitter-clean-timeline](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/twitter-clean-timeline.user.js)\n- [twitter-thread-copier](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/twitter-thread-copier.user.js)\n- [x-auto-spam-reporter](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/x-auto-spam-reporter.user.js)\n- [x-community-note-close](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/x-community-note-close.user.js)\n- [youtube-info-copier](https://github.com/roflsunriz/web-page-enhancement-scripts/raw/refs/heads/main/dist/youtube-info-copier.user.js)\n\n配布・導入\n---------\n\n1. `dist/` 内の `.user.js` ファイルを開いて右上のRawボタンを押すとTampermonkeyのユーザースクリプトとして読み込めます。そのままインストールするか、Tampermonkey の「新しいスクリプトを追加」から貼り付けてインストールします。\n2. `.meta.js` はメタ情報の参照やホスティング時に使用できます。\n\nアップデート手順\n---------------\n\n1. Tampermonkeyのアイコンを押し、ダッシュボードを開きます。\n2. 「インストール済み」タブを開き、対象のスクリプトを選択します。\n3. 「選択したスクリプトすべてにこの操作を適用」から「更新を確認」を選択し「実行」ボタンを押すと、最新版があれば自動的に更新されます。\n\nインストール（開発環境）\n----------------------\n\n前提\n- Bun（推奨：v1.3.8以上）\n\n手順\n1. リポジトリをクローンします。\n\n```bash\ngit clone https://github.com/roflsunriz/web-page-enhancement-scripts.git\ncd web-page-enhancement-scripts\n```\n\n2. 依存関係をインストールします。\n\n```bash\npowershell -c \"irm bun.sh/install.ps1|iex\"\nbun install\n```\n\n3. 開発サーバを起動します（スクリプト毎にモードを指定）。例：\n\n```bash\n# YouTube 情報コピー UI を開発する場合\nbun dev:youtube-info-copier\n\n# 画像収集機能を開発する場合\nbun dev:image-collector\n```\n\n開発用のモードは `package.json` の `scripts` に多数定義されています（例: `dev:d-anime`, `dev:twitter-thread-copier` 等）。\n\nビルド\n-----\n\nすべての userscript をビルドして `dist/` に出力するには：\n\n```bash\nbun build\n```\n\nコード品質チェック\n------------------\n\n型チェック、リンティング、フォーマットは以下で実行できます:\n\n```bash\nbun type-check   # tsc --noEmit\nbun lint         # eslint src/**/*.ts\nbun format       # prettier --write src/**/*.ts\n```\n\n\n開発者向けノート\n-----------------\n\n- 型定義は `src/shared/types` に集約されています。\n- 各スクリプトは SPA 向けに `MutationObserver` を使った URL 監視やシャドウ DOM を使用することがあります。\n- 大量ダウンロード系（image-collector）はバッチ制御やリトライを実装しています。\n\n貢献\n----\n\nPR 前に以下を実行してください：\n\n```bash\nbun install\nbun type-check\nbun lint\nbun build\n```\n\nライセンス\n-------\n\nMIT\n\n\nCI / PR Checks\n-------------\n\nこのリポジトリは GitHub Actions を使った CI と PR Checksを提供します。\n\n- **CI**: `main` ブランチへの push および PR で `lint` / `type-check` / `build` を実行します。\n- **PR Quick Checks**: PR 作成時に `lint` と `type-check` を早期に検出します。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froflsunriz%2Fweb-page-enhancement-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froflsunriz%2Fweb-page-enhancement-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froflsunriz%2Fweb-page-enhancement-scripts/lists"}