Assistant
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.
A personal assistant that can access and rearrange your Google Calendar events.
- View upcoming calendar events
- Reschedule existing events
- Add new events to your calendar
- Natural language interface for calendar management
├── backend/
│ ├── index.ts # Main HTTP handler
│ ├── calendar.ts # Google Calendar operations
│ └── auth.ts # OAuth handling
├── frontend/
│ ├── index.html # UI
│ └── app.js # Frontend logic
└── shared/
└── types.ts # Shared types
- Create a Google Cloud project and enable the Google Calendar API
- Create OAuth credentials (Web application type)
- Add the redirect URI:
https://[your-val-username].val.run/auth/callback
- Set the following environment variables in Val Town:
GOOGLE_CLIENT_ID
: Your Google OAuth client IDGOOGLE_CLIENT_SECRET
: Your Google OAuth client secret
- Visit the app URL
- Authenticate with your Google account
- Use the interface to manage your calendar