Fluxfile is a command-line application to sync files of local-first applications with Git and other locations.
Fluxfile provides several commands to manage and sync your projects. Below are the available commands:
Initialize a directory for syncing with a Git repository.
fluxfile init
Sync the local directory with the specified GitHub repository.
fluxfile sync [identifier]
Use the --all flag to sync all projects.
fluxfile sync --all
List all initialized projects.
fluxfile list
Edit details of a specific project.
fluxfile edit [identifier]
Remove a specific project.
fluxfile remove [identifier]
Fluxfile uses a configuration file located at ~/.fluxfile/config.yaml (or %APPDATA%\fluxfile\config.yaml on Windows). This file stores the details of all projects.
Example Configuration
projects:
- project_name: myproject
directory: /path/to/myproject
git_url: https://github.com/username/myproject.git
branch_name: main
ssh_enabled: true
We welcome contributions to Fluxfile! Please fork the repository and submit pull requests