general-asks
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.
Viewing readonly version of main branch: v61View latest version
A Val Town project that integrates Linear tasks with Google Calendar. View your current cycle tasks and drag them onto a calendar to schedule your day.
- 📋 View current cycle tasks from Linear (status, project, priority)
- 📅 Weekly calendar view with Linear-inspired dark theme
- 🖱️ Drag & drop tasks onto the calendar to schedule
- ⏱️ 30-minute default duration for new events
- 📏 Resize events by dragging the bottom edge
- 🔄 Real-time sync with Google Calendar
Set these in your Val Town environment:
LINEAR_API_KEY=lin_api_xxxxx
GOOGLE_CLIENT_ID=xxxxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-xxxxx
GOOGLE_REFRESH_TOKEN=1//xxxxx
general-asks/
├── backend/
│ ├── database/
│ │ ├── migrations.ts
│ │ └── queries.ts
│ ├── routes/
│ │ ├── linear.ts
│ │ └── calendar.ts
│ └── index.ts # Main HTTP entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx
│ │ ├── Calendar.tsx
│ │ ├── CalendarEvent.tsx
│ │ ├── TaskDetail.tsx
│ │ ├── TaskItem.tsx
│ │ └── TaskList.tsx
│ ├── favicon.svg
│ ├── index.html
│ └── index.tsx
├── shared/
│ └── types.ts
└── README.md
- Push to Val Town:
vt push - Set
backend/index.tsas an HTTP val in the Val Town dashboard - Set environment variables in Val Town dashboard
- Access your val's URL to use the app