Public
Like
1
google-calendar-linear-sync
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: v134View latest version
Simple CLI utilities to inspect the sync system data flow.
Create .env file with your credentials:
cp .env.example .env # Edit .env with your actual API keys
deno run --allow-env --allow-net --env-file=.env scripts/show-gcal.ts
Shows all GCal events with linking metadata in a markdown table.
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.
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.
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.
- Check raw data: Use
show-gcal.tsandshow-linear.ts - Verify linking: Use
show-canonical.ts - 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