Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewmcdan/git-sync-d
Git-Sync'd for syncing individual files to Git repos
https://github.com/andrewmcdan/git-sync-d
Last synced: 7 days ago
JSON representation
Git-Sync'd for syncing individual files to Git repos
- Host: GitHub
- URL: https://github.com/andrewmcdan/git-sync-d
- Owner: andrewmcdan
- Created: 2023-11-23T17:37:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-15T03:19:50.000Z (10 months ago)
- Last Synced: 2024-04-14T20:11:32.849Z (7 months ago)
- Language: C++
- Size: 1.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git-Sync'd
Git client for syncing individual files to Git repos.## The Idea
So, if you have several files that you want to sync to a repo, but don't want to init the whole folder that the file exists in, or maybe you want to have a repo that has all the .gitignore files, this tool will sync individual files to a repo.Let's say you have several repos and each one has a .gitignore file that you want to collect into one repo. This tool can sync all these .gitignore files into that one repo and whenever it does so, it uses the git commit message from the git repo the .gitignore exists in.
Or maybe you have nixOS configs, docker files, or .env files for node.js projects that you want to sync between machines, but Google Drive and others like it are too heavy or otherwise ill-suited to the task. Enter Git-Sync'd.
Once you select a file to be sync'd, the app will search for it belonging to a git repo. If it does, Git-Sync'd will ask if you want to monitor that repo for changes and update on changes to that repo. Otherwise, it will ask if the user wants to update on changes or on an interval.
If Git-Sync'd is monitoring a file that is part of an exiting repo, whenever that file is updated in that repo, the Git-Sync'd will check the repo for the commit message and use that as the commit message for the monitored file's commit to the sync'd repo.
## Program Structure
### Service that runs all the time
There will need to be versions built for Windows and Linux. Mac support may come later depending on availability of a test platform. The service is the main part of the program that handles the monitoring and uploading/downloading of files.
### [Command Line Interface](https://github.com/andrewmcdan/Git-Sync-d-CLI)
This will be built along side the Service. Initially, it will be the main UI. It will allow the user to add files and manage the repos associated with the service.
### GUI
Gonna take some inspiration from the Google Drive desktop app GUI. Taskbar icon and what-not. This GUI will be built later on. One thing the GUI needs is a quick an easy way to get the individual files that are sync'd and push/pull changes.Interprocess communication will be handled by the Boost library's boost.interprocess implementation.
Encryption will handled by the Crypto++ Library for storing credentials on disk.