SyncReplacement is an FSF Priority Project. Bittorrent Sync is a peer-to-peer, two-way file synchronization utility with fine-grained access controls. We need a free software version of this client or free software that can be used for the same purpose.
If you are interested, please join this group (start by leaving your name here). We should start by surveying any existing free software that is in or close to this area (TahoeLAFS might be one), and making a list of features that are needed.
The SyncReplacement IRC channel can be found at #freesync, on Freenode.
We need a survey of existing solutions, their features, pros, and cons.
The software that lit a fire under this project.
A DropBox competitor that offers peer to peer file sync called 'DirectSync'.
This section might need pruning, the things listed might not be entirely free.
A decentralised communication platform that allows file sharing.
- peer discovery with DHT
- NAT traversal
- encryption and authentication with PGP+OpenSSL
- gui to manage friends+groups
- additional functionality like chat, groupchat, voip... I think it is nice to have chat and shared folders at the same place. This would enable fast collaboration.
- Retroshares core "libretroshare" is written in C++, and runs on every platform with sockets and a file system
- Retroshare-gui uses Qt and runs on win, linux, mac
- Plugins can use the secure link to send/receive data to/from peers.
- Resumable transfers and swarming
- no worry about finding peers or securing the connection
- Retroshare has a community of developers, testers, translaters and packers. So we could concentrate on the main thing: how to get different states of a folder in sync.
- Perhaps this does too much? We want a drop in replacement for BTSync, this comes with a whole raft of additional features that might not appeal to users.
- So far, either C, C++, Python, or Go seems like our best bet.
- simple, everyone should be able to use this tool
- decentralised, no central server needed for operation
- secure, communication should be encrypted and authenticated
- cross-platform: win, linux, mac
- can delete files
- can cope with conflicting changes
- can cope with wrong clocks
- can cope with moved or renamed files
for every shared folder we have:
- some id
- admin pgp id
- list of users+permissions
- could be signed
(set by admin, so update is simple with timestamp)
created by users with permissions:
- ever growing list of file metadata items
- every item is unique by nature, so sync is simple
file metadata item:
- id of previous file, this id could be the hash of the other item
- size, hash
- mark if file is deleted
- author id
- item could be signed
How sync works:
- file metadata items are exchanged, so everyone has the same list
- fileitems with same path/name are ordered, so that we know the newest state of the file
- files are transferred
Conflicts need to be handled by the user
- when online, it could be signalled when files are in use
- overlay icons like tortoise svn
- differential sync
- don't know which filetypes would take advantage of this
- docx+odf is based on zip, zip compresses files independently
- keep old files to some point in hidden directory for undo
- sync of big list:
- order in binary tree
- compare checksums of treeparts
- use gxs to sync items? (gxs is a new transport for the forums inside Retroshare)
- use existing filetransfer classes?
- how to tell if folder is in sync?
- folder is in sync when we synced with >50% of peers with write access
- or define master peer
- maybe combine with chat client
Here's a list of people that have volunteered to be a part of this project so far. Feel free to add yourself to this list.
- Hi, I'm Hunter. I've started work on this project, using Python 2.7.3. So far, it supports bidirectional synchronization. I'll get to work adding a password system. You can find the GitHub repo [here]. You can shoot me an email at email@example.com.'
- Hi. This is Rajul. I wish to work on this project. Please contact me at firstname.lastname@example.org
- Hello, I'm Pratik. I would like to contribute to this project. You can contact me at email@example.com
- Hi, I' Isengaara - I installed GNUnet on my Trisquel System, GNUnet offers P2P File Sharing, but no sync yet. Maybe it could combined with git?
Gittorrent seems dead. contact me at tobias [ät] platen-software [döt] de
- Hi, I'm Fred Morcos - I'm interested in such a project and would like to contribute. I am experienced in C and Python. One part of my proposal would be to not try and recreate the protocol but instead write a free compatible implementation of BTSync. You can contact me at fred dot morcos at gmail dot com. *Edit:* Since people have also suggested programming languages like Go (which I'm open to looking into for this project), I would also like to have the D programming language under the radar. About licensing, I am for GPLv3.
- Hi, I'm Patrick Steinhardt - I'd be interested in contributing to this project. My relevant skillsets include C, C++ and Python. You can contact me at steinhardt.ptk [at] gmail [dot] com.
- Hi, I'm Adrien. I'd be interested in this project as well. I actually implemented a prototype for a very similar system as a class project. I'll deliver the source soon. I think it's probably better to rewrite everything from scratch (in particular I'd like to use python instead of C++), but the code I have and the lessons I learned should be very useful. adrien [dot] projectemail [at] gmail [dot] com.
- Hi, I'm Gerry. This is a great initiative. I would strongly suggest considering Go (http://golang.org/) as a language for this. It's cross platform, has excellent concurrency support and is compiled, so users won't be required to install Python. It is far better than C/C++ in terms of providing a rich standard library and garbage collection. There are already existing BitTorrent clients written in Go, under free licenses.
- Hi, I'm Jumpwah. Here is a similar group most likely looking to collaborate on the same project: https://groups.google.com/forum/#!topic/golang-nuts/7WUj3nASuLo. In addition to deciding on the language, we should also decide on the license early to resolve any conflicts/doubts. Contact: jumpwah at google's electronic mail service.
- Hi, I'm Manuel. I've been spending some time lately trying to analyze btsync's network protocol (and working on a library that should speak that protocol). Currently it's just some Qt code hacked together with the aim to being able to communicate with btsync at all. The stuff I've found out so far can be found on github: https://github.com/picosync/workingDraft/ (have a look at the wiki and feel free to contribute). Contact: picosync (a) r7r .at
- Hi, I'm also interested in doing some coding. Always wanted to do something with Go, too. Contact: foss (a) paulstaab (dot) de --Paul
- I want an open source clone of btsync, and can help with coding starting around jan 1st 2014. Computer engineering student, senior undergrad. Experienced with C and Python, and some Java and C++ (and some other stuff that isn't as relevant). Learning Go. Haven't worked on an open source team before, though. Please let me know if we get a group/irc/forum going. "syzothermy" on google's widely-used email service.
- Hi, i'm electron128 (a) yahoo (dot) com. I'm a big fan of Retroshare: http://retroshare.sourceforge.net/ My idea: create a folder sync plugin for Retroshare.
I have experience with Java, Python and C. I learn C++ and Qt.
- Hi, please take me into account for this project, you can reach me at luafran (a) gmail (dot) com.
- Hello, I'm Jewel. I've been working on a replacement for btsync for the past few weeks. So far I've created a draft protocol (which you may find useful for your own efforts) and am working on making a reference implementation. https://github.com/jewel/clearskies.
- Hi I'm William, I'm interested in helping out with this project. I'll watch this page for details of any Google Group or GitHub repos.
- Jacob Saporito, firstname.lastname@example.org. I'd like to get involved with this project.
- Hi, I'm Braydon Saporito. Sounds like a neat project to get involved with. I will keep an eye on the github and page to contribute when I can. email@example.com