{"id":17720833,"url":"https://github.com/ourongxing/newsnow","last_synced_at":"2025-10-20T08:21:04.681Z","repository":{"id":258393917,"uuid":"861790708","full_name":"ourongxing/newsnow","owner":"ourongxing","description":"Elegant reading of real-time and hottest news","archived":false,"fork":false,"pushed_at":"2025-09-17T06:01:15.000Z","size":5304,"stargazers_count":12974,"open_issues_count":90,"forks_count":3906,"subscribers_count":39,"default_branch":"main","last_synced_at":"2025-09-17T08:13:02.962Z","etag":null,"topics":["elegant","news"],"latest_commit_sha":null,"homepage":"https://newsnow.busiyi.world","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/ourongxing.png","metadata":{"files":{"readme":"README.ja-JP.md","changelog":null,"contributing":"CONTRIBUTING.md","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":null,"dco":null,"cla":null}},"created_at":"2024-09-23T14:16:12.000Z","updated_at":"2025-09-17T08:04:40.000Z","dependencies_parsed_at":"2024-10-26T15:28:44.894Z","dependency_job_id":"8626b8e7-b27f-4a10-acc4-29ab18b8bb9a","html_url":"https://github.com/ourongxing/newsnow","commit_stats":{"total_commits":248,"total_committers":2,"mean_commits":124.0,"dds":"0.012096774193548376","last_synced_commit":"3b843c39d39f0b8bcc6870a88ec9250c569c13f0"},"previous_names":["ourongxing/newsnow"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/ourongxing/newsnow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourongxing%2Fnewsnow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourongxing%2Fnewsnow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourongxing%2Fnewsnow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourongxing%2Fnewsnow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ourongxing","download_url":"https://codeload.github.com/ourongxing/newsnow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourongxing%2Fnewsnow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280052803,"owners_count":26264260,"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-10-20T02:00:06.978Z","response_time":62,"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":["elegant","news"],"created_at":"2024-10-25T15:29:21.050Z","updated_at":"2025-10-20T08:21:04.676Z","avatar_url":"https://github.com/ourongxing.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","🛠️ Developer Tools"],"sub_categories":[],"readme":"![](/public/og-image.png)\n\n[English](./README.md) | [简体中文](README.zh-CN.md) | 日本語\n\n\u003e [!NOTE]\n\u003e 本バージョンはデモ版であり、現在中国語のみ対応しています。カスタマイズ機能や英語コンテンツをサポートした正式版は後日リリース予定です。\n\n***リアルタイムで最新のニュースをエレガントに読む***\n\n## 機能\n- 最適な読書体験のためのクリーンでエレガントなUIデザイン\n- トレンドニュースのリアルタイム更新\n- GitHub OAuthログインとデータ同期\n- デフォルトのキャッシュ期間は30分（ログインユーザーは強制更新可能）\n- リソース使用を最適化し、IPブロックを防ぐためのソース更新頻度に基づく適応型スクレイピング間隔（最短2分）\n- MCPサーバーをサポート\n\n```json\n{\n  \"mcpServers\": {\n    \"newsnow\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"newsnow-mcp-server\"\n      ],\n      \"env\": {\n        \"BASE_URL\": \"https://newsnow.busiyi.world\"\n      }\n    }\n  }\n}\n```\n\n## デプロイ\n\n### 基本デプロイ\nログインとキャッシュ機能なしでデプロイする場合：\n1. このリポジトリをフォーク\n2. Cloudflare PagesやVercelなどのプラットフォームにインポート\n\n### Cloudflare Pages設定\n- ビルドコマンド：`pnpm run build`\n- 出力ディレクトリ：`dist/output/public`\n\n### GitHub OAuth設定\n1. [GitHub Appを作成](https://github.com/settings/applications/new)\n2. 特別な権限は不要\n3. コールバックURLを設定：`https://your-domain.com/api/oauth/github`（your-domainを実際のドメインに置き換え）\n4. Client IDとClient Secretを取得\n\n### 環境変数\n`example.env.server`を参照。ローカル開発では、`.env.server`にリネームして以下を設定：\n\n```env\n# GitHub Client ID\nG_CLIENT_ID=\n# GitHub Client Secret\nG_CLIENT_SECRET=\n# JWT Secret（通常はClient Secretと同じ）\nJWT_SECRET=\n# データベース初期化（初回実行時はtrueに設定）\nINIT_TABLE=true\n# キャッシュを有効にするかどうか\nENABLE_CACHE=true\n```\n\n### データベースサポート\n対応データベースコネクタ： https://db0.unjs.io/connectors Cloudflare D1 Database を推奨。\n\n1. Cloudflare WorkerダッシュボードでD1データベースを作成\n2. `wrangler.toml` に `database_id` と `database_name` を設定\n3. `wrangler.toml` が存在しない場合、 `example.wrangler.toml` をリネームして設定を変更\n4. 次回デプロイ時に変更が反映\n\n### Dockerデプロイ\nプロジェクトルートディレクトリで：\n\n```sh\ndocker compose up\n ```\n\n環境変数は `docker-compose.yml` でも設定可能。\n\n## 開発\n\u003e [!TIP]\n\u003e Node.js \u003e= 20が必要\n\n```sh\ncorepack enable\npnpm i\npnpm dev\n ```\n\n### データソースの追加\n`shared/sources` と `server/sources` ディレクトリを参照。プロジェクトは完全な型定義とクリーンなアーキテクチャを提供します。\n\n## ロードマップ\n- **多言語サポート**の追加（英語、中国語、その他言語を順次対応）\n- **パーソナライズオプション**の改善（カテゴリ別ニュース、保存された設定）\n- **データソース**の拡充による多言語対応のグローバルニュースカバレッジ\n\n## コントリビューション\nコントリビューションを歓迎します！機能リクエストやバグレポートのために、プルリクエストやイシューの作成をお気軽にどうぞ。\n\n## ライセンス\nMIT © ourongxing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fourongxing%2Fnewsnow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fourongxing%2Fnewsnow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fourongxing%2Fnewsnow/lists"}