{"id":16495870,"url":"https://github.com/kurema/nicochcgi_docker","last_synced_at":"2025-09-01T08:10:53.537Z","repository":{"id":91232955,"uuid":"305620787","full_name":"kurema/nicochcgi_docker","owner":"kurema","description":"ニコニコチャンネルのキャッシュサーバー","archived":false,"fork":false,"pushed_at":"2024-05-28T05:20:45.000Z","size":1945,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T23:52:01.959Z","etag":null,"topics":["cache","docker","docker-multiarch","download-videos","downloader","nico-nico-douga","niconico","nicovideo"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/kurema.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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":"kurema","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-10-20T07:10:27.000Z","updated_at":"2024-05-27T07:22:33.000Z","dependencies_parsed_at":"2024-04-10T20:30:57.156Z","dependency_job_id":"081e2aef-bb5c-4a28-91da-69a9e6402467","html_url":"https://github.com/kurema/nicochcgi_docker","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/kurema/nicochcgi_docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurema%2Fnicochcgi_docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurema%2Fnicochcgi_docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurema%2Fnicochcgi_docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurema%2Fnicochcgi_docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kurema","download_url":"https://codeload.github.com/kurema/nicochcgi_docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurema%2Fnicochcgi_docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273093569,"owners_count":25044437,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cache","docker","docker-multiarch","download-videos","downloader","nico-nico-douga","niconico","nicovideo"],"created_at":"2024-10-11T14:33:10.649Z","updated_at":"2025-09-01T08:10:53.495Z","avatar_url":"https://github.com/kurema.png","language":"HTML","funding_links":["https://github.com/sponsors/kurema"],"categories":[],"sub_categories":[],"readme":"# nicochcgi\n![Docker Container Build Workflow](https://github.com/kurema/nicochcgi_docker/workflows/Docker%20Container%20Build%20Workflow/badge.svg)\n\nニコニコチャンネルの自動キャッシュサーバー\n\n## 概要\nニコニコチャンネルを監視して、ダウンロードするツールです。  \nダウンロードスクリプトに管理用のcgi、API、プレイヤー、テレビ向けUI等含めます。\n\n[nicocache/nicochcgi](https://github.com/nicocache/nicochcgi)のDocker対応版で、現在こちらを主に開発しています。\n\n[Qiita記事](https://qiita.com/kurema/items/795f547a5c105b73b792)\n\n## デモ\n* [メインページ](https://nicocache.github.io/nicoch/)\n* [TV向けUI](https://nicocache.github.io/nicoch/tv.html)\n* [動画プレイヤー](https://nicocache.github.io/play.html#0)  \n\n最新版とは限りません。静的サイト版。\n\n## 使い方\n1. セットアップ\n``` bash\n$ git pull https://github.com/kurema/nicochcgi_docker.git\n$ cd nicochcgi_docker\n$ nano docker-compose.yml\n$ sudo docker-compose up -d\n$ chmod 666 config/*\n$ chmod 777 videos/*.sh\n```\n\n2. 基本設定\n``` bash\n$ sudo docker-compose exec nicochcgi perl /var/www/html/get_password.pl\n$ nano config/nicoch.conf\n```\n\n設定変更用パスワード・ニコニコ動画のアカウント情報を設定します。  \n設定変更用パスワードの初期値は``SyRDw3kGZ``です。  \nhls暗号化対応設定を自身の責任で確認してください。\n\n3. 自動ダウンロード\n``` bash\n$ sudo crontab -e\n```\n\n``` ctontab\n0 3 * * * cd docker-compose.ymlの存在する場所 \u0026\u0026 docker-compose exec -T nicochcgi perl /var/www/html/nico-anime.pl \u003e\u003e ログファイル 2\u003e\u00261 \u0026\u0026 docker-compose exec -T nicochcgi perl /media/niconico/mkthumb.sh \u003e\u003e ログファイル 2\u003e\u00261\n```\n\n4. その他\n\n* http://サーバー名:50001/ でアクセスできます。録画予約→一括編集、でキャッシュするチャンネルを登録します。\n* キャッシュフォルダを移動させる場合は、docker-compose.ymlを編集してください。その際、mkthumb.shもコピーしてください。\n* 単純にキャッシュフォルダをファイル共有しても良いでしょう。\n\n## 標準版との違い\n* ニコニコアカウント情報がnicoch.conf内に移動\n* 標準で操作パスワードを追加\n* 設定を同一フォルダ内から``/etc/nicochcgi``に移動\n\n以上の違いだけで、Docker環境でなくとも概ね同様に使えます。\n\n## アプリ\n### [UWP版クライアント](https://www.microsoft.com/store/productId/9PFMPFTFX4W6)\nWindowsで利用できるUWP版のクライアントがあります。\n\n* [ストア](https://www.microsoft.com/store/productId/9PFMPFTFX4W6)\n* [プロジェクトページ](https://github.com/kurema/NicochViewerUWP)\n\n## スクリーンショット\n![](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/146467/e56f9df6-48ac-58af-e8f1-967b3d4790d6.png)\n\n## 謝辞\n[Takumi Akiyama](https://github.com/akiym)様の[nico-anime.pl](https://gist.github.com/akiym/928802) (削除済み)がベースになっています。  \n感謝します。  \n\n2024年の仕様変更対応では[AlexAplin](https://github.com/AlexAplin)様の[nndownload](https://github.com/AlexAplin/nndownload)を参照させていただきました。感謝いたします。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurema%2Fnicochcgi_docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkurema%2Fnicochcgi_docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurema%2Fnicochcgi_docker/lists"}