* fix(route/twitter): dynamically resolve GraphQL query IDs from Twitter JS bundles Twitter rotates GraphQL query IDs every 2-4 weeks, causing 404 errors. Instead of relying solely on hardcoded IDs, fetch and cache the latest query IDs from Twitter's client-web main.js bundle at runtime. - Add gql-id-resolver module to extract queryId/operationName pairs - Cache resolved IDs using CACHE_CONTENT_EXPIRE (Redis supported) - Fall back to hardcoded IDs if dynamic resolution fails - Update init() to trigger resolution before first API call Signed-off-by: yuguorui <yuguorui@pku.edu.cn> * fix(route/twitter): use undici.fetch directly to preserve CookieAgent dispatcher Both ofetch and the global wrappedFetch (request-rewriter) drop the dispatcher option when constructing a new Request object, which prevents the CookieAgent from attaching cookies in production builds. Use undici.fetch directly for Twitter API requests to preserve the dispatcher. Signed-off-by: yuguorui <yuguorui@pku.edu.cn> --------- Signed-off-by: yuguorui <yuguorui@pku.edu.cn> |
||
|---|---|---|
| .devcontainer | ||
| .github | ||
| .husky | ||
| .idx | ||
| assets | ||
| eslint-plugins | ||
| lib | ||
| logs | ||
| patches | ||
| public | ||
| scripts | ||
| .codecov.yml | ||
| .dockerignore | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| .npmrc | ||
| .oxfmtrc.json | ||
| .oxlintrc.json | ||
| .puppeteerrc.cjs | ||
| AGENTS.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| app.json | ||
| devenv.nix | ||
| docker-compose.yml | ||
| eslint.config.mjs | ||
| flake.lock | ||
| flake.nix | ||
| fly.toml | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsdown-container.config.ts | ||
| tsdown-lib.config.ts | ||
| tsdown-vercel.config.ts | ||
| tsdown-worker.config.ts | ||
| tsdown.config.ts | ||
| vercel.json | ||
| vitest.config.ts | ||
| wrangler-container.toml | ||
| wrangler.toml | ||
README.md
RSSHub
🧡 Everything is RSSible
Introduction
RSSHub is the world's largest RSS network, consisting of over 5,000 global instances.
RSSHub delivers millions of contents aggregated from all kinds of sources, our vibrant open source community is ensuring the deliver of RSSHub's new routes, new features and bug fixes.
RSSHub pairs especially well with Folo, an AI RSS reader for feed discovery and modern reading workflows. The project is also open source on GitHub.
Documentation | Folo | Telegram Group | Telegram Channel | X (Twitter)
Related Projects
- Folo | An AI RSS reader that works especially well with RSSHub. Source code: GitHub.
- RSSHub Radar | A browser extension that can help you quickly discover and subscribe to the RSS and RSSHub of current websites.
- RSSBud | RSSHub Radar for iOS platform, designed specifically for mobile ecosystem optimization.
- RSSAid | RSSHub Radar for Android platform built with Flutter.
- DocSearch | Link RSSHub DocSearch into Raycast.
- Awesome RSSHub Routes | Curated list of RSS feeds and RSSHub routes.
Contribute
We welcome all pull requests. Suggestions and feedback are also welcomed here.
Refer to Quick Start
Deployment
Refer to Deployment
Special Thanks
Author
RSSHub © DIYgod, Released under the AGPL-3.0 License.
Authored and maintained by DIYgod with help from contributors (list).
Blog @DIYgod · GitHub @DIYgod · X (Twitter) @DIYgod · Telegram Channel @awesomeDIYgod


