
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
github-files-sync
Advanced tools
Simple file synchronization tool using GitHub as storage.
npm install -g github-files-sync
gfs init <github-repo-url>
gfs add ~/.zshrc
gfs add ~/scripts/deploy.sh
gfs push
gfs pull
gfs status
Watch files and automatically push changes to GitHub:
# Start watching
gfs watch start
# Check watch status
gfs watch status
# Stop watching
gfs watch stop
If you need a different path for a file on a specific machine:
gfs override home__zshrc ~/my-custom-zshrc
gfs pull # Sync file to new location
Note: Path overrides are stored locally and NOT synced to other machines.
Configuration is stored in ~/.sync-config/config.json
{
"repository": "git@github.com:user/sync-storage.git",
"baseDir": "~",
"localMappings": {
"home__zshrc": ".zshrc",
"home_scripts_deploy_sh": "work/scripts/deploy.sh"
}
}
Key Features:
baseDir (default: home directory)localMappings can override paths on a per-machine basisExample: On Machine A, scripts_deploy_sh → ~/scripts/deploy.sh, but on Machine B it could be → ~/work/scripts/deploy.sh
sync-storage/
├── .sync-manifest.json
└── files/
├── home__zshrc
└── home_scripts_deploy_sh
Manifest format (.sync-manifest.json):
{
"files": [
{
"id": "home__zshrc",
"relativePath": ".zshrc",
"lastModified": "2025-11-10T10:00:00Z",
"hash": "abc123..."
}
]
}
cp __docs__/autostart/com.github-files-sync.watch.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.github-files-sync.watch.plist
launchctl start com.github-files-sync.watch
To stop auto-start:
launchctl unload ~/Library/LaunchAgents/com.github-files-sync.watch.plist
mkdir -p ~/.config/systemd/user
cp __docs__/autostart/github-files-sync-watch.service ~/.config/systemd/user/
systemctl --user enable github-files-sync-watch.service
systemctl --user start github-files-sync-watch.service
systemctl --user status github-files-sync-watch.service
To stop auto-start:
systemctl --user stop github-files-sync-watch.service
systemctl --user disable github-files-sync-watch.service
MIT
FAQs
Simple file synchronization tool using GitHub as storage
We found that github-files-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.