Code Monkey home page Code Monkey logo

rustus's Introduction

logo

Docker Image Size (latest by date) Docker Image Version (latest semver) GitHub

Production-ready TUS protocol implementation written in Rust.

Features

This implementation has several features to make usage as simple as possible.

  • Rustus is robust, since it uses asynchronous Rust;
  • It can store information about uploads in databases;
  • You can specify directory structure to organize your uploads;
  • It has a lot of hooks options, and hooks can be combined.
  • Highly configurable;

Please check out Documentation for more information about configuration and deploy.

Installation

You can install rustus by 4 different ways.

From source

To build it from source rust must be installed. We don't rely on nightly features, you can use last stable release.

git clone https://github.com/s3rius/rustus.git
cd rustus
cargo install --path . --features=all

Also you can speedup build by disabling some features.

Available features:

  • amqp_notifier - adds amqp protocol support for notifying about upload status;
  • db_info_storage - adds support for storing information about upload in different databases (Postgres, MySQL, SQLite);
  • redis_info_storage - adds support for storing information about upload in redis database;
  • all - enables all rustus features.

All precompiled binaries have all features enabled.

With cargo

If you have cargo installed maybe it would be easier to install it directly from crates.io.

cargo install rustus --features=all

Binaries

All precompiled binaries available on github releases page. You can download binaries from here, unpack it and run.

./rustus

Make sure that you download version for your cpu and os.

Using docker

One of the most simple ways to run rustus is docker.

Rustus has two containers for each version.

  1. debian based image
  2. alpine based image

Alpine based images are more lightweight than debian

To run rustus you just need to run this command

docker run --rm -p "1081:1081" -d s3rius/rustus --log-level "DEBUG"

rustus's People

Contributors

s3rius avatar dependabot[bot] avatar kaelten avatar ciceronriman avatar kolaer avatar ryanrussell avatar happysalada avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.