Skip to content

🚀 CloudFile is a simple file storage solution that can be consumed via an API. Useful for all your projects, CloudFile allows the storage of files in a public or private cloud.

Notifications You must be signed in to change notification settings

Mediashare/api.cloudfile.tech

Repository files navigation

CloudFile-API

CloudFile is a simple file storage solution that can be consumed via an API. Useful for all your projects, CloudFile allows the storage of files (images, videos, texts, applications...) with an public or private access.

Features

  • File Hosting
  • Private or Public Volume
  • Pretty render file with ShowContent
  • Load balancing of files across multiple hard drives
  • Backup with another CloudFile instance

Getting Start

Installation

git clone https://github.com/Mediashare/CloudFile-API
cd CloudFile-API
composer update
chmod -R 777 var
bin/console cloudfile:install \ 
  --username "Admin" \ 
  --password "Admin" \ 
  --disk-name "MobyDisk" \
  --disk-path "${PWD}/var/stockage" \ 
  --backup-host "" \ 
  --backup-apikey "" \ 
  --cloudfile-password "MyCloudFilePassword"
php -S localhost:8000 -t public/

To finish the installation go to http://localhost:8000/install

Create volume storage

curl \
  -X POST \
  -F "name=My first volume" \
  -F "size=5" \ # Gb
  -F "cloudfile_password=MyCloudFilePassword" \ # If not blank 
  http://localhost:8000/volume/new

API Documentation

You can follow the Documentation for interaction with your CloudFile server.

About

🚀 CloudFile is a simple file storage solution that can be consumed via an API. Useful for all your projects, CloudFile allows the storage of files in a public or private cloud.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published