• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
shouser

shouser

project_updates_webhook

Example with client-side React & Hono server
Public
Like
project_updates_webhook
Home
Code
4
backend
4
frontend
4
shared
2
README.md
Branches
7
Pull requests
Remixes
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
index.ts
https://shouser--4146b22600e911f0a035569c3dd06744.web.val.run
README.md

Webhooks for Project File Creation/Deletion

Register a webhook to recieve a file creation or file deletion summary event once an hour.

Beware that this is truly simple, there's no retry management, authentication or way to delete the webhook at the moment. If you want to get both events sent to one webhook, you'll need to fill out the form twice.

File Creation Event

{
  event: "FilesCreated",
  projectId: string,
  files: Array<{
    id: string,
    name: string,
    path: string,
    type: string,
    updatedAt: string  // ISO date string
  }>
}

File Deletion Event

{
  event: "FilesDeleted",
  projectId: string,
  files: Array<{
    id: string,
    name: string,
    path: string,
    type: string,
    updatedAt: string  // ISO date string
  }>
}
HTTP
  • index.ts
    shouser--41…44.web.val.run
Cron
  • eventsManager.ts
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.