vc-os-sync
v1.0.6
Published
Sync Granola meeting notes to VC-OS automatically
Maintainers
Readme
vc-os-sync
Automatically sync your Granola meeting notes to VC-OS.
Installation
npm install -g vc-os-syncOr run directly with npx:
npx vc-os-sync --api-url https://vc-os-ruby.vercel.app --org-id YOUR_ORG_IDUsage
Basic Usage
vc-os-sync --api-url https://vc-os-ruby.vercel.app --org-id YOUR_ORG_IDThe sync agent will:
- Find your Granola cache automatically
- Sync any existing meetings
- Watch for new meetings and sync them in real-time
Options
| Option | Description |
|--------|-------------|
| --api-url <url> | Required. Your VC-OS API URL |
| --org-id <id> | Required. Your organization ID (from VC-OS Settings) |
| --granola-path <path> | Custom path to Granola cache file |
| --once | Sync once and exit (no watching) |
One-time Sync
If you just want to sync once without watching:
vc-os-sync --api-url https://vc-os-ruby.vercel.app --org-id YOUR_ORG_ID --onceCustom Granola Path
If your Granola cache is in a non-standard location:
vc-os-sync --api-url https://vc-os-ruby.vercel.app --org-id YOUR_ORG_ID \
--granola-path ~/path/to/granola/cache.jsonFinding Your Org ID
- Go to your VC-OS app
- Open Settings
- Your Org ID is displayed in the Granola Setup section
Running in Background
macOS (launchd)
Create ~/Library/LaunchAgents/com.vc-os.sync.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.vc-os.sync</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/npx</string>
<string>vc-os-sync</string>
<string>--api-url</string>
<string>https://vc-os-ruby.vercel.app</string>
<string>--org-id</string>
<string>YOUR_ORG_ID</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>Then run:
launchctl load ~/Library/LaunchAgents/com.vc-os.sync.plistTroubleshooting
"Could not find Granola cache file"
The sync agent looks for the Granola cache in these locations:
~/Library/Application Support/Granola/cache.json~/Library/Application Support/Granola/data.json~/Library/Caches/Granola/cache.json~/.granola/cache.json
To find your cache location manually:
find ~/Library -name "*granola*" -type d 2>/dev/nullThen use --granola-path to specify the correct path.
License
MIT
