展示HN:ByteSync – 开源混合文件同步(局域网和远程,端到端加密)
大家好,
我正在开发 ByteSync,这是一款开源的文件同步、备份和去重工具,旨在弥补本地同步与远程同步之间的差距。
从精神上讲,它与 FreeFileSync 有些相似,但增加了集成的网络层和端到端加密——这意味着您可以在同一局域网内或通过互联网同步计算机之间的文件,而无需设置 VPN 或防火墙。一切都通过相同的界面透明地工作。
同步模型基于数据节点(DataNodes,代表存储库,如服务器或网络附加存储设备)和数据源(DataSources,存储库内的文件夹或文件)。一个会话可以包含多个参与者,每个参与者可以有一个或多个数据节点,而 ByteSync 会自动处理所有的比较和传输。
为了优化性能,引擎采用了两阶段的清单处理流程:首先进行初始索引,然后仅对实际发生变化的项目进行比较。这使得即使在处理大型数据集时,同步也能保持快速。还有一种扁平模式,当结构不重要时非常有用,您只需按名称比较或对齐文件。
目前,ByteSync 专注于交互式同步——尚未实现自动化或守护进程(计划集成命令行界面)。但它已经能够完全实现发现和管理本地及远程存储库之间的差异。
ByteSync 可以在 Windows、macOS 和 Linux 上运行,整个代码库可在 GitHub 上获取:
[https://github.com/POW-Software/ByteSync](https://github.com/POW-Software/ByteSync)
您还可以在这里下载二进制文件并阅读文档:
[https://www.bytesyncapp.com](https://www.bytesyncapp.com)
我非常欢迎大家的反馈和贡献——无论是关于可用性、架构,还是未来功能的想法。我们的目标是打造一个稳健、尊重隐私的混合文件同步替代方案,同时保持简单易用,并对所有人开放。
查看原文
Hi everyone,
I've been developing ByteSync, an open-source file synchronization, backup and deduplication tool designed to bridge the gap between local and remote sync.<p>In spirit, it's somewhat closer to FreeFileSync, but with an integrated networking layer and end-to-end encryption — which means you can synchronize files between computers on the same LAN or across the internet without VPNs or firewall setup. Everything works transparently through the same interface.<p>The synchronization model is based on DataNodes (which represent repositories, such as servers or NAS devices) and DataSources (the folders or files inside them). A session can include multiple participants, each with one or several DataNodes, and ByteSync handles all comparisons and transfers automatically.<p>To optimize performance, the engine uses a two-stage inventory process: an initial indexation followed by comparisons limited to items that actually changed. This keeps synchronization fast even with large datasets. There's also a flat mode, useful when structure doesn't matter and you just want to compare or align files by name.<p>Currently, ByteSync is focused on interactive synchronization — it's not yet automated or daemon-based (CLI integration is planned). But it's already fully functional for discovering and managing differences between repositories, both local and remote.<p>ByteSync runs on Windows, macOS, and Linux, and the entire codebase is available on GitHub:
<a href="https://github.com/POW-Software/ByteSync" rel="nofollow">https://github.com/POW-Software/ByteSync</a><p>You can also download binaries and read the documentation here:
<a href="https://www.bytesyncapp.com" rel="nofollow">https://www.bytesyncapp.com</a><p>I'd really appreciate feedback and contributors — whether on usability, architecture, or ideas for future features.
The goal is to make a solid, privacy-respectful alternative for hybrid file synchronization that remains simple to use and open for everyone.