Access Any Storage

Let's eliminate storage silos! Oxygen is building a platform to unify all storage. Our first release is Oxygen Toolkit, a command line interface for any machine to access any storage.

 

Oxygen-Toolkit

Oxygen-Toolkit is a zip file containing the cloudd gateway and the explorer shell. Start cloudd and use explorer as a command line interface or interactive shell to connect and access storage.

Start Cloudd

user@ubuntu-server-64bit:~$ ./startstorage.sh
Starting Storage Gateway
Started on port 26504
user@ubuntu-server-64bit:~$ ./explorer
explorer >

Connect Storage

Authorize secure access to Amazon Drive, Box, Dropbox, Google Drive and OneDrive. Connect all accounts for unified access.

Usage:
    explorer amazon_drive [list]
    explorer amazon_drive authorize
    explorer amazon_drive deauthorize <account>
    explorer box [list]
    explorer box authorize
    explorer box deauthorize <account>
    explorer dropbox [list]
    explorer dropbox authorize
    explorer dropbox deauthorize <account>
    explorer google_drive [list]
    explorer google_drive authorize
    explorer google_drive deauthorize <account>
    explorer onedrive [list]
    explorer onedrive authorize
    explorer onedrive deauthorize <account>

Access Storage

Navigate and modify cloud storage from any machine.

Usage:
    explorer cd <path>
    explorer ls [(-l | --long)] [<path>]
    explorer stat <remote-path>
    explorer pwd
    explorer mkdir <path>
    explorer upload <source> <destination> [--merge] [--overwrite]
    explorer download <source> <destination> [--force] [--recursive]
    explorer copy <source> <destination> [--merge] [--overwrite]
    explorer mv <source> <destination>
    explorer rm <path>
    explorer rename <path> <new-name>

Sync-Toolkit

Sync-Toolkit is a universal sync engine. Admins and developer can use sync-toolkit to sync folders with cloud storage flexibly. The toolkit includes the syncd daemon and the sync shell. Start syncd to sync and use sync shell to configure and manage sync.

Start Syncd

user@ubuntu-server-64bit:~$ ./startsync.sh
Starting Sync Daemon
Started on port 26504
user@ubuntu-server-64bit:~$ ./sync
sync >

Manage Sync

Usage:
    sync mounts [list]
    sync mounts add <local> <remote> (hourly | daily | weekly | manually)
    sync mounts remove <local> <remote>
    sync mounts refresh (hourly | daily | weekly | manually) <local>
    sync inclusions [list]
    sync inclusions (add | remove) <pattern>
    sync exclusions [list]
    sync exclusions (add|remove) <pattern>
    sync monitor
    sync pending [list]
    sync pending (retry | ignore) [<name-or-path>]
    sync conflicts [list]
    sync conflicts (retry | ignore) [<name-or-path>]
    sync conflicts resolve <name-or-path>
    sync trash [list]
    sync trash delete [<name-or-path>]
    sync trash restore [<name-or-path>]
    sync refresh <local> [--recursive]
    sync stat <local> [--terse]

FileServer-Toolkit

Access private storage. Download and install Fileserver-Toolkit for Linux, Windows, or Mac. The zip file contains the fsd gateway. Generate keys to grant secure access to server storage and remotely access storage with explorer fs.

Start fsd

Usage:
    explorer fs [list]
    explorer fs authorize <name> <url> <key>
    explorer fs deauthorize <name>

Gateway API

Developers may programmatically access connected storage through Oxygen Gateways via the Gateway REST API. By definition, every gateway implements the same API, including cloudd and fsd.

Getting metadata

GET    /v1/content/<contentId>/metadata
GET    /v1/content/<contentId>/listing?startToken=<startToken>

Downloading content

GET    /v1/content/<contentId>/file
GET    /v1/content/<contentId>/icon
GET    /v1/content/<contentId>/thumbnail
GET    /v1/content/<contentId>/preview

Creating content

POST   /v1/content/<contentId>/file
POST   /v1/content/<contentId>/folder

Modifying content

PUT    /v1/content/<contentId>/file
PUT    /v1/content/<contentId>/folder
PUT    /v1/content/<contentId>/name
DELETE /v1/content/<contentId>

Storage Integration

Make any storage available on Oxygen. Developers may integrate their storage or applications by implementing the Gateway REST API.

Connect Gateway

Register and authorize access to gateways anywhere.

Usage:
    explorer gateway [list]
    explorer gateway authorize <name> <url> <auth>
    explorer gateway deauthorize <name>

 

"There is a way out of every box, a solution to every puzzle; it's just a matter of finding it."

— Captain Jean-Luc Picard