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

roop

eventsCalendar

Extract calendar events from webpages
Public
Like
eventsCalendar
Home
Code
10
docs
1
lib
5
.vtignore
AGENTS.md
README.md
deno.json
H
logs.tsx
migration.ts
H
server.ts
H
tmp.ts
Branches
1
Pull requests
Remixes
History
Environment variables
4
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/16/2025
Viewing readonly version of main branch: v421
View latest version
README.md

eventsCalendar

For a while I have been using a personal Notion db to track interesting art/music/etc events that are upcoming in NYC.

I grew tired of manually entering the time/place/other info into Notion. So I made this Val to serve as the backend for a bookmarklet — now I have one-click ability to munge an arbitrary event webpage → structured data → Notion db.

seq6.png

(source)

Calendar Subscription

You can subscribe to your events in Calendar.app (macOS/iOS) or any other calendar application that supports iCalendar feeds.

How to Subscribe

  1. Get your calendar feed URL:

    https://extract-event-data.val.run/calendar.ics?token=YOUR_API_TOKEN
    

    Replace YOUR_API_TOKEN with your API token (same token used for the bookmarklet).

  2. Subscribe in Calendar.app (macOS):

    • Open Calendar.app
    • Go to File > New Calendar Subscription...
    • Paste the calendar feed URL
    • Click Subscribe
    • Configure update frequency (recommended: Every hour)
    • Choose which calendar to add it to
    • Click OK
  3. Subscribe on iOS:

    • Go to Settings > Calendar > Accounts > Add Account
    • Select Other
    • Tap Add Subscribed Calendar
    • Paste the calendar feed URL
    • Tap Next and then Save

What Gets Synced

  • Only events with categories: music and lecture
  • Only future events (past events are excluded)
  • Updates automatically based on your calendar app's refresh settings

Making the Calendar Public

Currently the calendar requires your API token for access. To make it public in the future:

  1. Open server.ts
  2. Find the /calendar.ics endpoint (around line 28)
  3. Remove or comment out the token validation block:
    // Remove these lines: const apiToken = c.req.query("token"); if (apiToken !== process.env.API_TOKEN) { return c.text("Unauthorized", 401); }
  4. The calendar feed will then be accessible without a token
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.