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

stevekrouse

research-newsletter-bot

Your personal research bot that emails you a daily newsletter
Public
Like
2
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
5
History
Environment variables
1
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
/
README.md
Code
/
README.md
Search
11/21/2025
Viewing readonly version of main branch: v101
View latest version
README.md

Research Newsletter Bot

This bot will email you and whoever else you want daily with a summary of the most important news for you.

Getting started

If you click the Remix button, this bot will start working for you immediately – no changes required.

You can easily customize the following properties:

  1. When this bot runs. The schedule is currently set on main.ts to run at 12am UTC, 7am ET. Click the Cron button above main.ts to change it.
  2. The current prompt in PROMPT.txt instructs it to get 15 enterprise tech news items, but it's quite easy for you to customize it to your liking.
  3. Who gets emailed. At the bottom of main.ts, it emails the owner of this val. You can customize this if you have Val Town Pro.

Eager to test it out right away? Open shell.ts and click Run to trigger the bot to run immediately. It will take a couple minutes, and then you'll see the result in your inbox and on the dashboard. You can also check this val's logs (which you can find in the left sidebar) for any errors.

Files

  • PROMPT.txt - System prompt instructing the agent to find 15 recent enterprise tech stories and return JSON
  • dashboard.tsx - Web UI for viewing past newsletter runs stored in blob storage
  • main.ts - Interval job that kicks off the OpenAI agent, parses results, generates HTML, and sends the email
  • newsletter-template.tsx - React component that renders news items into an HTML email template
  • shell.ts - If you want to manually run the newsletter outside of the schedule, go to this file and click Run
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.