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

valdottown

new-val-notifications

Sends a daily Discord digest of new public vals from Val Town
Public
Like
2
new-val-notifications
Home
Code
8
.claude
1
.vtignore
README.md
ai-summarizer.ts
deno.json
fetch-vals.ts
C
main.tsx
scratch.ts
Branches
1
Pull requests
Remixes
1
History
Environment variables
2
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
7/14/2025
Viewing readonly version of main branch: v46
View latest version
README.md

Daily Val Digest

Sends a daily Discord digest of new public vals from Val Town.

Features

  • Daily cron schedule at 09:00 EDT
  • Filters out spam (excluded names, untitled vals, duplicate READMEs)
  • Smart content - uses README preview or AI-generated summaries
  • Discord embeds with blue bars for each val
  • Duplicate prevention via SQLite hash storage

Files

  • main.tsx - Main cron function and Discord webhook
  • fetch-vals.ts - Fetches and filters new vals using Val Town SDK
  • ai-summarizer.ts - Generates OpenAI summaries for vals without READMEs
  • scratch.ts - Utility for clearing SQLite database during testing

Setup

  1. Set DISCORD_WEBHOOK environment variable
  2. Set OPENAI_API_KEY environment variable
  3. Set testMode = false in main.tsx for production
  4. Schedule with cron expression 0 13 * * *
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.