[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-184":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},184,"newsnow","ourongxing\u002Fnewsnow","ourongxing","Elegant reading of real-time and hottest news",null,"https:\u002F\u002Fgithub.com\u002Fourongxing\u002Fnewsnow","TypeScript",20677,5757,67,135,0,17,103,496,79,45,false,"main",[25,26],"news","elegant","2026-06-12 02:00:09","![](\u002Fpublic\u002Fog-image.png)\n\nEnglish | [简体中文](README.zh-CN.md) | [日本語](README.ja-JP.md)\n\n> [!NOTE]\n> This is a demo version currently supporting Chinese only. A full-featured version with better customization and English content support will be released later.\n\n**_Elegant reading of real-time and hottest news_**\n\n## Features\n\n- Clean and elegant UI design for optimal reading experience\n- Real-time updates on trending news\n- GitHub OAuth login with data synchronization\n- 30-minute default cache duration (logged-in users can force refresh)\n- Adaptive scraping interval (minimum 2 minutes) based on source update frequency to optimize resource usage and prevent IP bans\n- support MCP server\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:\u002F\u002Fnewsnow.busiyi.world\"\n      }\n    }\n  }\n}\n```\nYou can change the `BASE_URL` to your own domain.\n\n## Deployment\n\n### Basic Deployment\n\nFor deployments without login and caching:\n\n1. Fork this repository\n2. Import to platforms like Cloudflare Page or Vercel\n\n### Cloudflare Page Configuration\n\n- Build command: `pnpm run build`\n- Output directory: `dist\u002Foutput\u002Fpublic`\n\n### GitHub OAuth Setup\n\n1. [Create a GitHub App](https:\u002F\u002Fgithub.com\u002Fsettings\u002Fapplications\u002Fnew)\n2. No special permissions required\n3. Set callback URL to: `https:\u002F\u002Fyour-domain.com\u002Fapi\u002Foauth\u002Fgithub` (replace `your-domain` with your actual domain)\n4. Obtain Client ID and Client Secret\n\n### Environment Variables\n\nRefer to `example.env.server`. For local development, rename it to `.env.server` and configure:\n\n```env\n# Github Client ID\nG_CLIENT_ID=\n# Github Client Secret\nG_CLIENT_SECRET=\n# JWT Secret, usually the same as Client Secret\nJWT_SECRET=\n# Initialize database, must be set to true on first run, can be turned off afterward\nINIT_TABLE=true\n# Whether to enable cache\nENABLE_CACHE=true\n```\n\n### Database Support\n\nSupported database connectors: https:\u002F\u002Fdb0.unjs.io\u002Fconnectors\n**Cloudflare D1 Database** is recommended.\n\n1. Create D1 database in Cloudflare Worker dashboard\n2. Configure database_id and database_name in wrangler.toml\n3. If wrangler.toml doesn't exist, rename example.wrangler.toml and modify configurations\n4. Changes will take effect on next deployment\n\n### Docker Deployment\n\nIn project root directory:\n\n```sh\ndocker compose up\n```\n\nYou can also set Environment Variables in `docker-compose.yml`.\n\n## Development\n\n> [!Note]\n> Requires Node.js >= 20\n\n```sh\ncorepack enable\npnpm i\npnpm dev\n```\n\n### Adding Data Sources\n\nRefer to `shared\u002Fsources` and `server\u002Fsources` directories. The project provides complete type definitions and a clean architecture.\n\nFor detailed instructions on how to add new sources, see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Roadmap\n\n- Add **multi-language support** (English, Chinese, more to come).\n- Improve **personalization options** (category-based news, saved preferences).\n- Expand **data sources** to cover global news in multiple languages.\n\n**_release when ready_**\n![](https:\u002F\u002Ftestmnbbs.oss-cn-zhangjiakou.aliyuncs.com\u002Fpic\u002F20250328172146_rec_.gif?x-oss-process=base_webp)\n\n## Contributing\n\nContributions are welcome! Feel free to submit pull requests or create issues for feature requests and bug reports.\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines on how to contribute, especially for adding new data sources.\n\n## License\n\n[MIT](.\u002FLICENSE) © ourongxing\n","newsnow 是一个用于优雅阅读实时和热门新闻的项目。它采用了 TypeScript 语言开发，具备简洁优雅的用户界面设计，支持实时更新热门新闻，并通过 GitHub OAuth 登录实现数据同步。项目还具有自适应抓取间隔、默认30分钟缓存等功能以优化资源使用并防止 IP 被封禁。此外，newsnow 支持 MCP 服务器配置，便于部署和扩展。当前版本主要支持中文内容，未来计划增加多语言支持和个人化选项。适合需要获取最新资讯且注重用户体验的个人或团队使用。",2,"2026-06-11 02:31:24","trending"]