Skip to content

novdov/clync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clync

CLI tool for syncing ~/.claude config files with a GitHub repository.

Prerequisites

  • GitHub CLI installed and authenticated (gh auth login)
  • A private GitHub repository for syncing

Setup

# Set remote repository
clync config repo owner/repo

# Add files to sync
clync config whitelist add settings.json
clync config whitelist add CLAUDE.md
clync config whitelist add "commands/**/*.md"

Config is stored at ~/.clync/config.toml.

Whitelist format

Relative paths from ~/.claude with glob pattern support.

  • settings.json - single file
  • commands/**/*.md - all .md files in subdirectories
  • **/*.json - all .json files recursively
clync config whitelist list              # list entries
clync config whitelist add <path>        # add entry
clync config whitelist remove <path>     # remove entry

Usage

# Push local changes to remote
clync push

# Pull remote changes to local
clync pull

# Show diff between local and remote
clync diff

# Show sync status summary
clync status

Both push and pull support --dry-run (preview without changes) and --force (skip confirmation).

About

CLI tool for syncing Claude Code config files with a GitHub repository

Resources

Stars

Watchers

Forks

Contributors