hydra/README.md

160 lines
4.2 KiB
Markdown
Raw Normal View History

2024-05-04 19:39:18 +03:00
<br>
<div align="center">
<a href="https://hydralauncher.site">
<img src="./resources/icon.png" width="144"/>
</a>
<h1 align="center">Hydra Launcher</h1>
<p align="center">
<strong>Hydra is a game launcher with its own embedded bittorrent client and a self-managed repack scraper.</strong>
</p>
<p>
<a href="https://discord.gg/hydralauncher">
<img src ="https://img.shields.io/discord/1220692017311645737?style=flat&logo=discord&label=Hydra&labelColor=%231c1c1c"/>
</a>
<a href="https://github.com/hydralauncher/hydra">
<img src="https://img.shields.io/github/actions/workflow/status/hydralauncher/hydra/build.yml" />
</a>
<a href="https://github.com/hydralauncher/hydra">
<img src="https://img.shields.io/github/package-json/v/hydralauncher/hydra" />
</a>
</p>
2024-04-18 10:46:06 +03:00
2024-05-04 19:39:18 +03:00
![Hydra Catalogue](./docs/screenshot.png)
2024-04-18 10:46:06 +03:00
2024-05-04 19:39:18 +03:00
</div>
2024-04-18 10:46:06 +03:00
2024-05-04 19:39:18 +03:00
<br>
## Table of Contents
- [About](#about)
- [Features](#features)
- [Installation](#installation)
2024-05-04 19:43:27 +03:00
- [Contributing](#contributing)
- [Running](#running)
- [Build](#build)
2024-05-04 19:39:18 +03:00
## About
**Hydra** is a **Game Launcher** with its own embedded **BitTorrent Client** and a **self-managed repack scraper**.
<br>
The launcher is written in TypeScript (Electron) and Python, which handles the torrenting system by using libtorrent.
## Features
- Self-Managed repack scraper among all the most reliable websites on the [Megathread]("https://www.reddit.com/r/Piracy/wiki/megathread/")
- Own embedded bittorrent client
- How Long To Beat (HLTB) integration on game page
- Downloads path customization
- Repack list update notifications
- Windows, Linux and MacOS support
- Constantly updated
- And more ...
2024-04-18 10:46:06 +03:00
## Installation
2024-05-04 19:39:18 +03:00
Follow the steps below to install:
1. Download the latest version of Hydra from the [Releases](https://github.com/hydralauncher/hydra/releases/latest) 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 Discord
We concentrate our discussions on our [Discord](https://discord.gg/hydralauncher) server.
Join, grab the Collaborator role, go the dev channel and we talk to us and share your ideas.
2024-04-18 10:46:06 +03:00
### Install Node.js
Ensure you have Node.js installed on your machine. If not, download and install it from [nodejs.org](https://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](https://classic.yarnpkg.com/lang/en/docs/install/).
### Clone the Repository
```bash
git clone https://github.com/hydralauncher/hydra.git
```
### Install Node Dependencies
Navigate to the project directory and install the Node dependencies using Yarn:
```bash
cd hydra
yarn
```
### Install Python 3.9
2024-05-04 19:39:18 +03:00
Ensure you have Python 3.9 installed on your machine. You can download and install it from [python.org](https://www.python.org/downloads/release/python-3919/).
2024-04-18 10:46:06 +03:00
### Install Python Dependencies
Install the required Python dependencies using pip:
```bash
pip install -r requirements.txt
```
## Environment variables
2024-05-04 19:39:18 +03:00
You'll need an SteamGridDB API Key in order to fetch the game icons on installation.
2024-04-20 04:53:58 +03:00
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 paste the `.env.example` file and put it on `STEAMGRIDDB_API_KEY`, `ONLINEFIX_USERNAME`, `ONLINEFIX_PASSWORD`.
2024-04-18 10:46:06 +03:00
## 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:
```bash
2024-05-04 19:39:18 +03:00
yarn dev
2024-04-18 10:46:06 +03:00
```
## Build
### Build the bittorrent client
Build the bittorrent client by using this command:
```bash
2024-04-20 04:56:05 +03:00
python torrent-client/setup.py build
2024-04-18 10:46:06 +03:00
```
### Build the Electron application
Build the Electron application by using this command:
2024-05-04 19:39:18 +03:00
On Windows:
2024-04-18 10:46:06 +03:00
```bash
2024-05-04 19:39:18 +03:00
yarn build:win
```
On Linux:
```bash
yarn build:linux
2024-04-18 10:46:06 +03:00
```
## Contributors
2024-05-04 19:39:18 +03:00
<a href="https://github.com/hydralauncher/hydra/graphs/contributors">
<img src="https://contrib.rocks/image?repo=hydralauncher/hydra" />
</a>
Made with [contrib.rocks](https://contrib.rocks).
2024-04-18 10:46:06 +03:00
## License
Hydra is licensed under the [MIT License](LICENSE).