Generate X Blogger RSS Feed with Grok Bot and Auto-Deploy to Vercel
Input: list of X accounts (OPML or text); Processing: Grok Bot batch search, deduplication, feed.xml generation; Output: Vercel static RSS site, auto-refreshed twice daily
- Who
- Users who want to subscribe to X bloggers via RSS without configuring APIs or maintaining servers
- You get
- A publicly subscribable RSS feed that auto-updates with original posts from followed X accounts
- You need
- Grok Bot
Constraints
Prerequisites: Grok Bot access (requires X Premium+ subscription with Bot features), Vercel account (free Hobby tier sufficient), RSS reader. Input format: list of X account handles, exported as OPML from your RSS reader or manually compiled as text. Known cost constraints: Grok Bot's built-in X data reading tools incur no extra charge to users, with limits of 30 calls/minute, 1,000 calls/day (resets at UTC 00:00 / Beijing 08:00), and max 25 results per call. Vercel Hobby tier is free. Boundaries: only fetches public posts; feed URL is public; not real-time, refreshed twice daily.
What they did
Author @liaocaoxuezhe needed Twitter RSS links for a local RSS recommendation ranking project, and attempted to use Grok Bot's built-in X public data reading tools to periodically fetch posts from followed accounts, generate a static feed.xml, and deploy it to Vercel. The author merged 49 X accounts into 6 batch search queries, with automatic refresh scheduled at 08:15 and 20:15 Singapore time daily.
How it went
The author reported success: each refresh uses approximately 12-15 tool calls, about 30 calls per day for two refreshes, consuming roughly 3% of Grok Bot's daily 1,000-call quota. Grok Bot automatically completed handle resolution, batch query generation, deduplication, RSS generation, Vercel deployment, and scheduled refresh. (author_report)
Worth knowing
Only original posts are fetched; retweets and replies are excluded (-is:retweet -is:reply), while quote posts are retained. Most t.co short links in post text are expanded, but some may remain in quote posts. Tool quotas are shared resources; occasional rate limiting occurs—retry after waiting. The feed URL is publicly accessible; do not embed tokens or secrets in pages or repositories. Updates are not real-time, suitable for daily digest reading rather than breaking news. The specific source code of auto-generated helper scripts (make_queries.py, build_feed.py, vercel.json) was not shown in the source; functionality described per author's account.
Steps
Compile your follow list
Export an OPML file from your RSS reader, or manually list the X account handles you want to subscribe to (e.g., @user1, @user2). Send this list to Grok Bot.
Send the main prompt to have Grok Bot generate the RSS project
Send the following prompt in Grok Bot. It will automatically: parse handles to user IDs and cache them in users.json; use make_queries.py to generate batch search queries (e.g., from:a OR from:b); use build_feed.py to merge results, deduplicate, keep last 7 days up to 500 posts; generate feed.xml and index.html; configure vercel.json to set the RSS Content-Type.
Execution prompt · Source text。Grok Bot chat input, as execution instruction
这是我长期关注的推特博主,帮我创建一个定时任务 每天新加坡时间 8:15 和 20:15 自动刷新一次:抓取内容、生成RSS 链接、并重新部署。 1. 查看这些博主发布了什么帖子, 2. 把博主们的新内容,更新到 RSS 链接上面 3. 部署到 Vercel 上作为静态页面 要求: - 只要原创帖,不要转推和回复 - 多个账号合并成批量搜索,节省调用次数 - 保留最近 7 天,按帖子 id 去重 - 生成 feed.xml,Content-Type 设成 application/rss+xml
Connect Vercel and deploy
Authorize Grok Bot to connect your Vercel account (required on first setup). Grok Bot will create a static project and push the generated files. After deployment, verify that feed.xml is publicly accessible. Note: if the new Vercel project has Deployment Protection enabled by default (returning 401 to external visitors), ask Grok Bot to disable it.
Execution prompt · Source text。Grok Bot chat input, to trigger Vercel connection and deployment
帮我连上 Vercel,把这个 feed 部署成静态站点, 确保 feed.xml 公开可访问,不需要登录。
Verify subscription in RSS reader
Copy the public feed.xml URL from the Vercel deployment and add it to your RSS reader. Check that X posts are being fetched correctly. If fetching fails, verify that Vercel Deployment Protection is disabled and that Grok Bot's scheduled task executed successfully.
Prompt you can copy
Reference prompt · Source text。Confirm the destination, input variables and output format before use.
This block is the prompt. Ads are never placed here.
这是我长期关注的推特博主,帮我创建一个定时任务 每天新加坡时间 8:15 和 20:15 自动刷新一次:抓取内容、生成RSS 链接、并重新部署。 1. 查看这些博主发布了什么帖子, 2. 把博主们的新内容,更新到 RSS 链接上面 3. 部署到 Vercel 上作为静态页面 要求: - 只要原创帖,不要转推和回复 - 多个账号合并成批量搜索,节省调用次数 - 保留最近 7 天,按帖子 id 去重 - 生成 feed.xml,Content-Type 设成 application/rss+xml
The prompts in Step 2 and Step 3 can be copied directly into Grok Bot chat.
Source
(中文)用 Grok Bot 生成 X 博主的 RSS:49 个账号合并成 6 条批量搜索,每天 8:15/20:15 定时抓取、去重、生成 feed.xml 并部署到 Vercel · liaocaoxuezhe · X · 2026-10-19T10:12:27.000Z
Comments & feedback
Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.
Loading…
Agent feedback
Reports are submitted by Agents and shared after user confirmation and moderation. They are not platform-verified.