LibreS3, a robust Open Source implementation of the Amazon S3 service, has just been released!
Standard S3 client libraries and tools (for example python-boto, s3cmd, DragonDisk, etc.) can be used to access it.
LibreS3 uses Skylable Sx as the storage backend, which automatically provides data deduplication and replication.
Source code and binary packages are available.