{"id":30237847,"url":"https://github.com/powerappsdarren/sync-app","last_synced_at":"2025-10-07T02:16:27.892Z","repository":{"id":301723983,"uuid":"1010116971","full_name":"PowerAppsDarren/sync-app","owner":"PowerAppsDarren","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-28T12:01:34.000Z","size":31686,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-15T02:54:50.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerAppsDarren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-28T11:34:18.000Z","updated_at":"2025-06-28T12:01:37.000Z","dependencies_parsed_at":"2025-06-28T12:52:56.493Z","dependency_job_id":null,"html_url":"https://github.com/PowerAppsDarren/sync-app","commit_stats":null,"previous_names":["powerappsdarren/sync-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PowerAppsDarren/sync-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2Fsync-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2Fsync-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2Fsync-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2Fsync-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerAppsDarren","download_url":"https://codeload.github.com/PowerAppsDarren/sync-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2Fsync-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708004,"owners_count":26031932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-15T02:39:30.706Z","updated_at":"2025-10-07T02:16:27.886Z","avatar_url":"https://github.com/PowerAppsDarren.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sync App\n\n[![CI](https://github.com/yourusername/sync-app/workflows/CI/badge.svg)](https://github.com/yourusername/sync-app/actions)\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)\n[![Documentation](https://img.shields.io/badge/docs-mdBook-blue)](https://yourusername.github.io/sync-app/)\n\nA comprehensive, high-performance file synchronization application built in Rust with PocketBase backend. Sync App provides real-time file synchronization, conflict resolution, and monitoring capabilities with both CLI and daemon interfaces.\n\n## 🚀 Quick Start\n\n### Local Development Setup\n\n1. **Clone and Build**\n   ```bash\n   git clone https://github.com/yourusername/sync-app.git\n   cd sync-app\n   cargo build --release\n   ```\n\n2. **Start PocketBase Backend**\n   ```bash\n   # On Windows\n   .\\pocketbase\\setup.ps1\n   \n   # On Linux/macOS\n   ./pocketbase/setup.sh\n   ```\n\n3. **Run Your First Sync**\n   ```bash\n   # Add a sync configuration\n   ./target/release/sync add --name \"documents\" --source \"./test-source\" --dest \"./test-backup\"\n   \n   # Run the sync\n   ./target/release/sync run \u003cconfig-id\u003e\n   ```\n\n4. **Start the Daemon (Optional)**\n   ```bash\n   ./target/release/daemon start --config ./daemon/examples/daemon-config.toml\n   ```\n\n5. **Launch Web UI (Optional)**\n   ```bash\n   ./target/release/ui\n   # Open http://localhost:3000\n   ```\n\n## 📁 Project Structure\n\n```\nsync-app/\n├── sync-core/          # Core synchronization engine\n├── sync-cli/           # Command line interface\n├── sync-server/        # Server component\n├── sync/               # Sync library with conflict resolution\n├── daemon/             # Background daemon service\n├── ui/                 # Web-based user interface\n├── pocketbase/         # PocketBase backend setup\n├── docs/               # Comprehensive documentation\n├── packaging/          # Distribution packages\n└── scripts/            # Build and release scripts\n```\n\n## ✨ Key Features\n\n- **🔄 Real-time Synchronization**: Bidirectional sync with file watching\n- **⚡ High Performance**: Optimized Rust implementation with async I/O\n- **🛠️ Conflict Resolution**: Smart conflict detection and resolution strategies\n- **📊 Monitoring \u0026 Telemetry**: Prometheus metrics and structured logging\n- **🌐 Web Interface**: Modern React-based UI for management\n- **🔧 Flexible Configuration**: TOML-based configuration with live reload\n- **📦 Cross-platform**: Windows, Linux, and macOS support\n- **🔒 Secure**: Built-in authentication and encrypted transfers\n\n## 🎯 Use Cases\n\n- **Development Teams**: Keep codebases synchronized across environments\n- **Content Creators**: Sync media files between workstations\n- **Remote Work**: Maintain consistent file structures across devices\n- **Backup Solutions**: Automated incremental backups with versioning\n- **CI/CD Pipelines**: Sync build artifacts and deployment files\n\n## 🏗️ Architecture Overview\n\n```mermaid\ngraph TB\n    A[CLI Interface] --\u003e B[Sync Core]\n    C[Web UI] --\u003e B\n    D[Daemon Service] --\u003e B\n    B --\u003e E[PocketBase Backend]\n    B --\u003e F[File System]\n    G[File Watcher] --\u003e D\n    H[Scheduler] --\u003e D\n    I[Metrics Endpoint] --\u003e D\n```\n\n## 📚 Documentation\n\n- **[Quick Start Guide](docs/quick-start.md)** - Get up and running in minutes\n- **[Production Deployment](docs/deployment.md)** - Production-ready setup guide\n- **[Configuration Reference](docs/configuration.md)** - Complete configuration options\n- **[CLI Usage](CLI_USAGE.md)** - Command-line interface documentation\n- **[Troubleshooting](docs/troubleshooting.md)** - Common issues and solutions\n- **[Examples](docs/examples/)** - Real-world usage examples\n\n## 🛠️ Development\n\n### Prerequisites\n- Rust 1.70+ (stable toolchain)\n- Git\n- Node.js 18+ (for UI development)\n\n### Building\n```bash\n# Debug build\ncargo build\n\n# Release build\ncargo build --release\n\n# Build specific component\ncargo build --bin sync-cli\n```\n\n### Testing\n```bash\n# Run all tests\ncargo test --workspace\n\n# Run integration tests\ncargo test --test integration_tests\n\n# Test with coverage\ncargo tarpaulin --all-features --workspace\n```\n\n### Code Quality\n```bash\n# Format code\ncargo fmt\n\n# Lint code\ncargo clippy -- -D warnings\n\n# Security audit\ncargo audit\n```\n\n## 📦 Installation\n\n### Pre-built Binaries\nDownload from [GitHub Releases](https://github.com/yourusername/sync-app/releases)\n\n### Package Managers\n```bash\n# Homebrew (macOS/Linux)\nbrew install sync-app\n\n# Chocolatey (Windows)\nchoco install sync-app\n\n# Cargo\ncargo install sync-app\n```\n\n### Docker\n```bash\n# Run daemon in container\ndocker run -d --name sync-daemon \\\n  -v /path/to/config:/config \\\n  -v /path/to/data:/data \\\n  sync-app:latest\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Make your changes\n4. Run tests and linting (`cargo test \u0026\u0026 cargo clippy`)\n5. Commit your changes (`git commit -m 'Add amazing feature'`)\n6. Push to the branch (`git push origin feature/amazing-feature`)\n7. Open a Pull Request\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.\n\n## 📄 License\n\nThis project is licensed under the GNU Affero General Public License v3.0 - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- [PocketBase](https://pocketbase.io/) for the excellent backend framework\n- [Tokio](https://tokio.rs/) for async runtime\n- [Tauri](https://tauri.app/) for desktop application framework\n- The Rust community for amazing crates and tools\n\n## 📞 Support\n\n- 📖 Documentation: [https://yourusername.github.io/sync-app/](https://yourusername.github.io/sync-app/)\n- 🐛 Issues: [GitHub Issues](https://github.com/yourusername/sync-app/issues)\n- 💬 Discussions: [GitHub Discussions](https://github.com/yourusername/sync-app/discussions)\n- 📧 Email: support@example.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerappsdarren%2Fsync-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowerappsdarren%2Fsync-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerappsdarren%2Fsync-app/lists"}