• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
ron_miller

ron_miller

research-newsletter-bot

Remix of stevekrouse/research-newsletter-bot
Public
Like
research-newsletter-bot
Home
Code
6
PROMPT.txt
README.md
H
dashboard.tsx
C
main.ts
newsletter-template.tsx
shell.ts
Branches
1
Pull requests
Remixes
1
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
dashboard.tsx
https://ron_miller--019aa7be118f70c89f377ddf2ac60998.web.val.run
README.md

Research Newsletter Bot

This bot delivers a daily, personalized briefing of the most important news for you and anyone you choose to include. It runs automatically, sends a clean email summary, and gives you a simple dashboard to review past updates.

Getting started

  1. Click Remix
  2. Set OPENAI_API_KEY in this val's environment variables
  3. Done! You will get an email tomorrow morning.

Ready to test it instantly? Open shell.ts and click Run. After a couple minutes, you will receive the email and see the results on your dashboard. Check this val’s logs in the left sidebar if something looks off.

Customizing

You can tailor it in a few quick ways:

  • Schedule the run time
    The default schedule in main.ts runs at 12am UTC (7am ET). Open the Cron editor above the file to adjust it.

  • Customize what the bot collects
    The prompt in PROMPT.txt asks for 15 enterprise tech stories. Change the wording to focus on different topics, formats, or story counts.

  • Choose who gets the newsletter
    By default, main.ts emails the val’s owner. If you use Val Town Pro, you can add more recipients.

Files

  • PROMPT.txt - Defines how the agent selects news and how the response should be formatted.
  • dashboard.tsx – Displays previous newsletter runs from blob storage in a simple web UI.
  • main.ts – The scheduled job that calls the OpenAI agent, processes the results, renders the email, and sends it.
  • newsletter-template.tsx – React component that turns news items into a polished HTML email.
  • shell.ts – Lets you manually run the newsletter on demand.
HTTP
  • dashboard.tsx
    ron_miller--01…98.web.val.run
Cron
  • main.ts
Code
PROMPT.txtREADME.md
H
dashboard.tsx
C
main.ts
newsletter-template.tsxshell.ts
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.