Coder Social home page Coder Social logo

baitcenter / ripalt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fuchsi/ripalt

0.0 1.0 0.0 26.74 MB

An Anti-Leech Torrent Tracker CMS based on actix-web

License: GNU General Public License v3.0

CSS 1.21% Rust 70.90% TSQL 1.43% PLpgSQL 0.23% HTML 24.80% JavaScript 1.44%

ripalt's Introduction

ripalt: An Anti-Leech Torrent Tracker

Overview

ripalt is a private Bittorrent Tracker CMS based on actix-web

Features

Nothing special yet. Plain old Torrent tracking.

Requirements

  • Rust nightly (2018-05-10)
  • PostgreSQL

Additional Build Requirements

Browser Requirements

  • Any Browser which supports ES6.
    • That means no Internet Explorer.

Installation

Get the source and compile it

Clone the repositry

git clone https://github.com/fuchsi/ripalt.git
cd ripalt
git submodule update --init

Build ripalt

cargo build
# or for release builds (might take a while)
cargo build --release

Setup

Create a .env file in the ripalt directory.

RUST_LOG="actix=warn,actix_web=info,ripalt=info"
DATABASE_URL="postgres://user:password@localhost/database"

The file should at least contain the DATABASE_URL.

Copy the config/ripalt.toml.example to config/ripalt.toml and change it to your needs and settings.

Install diesel_cli and apply the migrations

cargo install diesel_cli --no-default-features --features "postgres"
diesel migration run

Initialize the categories and groups:

psql user database -f doc/sql/categories.sql
psql user database -f doc/sql/groups.sql

Substitute user and database for your chosen settings.

Note: At the current state there is no initialization for additional tracker data, such as

  • ACL
  • Default User(s)

You'll have to create them on your own and update the ripalt.toml file for the created data.

Usage

Run ripalt

cargo run ripalt
# or
target/debug/ripalt
# or for release builds
target/release/ripalt

and navigate your Browser to http://localhost:8081, or whatever you set in the config.

Documentation

API Documentation

SemVer

This project follows SemVer only for the public API, public API here meaning the API endpoints appearing the the docs.

ripalt's People

Contributors

fuchsi avatar

Watchers

 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.