hydralauncher / hydra

Hydra is a game launcher with its own embedded bittorrent client and a self-managed repack scraper.
MIT License
9.33k stars 1.62k forks source link


[](https://hydralauncher.site)

Hydra Launcher

Hydra is a game launcher with its own embedded bittorrent client and a self-managed repack scraper.

[![build](https://img.shields.io/github/actions/workflow/status/hydralauncher/hydra/build.yml)](https://github.com/hydralauncher/hydra/actions) [![release](https://img.shields.io/github/package-json/v/hydralauncher/hydra)](https://github.com/hydralauncher/hydra/releases) [![be](https://img.shields.io/badge/lang-be-orange)](README.be.md) [![pl](https://img.shields.io/badge/lang-pl-white)](README.pl.md) [![pt-BR](https://img.shields.io/badge/lang-pt--BR-green.svg)](README.pt-BR.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) [![uk-UA](https://img.shields.io/badge/lang-uk--UA-blue)](README.uk-UA.md) [![es](https://img.shields.io/badge/lang-es-red)](README.es.md) [![fr](https://img.shields.io/badge/lang-fr-blue)](README.fr.md) ![Hydra Catalogue](./docs/screenshot.png)

Table of Contents

About

Hydra is a Game Launcher with its own embedded BitTorrent Client and a self-managed repack scraper.
The launcher is written in TypeScript (Electron) and Python, which handles the torrenting system by using libtorrent.

Features

Installation

Follow the steps below to install:

  1. Download the latest version of Hydra from the Releases page.
    • Download only .exe if you want to install Hydra on Windows.
    • Download .deb or .rpm or .zip if you want to install Hydra on Linux. (depends on your Linux distro)
  2. Run the downloaded file.
  3. Enjoy Hydra!

Contributing

Join our Telegram

We concentrate our discussions on our Telegram channel.

Fork and clone your repository

  1. Fork the repository (click here to fork now)
  2. Clone your forked code git clone https://github.com/your_username/hydra
  3. Create a new branch
  4. Push your commits
  5. Submit a new Pull Request

Ways you can contribute

Project Structure

Build from source

Install Node.js

Ensure you have Node.js installed on your machine. If not, download and install it from nodejs.org.

Install Yarn

Yarn is a package manager for Node.js. If you haven't installed Yarn yet, you can do so by following the instructions on yarnpkg.com.

Install Node Dependencies

Navigate to the project directory and install the Node dependencies using Yarn:

cd hydra
yarn

Install Python 3.9

Ensure you have Python 3.9 installed on your machine. You can download and install it from python.org.

Install Python Dependencies

Install the required Python dependencies using pip:

pip install -r requirements.txt

Environment variables

You'll need an SteamGridDB API Key in order to fetch the game icons on installation. If you want to have onlinefix as a repacker you'll need to add your credentials to the .env

Once you have it, you can copy or rename the .env.example file to .env and put it onSTEAMGRIDDB_API_KEY, ONLINEFIX_USERNAME, ONLINEFIX_PASSWORD.

Running

Once you've got all things set up, you can run the following command to start both the Electron process and the bittorrent client:

yarn dev

Build

Build the bittorrent client

Build the bittorrent client by using this command:

python torrent-client/setup.py build

Build the Electron application

Build the Electron application by using this command:

On Windows:

yarn build:win

On Linux:

yarn build:linux

Contributors

License

Hydra is licensed under the MIT License.