iseries/neos-sia

Last activity on 5 May 2021
composer require iseries/neos-sia

Sia Adaptor for Neos - a decentralized cloud storage for assets

dev-master

Sia Adaptor for Neos - a decentralized cloud storage for assets

Version
dev-master
Type
neos-package
Release Date
10.05.2021 19:49:42
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT 54e828469408a34ceb3a9513a29fc332997aa552

MIT license Packagist Maintenance level: Acquaintance

Sia Adaptor for Neos and Flow

Your data belongs to you!

This Flow package allows you to store assets (resources) in Sia - a decentralized cloud storage platform. No servers, no trusted third parties.

!!! Please note that this package is still in development. It was NOT tested in production. You should use it in a development context only.

Sia?

Sia leverages blockchain technology to create a data storage marketplace that is more robust and more affordable than traditional cloud storage providers.

What Sia does

When a file gets uploaded to Sia, it gets split up, encrypted, and sent all over the world. Once you upload your files, the network ensures that they're always accessible to you by copying them multiple times. And they're never accessible to hosts because they only receive pieces of whole files that are already encrypted. When you upload your media to Sia, every single file gets divided into 30 segments before uploading, each targeted for distribution to hosts across the world.

If 20 out of 30 hosts go offline, a user is still able to download a files. And when hosts go offline, Sia automatically starts to re-duplicate them again. It would take a simultaneous global event to knock out enough hosts to damage the integrity of your files.

More Information about Sia: https://support.sia.tech/

Installation

The Sia adapter is installed as a regular Flow package via Composer. For your existing project, simply include iseries/neos-sia into the dependencies of your Flow or Neos distribution:

For Neos 4.* / Flow 5.*

$ composer require iseries/neos-sia:~1.0

Configuration

This package is using Skynet as default hosting platform. The current release of this package only supports the free plan, which has a storage limit up to 100GB.

Skynet Setting

iSeries:
  Sia:
    settings:
      appName: 'neos-sia'
      enpoint: 'siasky.net'
      endpointSendPath: '/skynet/skyfile' # no ending "/"
      hnsDomain: 'hns.siasky.net'
      urlHeadersAccept: 'application/json'
      urlHeadersUserAgent: 'Sia-Agent-2'
      apiKey: '' # apiKey is used for auth password. Not needed yet.
      customCookie: '' # custom cookie. Not needed yet.
      apiClientOptions:

Resource Settings

  Neos:
    Flow:
      resource:
        collections:
          persistent:
            target: siaPersistentResourcesTarget'
        targets:
          siaPersistentResourcesTarget:
            target: 'iSeries\Sia\SiaTarget'

Publish resources

$ ./flow resource:publish

This command will upload your files to your configured target.

Credits and license

This plugin was developed by Rene Rehme.

See LICENSE for license details.

The content of the readme is provided by Github