Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Chat-to-Build Personalized Hacker News Email Digest

说明与用途

开发者构建了一个基于聊天的工具,用于创建个性化的 Hacker News 邮件摘要。用户可以通过自然语言定义内容偏好,预览邮件,并使用自己的 Resend API 密钥安排发送。技术栈包括 CopilotKit、Next.js 和 Upstash QStash。

问题

Generic Hacker News newsletters do not align with individual interests, and manual curation is time-consuming. Existing solutions are either too broad or require complex setup.

结果

A fully functional, self-hostable web application that allows users to generate and schedule personalized Hacker News digests via natural language chat, using their own email sending credentials.

工作流

  • User describes desired content (e.g., 'security news from last 48h') in the chat editor.
  • LLM parses intent and calls frontend tools to update the newsletter configuration state.
  • Configuration is sent to the preview API, which renders the email using React Email.
  • User reviews the live preview and adjusts filters or sections via chat.
  • User activates the digest by providing a Resend API key and recipient email.
  • System encrypts the API key (AES-256-GCM) and stores the schedule in Neon Postgres.
  • Upstash QStash schedules HTTP callbacks based on user timezone and frequency.
  • On schedule trigger, the system fetches fresh HN data, renders the email, and sends it via the user's Resend key.

证据

You can chat to build your own personalized Hacker News newsletter, preview it live with real HN data, and schedule it to your inbox

来源

The chat doesn't directly write to the database. The LLM's tool calls only update the browser state.

来源

  • 记录日期: 2026-09-07T02:07:17.477Z