Refresh InfoHub project and fix platform reconnect flows#1
Open
Refresh InfoHub project and fix platform reconnect flows#1
Conversation
Root cause: sources with /weixin/ in URL but already serving as standard RSS were incorrectly processed through WeChat collector. Changes: - collector.ts: check !is_public before WeChat platform routing - collector.ts: public sources use direct RSS path via rss_url - PublicSourcesPanel.tsx: hide "could not be refreshed" error state for recovered sources - FeedList.tsx: add public source state management - sync-public-rss-from-top-list.mjs: handle plink.anyfeeder.com/weixin/ sources as standard RSS (not WeChat platform) Verified working: 49 21世纪经济报道, 72 简书, 73 雪球, 74 书单来了, 76 青年文摘 Also removed 1 duplicate 虎嗅 from design category (now 20 public sources total).
Previously, packaging excluded node_modules but users needed npm install which triggered node-gyp rebuild requiring Python. Now: - install.ps1: check for prebuilt better-sqlite3 before npm install, skip backend dependency installation if binary already works - package-release.ps1: include better-sqlite3 prebuilt binary in package - message updated to reflect what's bundled
…stall only next for frontend with .next - start.ps1 Ensure-NodeModules: frontend with .next but no node_modules only runs 'npm install next' - start.ps1 call site: skip backend npm install if better-sqlite3 prebuilt binary detected
- credentialStore: update verified_at on save to fix expired cookie detection - zhihuAuth/xAuth/weiboAuth/xiaohongshuAuth: fix credentialToStatus to properly return invalid/expired/connected based on verifiedAt age - weiboLogin: add polling interval to detect QR login via cookie checks - zhihuLogin: sync cookie to RSSHub settings after extraction - PlatformConnectionsPanel: show 4 connection states (connected/expired/invalid/disconnected) - client.ts: add platform_credentials and platform_login_sessions tables - install.ps1/start.ps1: fix npm install logic - rsshub-local: add global-agent bootstrap and PROXY_URI for zhihu proxy Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aggregation/infohubto match the current local InfoHub project stateVerification
cd backend && npm run buildcd frontend && npm run buildPOST /api/auth/wechat/verifyreturned{"ok":true,"valid":true}POST /api/auth/weibo/testsucceeded forhttps://weibo.com/1788911247POST /api/sources/35/collectreturned success with 10 itemsNotes
aggregation/infohubsubtree was behind the current local project snapshotaggregation/infohub; they were intentionally not included in this PR