GitHub Sync: Your Activity, Automatically Imported
Gerardo
gerardo@devlog.ist
GitHub Sync Deep Dive
One of Devlog.ist's core features is automatic GitHub synchronization. Here's how it works under the hood.
What Gets Synced
Commits
Every commit you push is captured with:
- Commit message
- Repository name
- Files changed
- Diff content (for AI context)
- Timestamp
Pull Requests
We track your PRs including:
- Title and description
- Review status
- Merge information
- Associated commits
Code Reviews
Your review contributions:
- Comments you've left
- Approval/request changes
- Review threads
Sync Modes
Manual Sync
Click "Sync Now" to pull your latest activity on-demand.
Auto Sync (Pro Feature)
Configure automatic synchronization:
- Daily: Sync every day at your preferred time
- Weekly: Sync once a week
// Auto-sync runs via scheduled command
Schedule::command('posts:auto-sync')
->daily()
->onOneServer();
Date Range Selection
Choose how far back to sync:
- Last 7 days (default)
- Last 30 days
- Custom range (Annual/Lifetime plans)
Technical Implementation
We use GitHub's GraphQL API for efficient data fetching:
query {
user(login: $username) {
contributionsCollection(from: $from, to: $to) {
commitContributionsByRepository {
repository { name }
contributions { occurredAt }
}
}
}
}
Privacy First
- We only access repositories you authorize
- Data is stored in your isolated tenant schema
- You can disconnect GitHub anytime
Connect your GitHub today and let your work speak for itself!