GithubHelp home page GithubHelp logo

jyeshe / bittorrent_client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juliodeleon/bittorrent_client

0.0 1.0 0.0 1.14 MB

Bittorrent client written in Elixir for personal use (Unreleased)

License: GNU Affero General Public License v3.0

Elixir 96.12% Shell 0.57% Dockerfile 0.14% JavaScript 2.15% CSS 0.02% HTML 1.00%

bittorrent_client's Introduction

BittorrentClient Travis build

BittorrentClient is a simple bittorrent client being written for personal use. This project is a very beta phase of development and is missing some key features before it can be used for daily use.

Start Server locally

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server ** to start with repl iex -S mix phx.server

Using BittorrentClient

BittorrentClient currently is a RESTful service an API to interact with:

Admin API (BETA)

API Description
GET / server status
PUT /fileDestination change file destination
GET /fileDestination get current file destination

Torrent API (prefixed /api/v1)

API Description
GET /torrent/<id>/status retrieve status of a torrent by ID
GET /torrent/<id>/info retrieve information about a given torrent by ID
PUT /torrent/<id>/connect connect a torrent to it's tracker by ID
PUT /torrent/<id>/connect/async connect a torrent to it's tracker by ID, call being asynchronous
PUT /torrent/<ID>/startTorrent begins the download process of torrent process, will fail if not connected to tracker
PUT /torrent/<ID>/startTorrent/async will attempt to start torrent, does not respond with failure or success
POST /torrent/addFile given a local file path, will add a torrent to BittorentClient
DELETE /torrent/<id> removes torrent from BittorrentClient
GET /torrent retrieves info on all torrents in BittorrentClient
delete /torrent/removeAll deletes all torrents in BittorrentClient

*note that this client does not support magnet link yet

bittorrent_client's People

Contributors

juliodeleon avatar dependabot[bot] avatar

Watchers

James Cloos 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.