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

liamh

google-calendar-linear-sync

Bidirectional sync for Linear issues and Google Calendar events
Public
Like
1
google-calendar-linear-sync
Home
Code
11
.claude
1
linear-gcal-bidirectional-sync
scripts
5
src
.env.example
.gitignore
.vtignore
README.md
C
main.ts
standalone-val-town-sync.ts
C
val-town-sync.cron.ts
Branches
1
Pull requests
Remixes
History
Environment variables
5
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
/
scripts
/
README.md
Code
/
scripts
/
README.md
Search
7/19/2025
Viewing readonly version of main branch: v101
View latest version
README.md

Debug Scripts

Simple CLI utilities to inspect the sync system data flow.

Prerequisites

Create .env file with your credentials:

cp .env.example .env # Edit .env with your actual API keys

Available Scripts

Show Google Calendar Events

deno run --allow-env --allow-net --env-file=.env scripts/show-gcal.ts

Shows all GCal events with linking metadata in a markdown table.

Show Linear Issues

deno run --allow-env --allow-net --env-file=.env scripts/show-linear.ts

Shows targeted Linear issues (scheduled + referenced) with calendar metadata in a markdown table.

Show Canonical Items

deno run --allow-env --allow-net --env-file=.env scripts/show-canonical.ts

Shows the projector output - canonical items created from Linear + GCal data using optimized querying.

Show Complete Data Flow

deno run --allow-env --allow-net --env-file=.env scripts/show-all.ts

Complete analysis showing GCal → Linear → Canonical flow with linking statistics using optimized querying.

Debugging Workflow

  1. Check raw data: Use show-gcal.ts and show-linear.ts
  2. Verify linking: Use show-canonical.ts
  3. Full analysis: Use show-all.ts

This helps quickly identify:

  • Missing linking metadata
  • Unexpected phase classifications
  • Items that should be linked but aren't
  • Overall sync system health
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
© 2026 Val Town, Inc.