From a7492a8a11217c86444e258830b94304b3690050 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 16:22:20 -0300 Subject: [PATCH 01/14] - add pb-br readme (WIP) - change discord link to telegram - remove discord tag - add readme links to other languages - make the list of contributors dynamic using contrib.rocks --- README.md | 222 +++++------------------------------------------- README.pt-br.md | 192 +++++++++++++++++++++++++++++++++++++++++ README.ru.md | 159 +++++----------------------------- 3 files changed, 231 insertions(+), 342 deletions(-) create mode 100644 README.pt-br.md diff --git a/README.md b/README.md index a570db4d..d7b3e20a 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,6 @@ Hydra is a game launcher with its own embedded bittorrent client and a self-managed repack scraper.

- - - @@ -20,6 +17,12 @@

+For this readme in other languages, choose here: + +[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) +[![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) +[![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + ![Hydra Catalogue](./docs/screenshot.png) @@ -32,7 +35,7 @@ - [Features](#features) - [Installation](#installation) - [Contributing](#contributing) - - [Join our Discord](#join-our-discord) + - [Join our Telegram](#join-our-telegram) - [Fork and clone your repository](#fork-and-clone-your-repository) - [Ways you can contribute](#ways-you-can-contribute) - [Project Structure](#project-structure) @@ -76,15 +79,11 @@ Follow the steps below to install: 2. Run the downloaded file. 3. Enjoy Hydra! -## Contributing +## Contributing -### Join our Discord +### Join our Telegram -We concentrate our discussions on our [Discord](https://discord.gg/hydralauncher) server. - -1. Join our server -2. Go to the roles channel and grab the Collaborator role -3. Go to the dev channel, talk to us and share your ideas. +We concentrate our discussions on our [Telegram](https://t.me/hydralauncher) channel. ### Fork and clone your repository @@ -97,7 +96,7 @@ We concentrate our discussions on our [Discord](https://discord.gg/hydralauncher ### Ways you can contribute - Translation: We want Hydra to be available to as many people as possible. Feel free to help translate to new languages or update and improve the ones that are already available on Hydra. -- Code: Hydra is built with Typescript, Electron and a little bit of Python. If you want to contribute, join our Discord server! +- Code: Hydra is built with Typescript, Electron and a little bit of Python. If you want to contribute, join our [Telegram](https://t.me/hydralauncher)! ### Project Structure @@ -178,198 +177,15 @@ yarn build:linux ``` ## Contributors +Made with [contrib.rocks](https://contrib.rocks). + +> [!NOTE] +> It may take up to a day for the list to be updated. + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - hydralauncher -
- Hydra -
-
- - zamitto -
- Null -
-
- - fzanutto -
- Null -
-
- - JackEnx -
- Null -
-
- - Magrid0 -
- Magrid -
-
- - fhilipecrash -
- Fhilipe Coelho -
-
- - jps14 -
- José Luís -
-
- - shadowtosser -
- Null -
-
- - Mkdantas -
- Matheus Dantas -
-
- - Hachi-R -
- Hachi -
-
- - pmenta -
- João Martins -
-
- - xbozo -
- Guilherme Viana -
-
- - ferivoq -
- FeriVOQ -
-
- - Tunchichi -
- Ruslan -
-
- - eltociear -
- Ikko Eltociear Ashimine -
-
- - Netflixyapp -
- Netflixy -
-
- - vnumex -
- Vnumex -
-
- - FerNikoMF -
- Firdavs -
-
- - PCTroller -
- Null -
-
- - AHOHNMYC -
- Null -
-
- - Chr1s0Blood -
- Cristian S. -
-
- - ChristoferMendes -
- Christofer Luiz Dos Santos Mendes -
-
- - IWareQ -
- Dmitry Luk -
-
- - userMacieG -
- Maciej Ratyński -
-
- - HOLKus -
- Redulum -
-
- - cardosource -
- Cardoso -
-
- ## License diff --git a/README.pt-br.md b/README.pt-br.md new file mode 100644 index 00000000..e53080e7 --- /dev/null +++ b/README.pt-br.md @@ -0,0 +1,192 @@ +
+ +
+ + + +

Hydra Launcher

+

+ Hydra é um Game Launcher com seu próprio cliente de bittorrent integrado e um wrapper autogerenciado para busca de repacks. +

+

+ + + + + + +

+ +Para este README em outros idiomas, escolha aqui: + +[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) +[![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) +[![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + +![Catalogue do Hydra](./docs/screenshot.png) + +
+ +
+ +## Table of Contents + +- [Sobre](#about) +- [Recursos](#features) +- [Instalação](#installation) +- [Contributing](#contributing) + - [Junte-se ao nosso Telegram](#join-our-telegram) + - [Fork e clone seu repositorio](#fork-and-clone-your-repository) + - [Como contribuir](#ways-you-can-contribute) + - [Estrutura do projeto](#project-structure) +- [Compile a partir do codigo fonte](#build-from-source) + - [Instale Node.js](#install-nodejs) + - [Instale Yarn](#install-yarn) + - [Instale Node Dependencies](#install-node-dependencies) + - [Instale Python 3.9](#install-python-39) + - [Instale Python Dependencies](#install-python-dependencies) +- [variaveis de ambiente](#environment-variables) +- [Rodando o programa](#running) +- [Compilando](#build) + - [Compile o client bittorrent](#build-the-bittorrent-client) + - [Compile a aplicação Electron](#build-the-electron-application) +- [Contribuidores](#contributors) + +## 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 + +- 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 and Linux support +- Constantly updated +- And more ... + +## Installation + +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! + +## Contribuindo + +### Junte-se ao nosso Telegram + +Concentramos nossas discussões no nosso canal do [Telegram](https://t.me/hydralauncher). + +### Fork and clone your repository + +1. Fork the repository [(click here to fork now)](https://github.com/hydralauncher/hydra/fork) +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 + +- Translation: We want Hydra to be available to as many people as possible. Feel free to help translate to new languages or update and improve the ones that are already available on Hydra. +- Code: Hydra is built with Typescript, Electron and a little bit of Python. If you want to contribute, join our [Telegram](https://t.me/hydralauncher)! + +### Project Structure + +- torrent-client: We use libtorrent, a Python library, to manage torrent downloads +- src/renderer: the UI of the application +- src/main: all the logic rests here. + +## Build from source + +### 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/). + +### Install Node Dependencies + +Navigate to the project directory and install the Node dependencies using Yarn: + +```bash +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](https://www.python.org/downloads/release/python-3919/). + +### Install Python Dependencies + +Install the required Python dependencies using pip: + +```bash +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 on`STEAMGRIDDB_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: + +```bash +yarn dev +``` + +## Build + +### Build the bittorrent client + +Build the bittorrent client by using this command: + +```bash +python torrent-client/setup.py build +``` + +### Build the Electron application + +Build the Electron application by using this command: + +On Windows: + +```bash +yarn build:win +``` + +On Linux: + +```bash +yarn build:linux +``` + +## Contributors +Feito com [contrib.rocks](https://contrib.rocks). + +> [!NOTE] +> Pode levar ate um dia para a lista ser atualizada. + + + + + + +## License + +Hydra is licensed under the [MIT License](LICENSE). diff --git a/README.ru.md b/README.ru.md index 5fbee317..bb6961e4 100644 --- a/README.ru.md +++ b/README.ru.md @@ -9,9 +9,6 @@ Hydra - это игровой лаунчер с собственным встроенным клиентом BitTorrent и самостоятельным scraper`ом для репаков.

- - - @@ -20,6 +17,12 @@

+Для этого README на других языках выберите здесь: + +[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) +[![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) +[![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + ![Hydra Catalogue](./docs/screenshot.png) @@ -34,8 +37,8 @@ - [Описание](#описание) - [Особенности](#особенности) - [Установка](#установка) -- [Сотрудничество](#сотрудничество) - - [Присоединяйтесь к нашему Discord](#присоединяйтесь-к-нашему-discord) +- [Сотрудничество](#contributing) + - [Присоединяйтесь к нашему Telegram](#join-our-telegram) - [Форк и клонирование репозитория](#форк-и-клонирование-репозитория) - [Способы внести свой вклад](#способы-внести-свой-вклад) - [Структура проекта](#структура-проекта) @@ -79,15 +82,11 @@ 2. Запустите скачанный файл. 3. Наслаждайтесь Hydra! -## Сотрудничество +## Вклад -### Присоединяйтесь к нашему Discord +### Присоединяйтесь к нашему Telegram -Мы сосредотачиваем наши обсуждения на нашем [Discord](https://discord.gg/hydralauncher) сервере. - -1. Присоединитесь к нашему серверу. -2. Перейдите в канал ролей и получите роль Collaborator. -3. Перейдите в канал Dev, общайтесь с нами и делитесь своими идеями. +Мы сосредотачиваем наши обсуждения в нашем канале [Telegram](https://t.me/hydralauncher). ### Форк и клонирование репозитория @@ -100,7 +99,7 @@ ### Способы внести свой вклад - Перевод: Мы хотим, чтобы Hydra была доступна как можно большему количеству людей. Не стесняйтесь помогать переводить на новые языки или обновлять и улучшать те, которые уже доступны в Hydra. -- Код: Hydra создан с использованием TypeScript, Electron и немного Python. Если хотите внести свой вклад, присоединяйтесь к нашему серверу Discord! +- Код: Hydra создан с использованием TypeScript, Electron и немного Python. Если хотите внести свой вклад, присоединяйтесь к нашему серверу [Telegram](https://t.me/hydralauncher)! ### Структура проекта @@ -181,133 +180,15 @@ yarn build:linux ``` ## Участники +Сделано с [contrib.rocks](https://contrib.rocks). + +> [!NOTE] +> Обновление списка может занять до одного дня. + + + + - - - - - - - - - - - - - - - - - - - - - - -
- - hydralauncher -
- Hydra -
-
- - zamitto -
- Null -
-
- - fzanutto -
- Null -
-
- - JackEnx -
- Null -
-
- - Magrid0 -
- Magrid -
-
- - fhilipecrash -
- Fhilipe Coelho -
-
- - jps14 -
- José Luís -
-
- - shadowtosser -
- Null -
-
- - pmenta -
- João Martins -
-
- - ferivoq -
- FeriVOQ -
-
- - xbozo -
- Guilherme Viana -
-
- - eltociear -
- Ikko Eltociear Ashimine -
-
- - Netflixyapp -
- Netflixy -
-
- - Hachi-R -
- Hachi -
-
- - FerNikoMF -
- Firdavs -
-
- - userMacieG -
- Maciej Ratyński -
-
- - Tunchichi -
- Ruslan -
-
- ## License From 13dd6184e03b50ac2ea409f80f4a171680f45866 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 16:28:25 -0300 Subject: [PATCH 02/14] =?UTF-8?q?change=20"=D0=92=D0=BA=D0=BB=D0=B0=D0=B4"?= =?UTF-8?q?=20to=20"=D0=A1=D0=BE=D1=82=D1=80=D1=83=D0=B4=D0=BD=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=B2=D0=BE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.ru.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.ru.md b/README.ru.md index bb6961e4..19e2428d 100644 --- a/README.ru.md +++ b/README.ru.md @@ -82,7 +82,7 @@ 2. Запустите скачанный файл. 3. Наслаждайтесь Hydra! -## Вклад +## Сотрудничество ### Присоединяйтесь к нашему Telegram From aed4b8ea0033880e1c79fcab769d99d98c4dd6b5 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 16:57:14 -0300 Subject: [PATCH 03/14] =?UTF-8?q?revert=20"=D0=A1=D0=BE=D1=82=D1=80=D1=83?= =?UTF-8?q?=D0=B4=D0=BD=D0=B8=D1=87=D0=B5=D1=81=D1=82=D0=B2=D0=BE"=20to=20?= =?UTF-8?q?"=D0=92=D0=BA=D0=BB=D0=B0=D0=B4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.ru.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.ru.md b/README.ru.md index 19e2428d..fe898806 100644 --- a/README.ru.md +++ b/README.ru.md @@ -37,7 +37,7 @@ - [Описание](#описание) - [Особенности](#особенности) - [Установка](#установка) -- [Сотрудничество](#contributing) +- [Вклад](#contributing) - [Присоединяйтесь к нашему Telegram](#join-our-telegram) - [Форк и клонирование репозитория](#форк-и-клонирование-репозитория) - [Способы внести свой вклад](#способы-внести-свой-вклад) @@ -82,7 +82,7 @@ 2. Запустите скачанный файл. 3. Наслаждайтесь Hydra! -## Сотрудничество +## Вклад ### Присоединяйтесь к нашему Telegram From d6ba3f13e194083600045b715ee3d8e8ecb9e570 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 17:54:52 -0300 Subject: [PATCH 04/14] - change links to point to actions and releases - add style="display: inline-block;" to remove bugg css on badge links --- README.md | 4 ++-- README.pt-br.md | 4 ++-- README.ru.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d7b3e20a..09d2d228 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ Hydra is a game launcher with its own embedded bittorrent client and a self-managed repack scraper.

- + - +

diff --git a/README.pt-br.md b/README.pt-br.md index e53080e7..658e91f0 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -9,10 +9,10 @@ Hydra é um Game Launcher com seu próprio cliente de bittorrent integrado e um wrapper autogerenciado para busca de repacks.

- + - +

diff --git a/README.ru.md b/README.ru.md index fe898806..60431b33 100644 --- a/README.ru.md +++ b/README.ru.md @@ -9,10 +9,10 @@ Hydra - это игровой лаунчер с собственным встроенным клиентом BitTorrent и самостоятельным scraper`ом для репаков.

- + - +

From 6af6a6bac4d9ae483e7f03e32aeb58a7b15a94cd Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 18:15:05 -0300 Subject: [PATCH 05/14] ok, github parses out style tags, so i changed it a little --- README.md | 32 ++++++++++++++------------------ README.pt-br.md | 28 ++++++++++++---------------- README.ru.md | 28 ++++++++++++---------------- 3 files changed, 38 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index 09d2d228..972345a2 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,25 @@
- - - + + [](https://hydralauncher.site) +

Hydra Launcher

+

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

-

- - - - - - -

-For this readme in other languages, choose here: - -[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) -[![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) -[![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - -![Hydra Catalogue](./docs/screenshot.png) + [![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) + + For this readme in other languages, choose here: + + [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) + [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + + ![Hydra Catalogue](./docs/screenshot.png)
diff --git a/README.pt-br.md b/README.pt-br.md index 658e91f0..e562a9b0 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -1,29 +1,25 @@
- - - + + [](https://hydralauncher.site) +

Hydra Launcher

+

Hydra é um Game Launcher com seu próprio cliente de bittorrent integrado e um wrapper autogerenciado para busca de repacks.

-

- - - - - - -

-Para este README em outros idiomas, escolha aqui: + [![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) -[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) -[![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) -[![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + Para este README em outros idiomas, escolha aqui: -![Catalogue do Hydra](./docs/screenshot.png) + [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) + [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + + ![Hydra Catalogue](./docs/screenshot.png)
diff --git a/README.ru.md b/README.ru.md index 60431b33..e81cca4b 100644 --- a/README.ru.md +++ b/README.ru.md @@ -1,29 +1,25 @@
- - - + + [](https://hydralauncher.site) +

Hydra Launcher

+

Hydra - это игровой лаунчер с собственным встроенным клиентом BitTorrent и самостоятельным scraper`ом для репаков.

-

- - - - - - -

-Для этого README на других языках выберите здесь: + [![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) -[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) -[![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) -[![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + Для этого README на других языках выберите здесь: -![Hydra Catalogue](./docs/screenshot.png) + [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) + [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + + ![Hydra Catalogue](./docs/screenshot.png)
From ed3ef73064cd9f89a6ab485909068ee263ed5e14 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 18:21:10 -0300 Subject: [PATCH 06/14] remove langs section on russian file --- README.pt-br.md | 2 +- README.ru.md | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.pt-br.md b/README.pt-br.md index e562a9b0..c163e4c9 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -25,7 +25,7 @@
-## Table of Contents +## Índice - [Sobre](#about) - [Recursos](#features) diff --git a/README.ru.md b/README.ru.md index e81cca4b..157370d6 100644 --- a/README.ru.md +++ b/README.ru.md @@ -25,9 +25,6 @@
-### Язык -[![ru](https://img.shields.io/badge/lang-ru-red)](https://github.com/hydralauncher/hydra/blob/main/README.ru.md) - ## Содержание - [Описание](#описание) From a02598bc8f0e6140bf5658b5644023baac224b51 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 18:34:25 -0300 Subject: [PATCH 07/14] add AU loc from PR #265 (thanks @squidsdev) --- README.md | 1 + README.pt-br.md | 1 + README.ru.md | 1 + README.ua.md | 192 ++++++++++++++++++++++++++++++++ src/locales/index.ts | 1 + src/locales/ua/translation.json | 166 +++++++++++++++++++++++++++ 6 files changed, 362 insertions(+) create mode 100644 README.ua.md create mode 100644 src/locales/ua/translation.json diff --git a/README.md b/README.md index 972345a2..839ce9fa 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) ![Hydra Catalogue](./docs/screenshot.png) diff --git a/README.pt-br.md b/README.pt-br.md index c163e4c9..053f5fb8 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -18,6 +18,7 @@ [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) ![Hydra Catalogue](./docs/screenshot.png) diff --git a/README.ru.md b/README.ru.md index 157370d6..ef5104ec 100644 --- a/README.ru.md +++ b/README.ru.md @@ -18,6 +18,7 @@ [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) ![Hydra Catalogue](./docs/screenshot.png) diff --git a/README.ua.md b/README.ua.md new file mode 100644 index 00000000..0f373da6 --- /dev/null +++ b/README.ua.md @@ -0,0 +1,192 @@ +
+ +
+ + [](https://hydralauncher.site) + +

Hydra Launcher

+ +

+ Hydra - це ігровий лаунчер з власним вбудованим bittorrent-клієнтом і самокерованим збирачем репаків. +

+ + [![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) + + Для цього README іншими мовами виберіть тут: + + [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) + [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) + [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) + + ![Hydra Catalogue](./docs/screenshot.png) + +
+ +
+ +## Зміст + +- [Про нас](#про-нас) +- [Функції](#функції) +- [Встановлення](#встановлення) +- [Зробити свій внесок](#contributing) + - [Приєднуйтесь до нашого Telegram](#join-our-telegram) + - [Форк і клонування вашого репозиторію](#форк-і-клонування-вашого-репозиторію) + - [Як ви можете зробити свій внесок](#як-ви-можете-зробити-свій-внесок) + - [Структура проекту](#структура-проекту) +- [Зробити білд з вихідного коду](#зробити-білд-з-вихідного-коду) + - [Встановіть Node.js](#встановіть-nodejs) + - [Встановіть Yarn](#встановіть-yarn) + - [Встановіть Node залежності](#встановіть-node-залежності) + - [Встановіть Python 3.9](#встановіть-python-39) + - [Встановіть Python залежності](#встановіть-python-залежності) +- [Змінні середовища](#змінні-середовища) +- [Запустіть](#запустіть) +- [Зробіть білд](#зробіть-білд) + - [Зробіть білд bittorrent client](#зробіть-білд-bittorrent-client) + - [Зробіть білд Electron застосунку](#зробіть-білд-electron-застосунку) +- [Контриб'ютори](#контрибютори) + +## Про нас + +**Hydra** - це **ігровий лаунчер** з власним вбудованим **BitTorrent-клієнтом** і **самокерованим збирачем репаків**. +
+Цей лаунчер написано мовами TypeScript (Electron) та Python, який працює з торрент-системою за допомогою libtorrent. + +## Функції + +- Самокерований збирач репаків серед усіх найнадійніших сайтів на [Megathread]("https://www.reddit.com/r/Piracy/wiki/megathread/") +- Власний вбудований клієнт bittorrent +- Інтеграція How Long To Beat (HLTB) на сторінці гри +- Налаштування теки завантаження +- Сповіщення про оновлення списку репаків +- Підтримка Windows і Linux +- Постійно оновлюється +- І не тільки ... + +## Встановлення + +Follow the steps below to install: + +1. Завантажте останню версію Hydra зі сторінки [Releases](https://github.com/hydralauncher/hydra/releases/latest). + - Завантажте лише .exe, якщо ви хочете встановити Hydra на Windows. + - Завантажте .deb або .rpm або .zip, якщо ви хочете встановити Hydra на Linux. (залежить від вашого дистрибутива Linux) +2. Запустіть завантажений файл. +3. Насолоджуйтесь Гідрою! + +## Зробити свій внесок + +### Приєднуйтесь до нашого Telegram + +Ми зосереджуємо наші дискусії на нашому сервері [Telegram](https://t.me/hydralauncher). + +1. Приєднуйтесь до нашого сервера +2. Перейдіть на канал ролей і виберіть роль Співробітник +3. Заходьте на dev-канал, спілкуйтеся з нами та діліться своїми ідеями. + +### Форк і клонування вашого репозиторію + +1. Зробіть форк репозиторію [(натисніть тут, щоб зробити форк зараз)](https://github.com/hydralauncher/hydra/fork) +2. Клонуйте ваш форк-код `git clone https://github.com/your_username/hydra` +3. Створіть новий бранч +4. Зробіть пуш своїх комітів +5. Надішліть новий Pull Request + +### Як ви можете зробити свій внесок + +- Translation: We want Hydra to be available to as many people as possible. Feel free to help translate to new languages or update and improve the ones that are already available on Hydra. +- Code: Hydra is built with Typescript, Electron and a little bit of Python. If you want to contribute, join our Telegram! + +### Структура проекту + +- torrent-client: Ми використовуємо libtorrent, бібліотеку Python, для керування завантаженнями з торрентів +- src/renderer: інтерфейс програми +- src/main: вся логіка тут. + +## Зробити білд з вихідного коду + +### Встановіть Node.js + +Переконайтеся, що на вашому комп'ютері встановлено Node.js. Якщо ні, завантажте та встановіть його з [nodejs.org](https://nodejs.org/). + +### Встановіть Yarn + +Yarn - це менеджер пакетів для Node.js. Якщо ви ще не встановили Yarn, ви можете зробити це, дотримуючись інструкцій на сторінці [yarnpkg.com](https://classic.yarnpkg.com/lang/en/docs/install/). + +### Встановіть Node залежності + +Перейдіть до каталогу проекту і встановіть Node залежності за допомогою Yarn: + +```bash +cd hydra +yarn +``` + +### Встановіть Python 3.9 + +Переконайтеся, що на вашому комп'ютері встановлено Python 3.9. Ви можете завантажити та встановити його з [python.org](https://www.python.org/downloads/release/python-3919/). + +### Встановіть Python залежності + +Встановіть необхідні залежності Python за допомогою pip: + +```bash +pip install -r requirements.txt +``` + +## Змінні середовища + +Вам знадобиться ключ API SteamGridDB, щоб отримати іконки ігор під час встановлення. +Якщо ви хочете використовувати onlinefix як перепакувальник, вам потрібно додати свої облікові дані до .env + +Отримавши його, ви можете скопіювати або перейменувати файл `.env.example` на `.env`і помістити його на`STEAMGRIDDB_API_KEY`, `ONLINEFIX_USERNAME`, `ONLINEFIX_PASSWORD`. + +## Запустіть + +Після того, як ви все налаштували, ви можете запустити наступну команду, щоб запустити як процес Electron, так і клієнт bittorrent: + +```bash +yarn dev +``` + +## Зробіть білд + +### Зробіть білд bittorrent client + +Зробіть білд bittorrent client за допомогою цієї команди: + +```bash +python torrent-client/setup.py build +``` + +### Зробіть білд Electron застосунку + +Зробіть білд Electron застосунку за допомогою цієї команди: + +На Windows: + +```bash +yarn build:win +``` + +На Linux: + +```bash +yarn build:linux +``` + +## Контриб'ютори +Made with [contrib.rocks](https://contrib.rocks). + +> [!NOTE] +> It may take up to a day for the list to be updated. + + + + + +## License + +Hydra має ліцензію [MIT License](LICENSE). \ No newline at end of file diff --git a/src/locales/index.ts b/src/locales/index.ts index 6ee7a7cf..56d2dc4d 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -8,3 +8,4 @@ export { default as pl } from "./pl/translation.json"; export { default as ru } from "./ru/translation.json"; export { default as tr } from "./tr/translation.json"; export { default as be } from "./be/translation.json"; +export { default as ua } from "./ua/translation.json"; diff --git a/src/locales/ua/translation.json b/src/locales/ua/translation.json new file mode 100644 index 00000000..84db481a --- /dev/null +++ b/src/locales/ua/translation.json @@ -0,0 +1,166 @@ +{ + "home": { + "featured": "Рекомендоване", + "recently_added": "Нове", + "trending": "У тренді", + "surprise_me": "Здивуй мене", + "no_results": "Результатів не знайдено" + }, + "sidebar": { + "catalogue": "Каталог", + "downloads": "Завантаження", + "settings": "Налаштування", + "my_library": "Бібліотека", + "downloading_metadata": "{{title}} (Завантаження метаданих…)", + "checking_files": "{{title}} ({{percentage}} - Перевірка файлів…)", + "paused": "{{title}} (Призупинено)", + "downloading": "{{title}} ({{percentage}} - Завантаження…)", + "filter": "Фільтр бібліотеки", + "follow_us": "Підписуйтесь на нас", + "home": "Головна", + "discord": "Приєднуйтесь до Discord", + "x": "Підписуйтесь на X", + "github": "Зробіть свій внесок на GitHub" + }, + "header": { + "search": "Пошук", + "home": "Головна", + "catalogue": "Каталог", + "downloads": "Завантаження", + "search_results": "Результати пошуку", + "settings": "Налаштування" + }, + "bottom_panel": { + "no_downloads_in_progress": "Немає активних завантажень", + "downloading_metadata": "Завантаження метаданих {{title}}…", + "checking_files": "Перевірка файлів {{title}}… ({{percentage}} завершено)", + "downloading": "Завантаження {{title}}… ({{percentage}} завершено) - Закінчення {{eta}} - {{speed}}" + }, + "catalogue": { + "next_page": "Наступна сторінка", + "previous_page": "Попередня сторінка" + }, + "game_details": { + "open_download_options": "Відкрити варіанти завантаження", + "download_options_zero": "Немає варіантів завантаження", + "download_options_one": "{{count}} варіант завантаження", + "download_options_other": "{{count}} варіантів завантаження", + "updated_at": "Оновлено {{updated_at}}", + "install": "Встановити", + "resume": "Відновити", + "pause": "Призупинити", + "cancel": "Скасувати", + "remove": "Видалити", + "remove_from_list": "Видалити", + "space_left_on_disk": "{{space}} вільно на диску", + "eta": "Закінчення {{eta}}", + "downloading_metadata": "Завантаження метаданих…", + "checking_files": "Перевірка файлів…", + "filter": "Фільтр репаків", + "requirements": "Системні вимоги", + "minimum": "Мінімальні", + "recommended": "Рекомендовані", + "no_minimum_requirements": "Для {{title}} не вказані мінімальні вимоги", + "no_recommended_requirements": "Для {{title}} не вказані рекомендовані вимоги", + "paused_progress": "{{progress}} (Призупинено)", + "release_date": "Випущено {{date}}", + "publisher": "Видавець {{publisher}}", + "copy_link_to_clipboard": "Скопіювати посилання", + "copied_link_to_clipboard": "Посилання скопійовано", + "hours": "годин", + "minutes": "хвилин", + "amount_hours": "{{amount}} годин", + "amount_minutes": "{{amount}} хвилин", + "accuracy": "{{accuracy}}% точність", + "add_to_library": "Додати до бібліотеки", + "remove_from_library": "Видалити з бібліотеки", + "no_downloads": "Немає доступних завантажень", + "play_time": "Час гри: {{amount}}", + "last_time_played": "Востаннє зіграно: {{period}}", + "not_played_yet": "Ви ще не грали в {{title}}", + "next_suggestion": "Наступна пропозиція", + "play": "Грати", + "deleting": "Видалення інсталятора…", + "close": "Закрити", + "playing_now": "Поточна гра", + "change": "Змінити", + "repacks_modal_description": "Виберіть репак, який хочете завантажити", + "downloads_path": "Шлях завантажень", + "select_folder_hint": "Щоб змінити теку за замовчуванням, відкрийте", + "settings": "Налаштування Hydra", + "download_now": "Завантажити зараз", + "installation_instructions": "Інструкція зі встановлення", + "installation_instructions_description": "Для встановлення цієї гри потрібні додаткові кроки", + "online_fix_instruction": "В іграх з OnlineFix потрібно ввести пароль для вилучення. За необхідності використовуйте наступний пароль:", + "dodi_installation_instruction": "Коли ви відкриєте інсталятор DODI, натисніть на клавіатурі клавішу 'вгору' <0 />, щоб почати процес встановлення:", + "dont_show_it_again": "Не показувати це знову", + "copy_to_clipboard": "Копіювати", + "copied_to_clipboard": "Скопійовано", + "got_it": "Зрозуміло" + }, + "activation": { + "title": "Активувати Hydra", + "installation_id": "ID установки:", + "enter_activation_code": "Введіть ваш активаційний код", + "message": "Якщо ви не знаєте, де його запросити, то не повинні мати цього.", + "activate": "Активувати", + "loading": "Завантаження…" + }, + "downloads": { + "resume": "Продовжити", + "pause": "Призупинити", + "eta": "Закінчення {{eta}}", + "paused": "Призупинено", + "verifying": "Перевірка…", + "completed_at": "Завершено в {{date}}", + "completed": "Завершено", + "cancelled": "Скасовано", + "download_again": "Завантажити знову", + "cancel": "Скасувати", + "filter": "Фільтр завантажених ігор", + "remove": "Видалити", + "downloading_metadata": "Завантаження метаданих…", + "checking_files": "Перевірка файлів…", + "starting_download": "Початок завантаження…", + "deleting": "Видалення інсталятора…", + "delete": "Видалити інсталятор", + "remove_from_list": "Видалити", + "delete_modal_title": "Ви впевнені?", + "delete_modal_description": "Це видалить усі інсталяційні файли з вашого комп'ютера", + "install": "Встановити" + }, + "settings": { + "downloads_path": "Тека завантажень", + "change": "Змінити", + "notifications": "Повідомлення", + "enable_download_notifications": "Після завершення завантаження", + "enable_repack_list_notifications": "Коли додається новий репак", + "telemetry": "Телеметрія", + "telemetry_description": "Відправляти анонімну статистику використання", + "behavior": "Поведінка", + "quit_app_instead_hiding": "Закривати програму замість того, щоб згортати її в трей", + "launch_with_system": "Запускати програми із запуском комп'ютера" + }, + "notifications": { + "download_complete": "Завантаження завершено", + "game_ready_to_install": "{{title}} готова до встановлення", + "repack_list_updated": "Список репаків оновлено", + "repack_count_one": "{{count}} репак додано", + "repack_count_other": "{{count}} репаків додано" + }, + "system_tray": { + "open": "Відкрити Hydra", + "quit": "Вийти" + }, + "game_card": { + "no_downloads": "Немає доступних завантажень" + }, + "binary_not_found_modal": { + "title": "Програми не встановлені", + "description": "Виконувані файли Wine або Lutris не знайдено у вашій системі", + "instructions": "Дізнайтеся правильний спосіб встановити будь-який з них на ваш дистрибутив Linux, щоб гра могла нормально працювати" + }, + "modal": { + "close": "Закрити" + } + } \ No newline at end of file From 2415257a6ec5722e5d557b38d71dd29ca85ee08f Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 20:05:14 -0300 Subject: [PATCH 08/14] remove contributors.yml --- .github/workflows/contributors.yml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 .github/workflows/contributors.yml diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml deleted file mode 100644 index 921eed6c..00000000 --- a/.github/workflows/contributors.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Contributors - -on: - push: - branches: main - -jobs: - contributors: - runs-on: ubuntu-latest - - steps: - - uses: akhilmhdh/contributors-readme-action@v2.3.8 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c5b5be9ff21a62bb9e4b5a8920f3ff03b0ebc388 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 20:40:26 -0300 Subject: [PATCH 09/14] apply modification suggested by @zamitto --- README.md | 13 ++----------- README.pt-br.md | 13 ++----------- README.ru.md | 13 ++----------- README.ua.md => README.uk-UA.md | 14 +++----------- 4 files changed, 9 insertions(+), 44 deletions(-) rename README.ua.md => README.uk-UA.md (95%) diff --git a/README.md b/README.md index 839ce9fa..12b5bf8f 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,15 @@ [![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) - For this readme in other languages, choose here: - - [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) + [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) -
- ## Table of Contents - [About](#about) @@ -174,16 +170,11 @@ yarn build:linux ``` ## Contributors -Made with [contrib.rocks](https://contrib.rocks). - -> [!NOTE] -> It may take up to a day for the list to be updated. - ## License Hydra is licensed under the [MIT License](LICENSE). diff --git a/README.pt-br.md b/README.pt-br.md index 053f5fb8..b763fb08 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -13,19 +13,15 @@ [![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) - Para este README em outros idiomas, escolha aqui: - - [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) + [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) -
- ## Índice - [Sobre](#about) @@ -174,16 +170,11 @@ yarn build:linux ``` ## Contributors -Feito com [contrib.rocks](https://contrib.rocks). - -> [!NOTE] -> Pode levar ate um dia para a lista ser atualizada. - ## License Hydra is licensed under the [MIT License](LICENSE). diff --git a/README.ru.md b/README.ru.md index ef5104ec..034c6011 100644 --- a/README.ru.md +++ b/README.ru.md @@ -13,19 +13,15 @@ [![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) - Для этого README на других языках выберите здесь: - - [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) + [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) -
- ## Содержание - [Описание](#описание) @@ -174,16 +170,11 @@ yarn build:linux ``` ## Участники -Сделано с [contrib.rocks](https://contrib.rocks). - -> [!NOTE] -> Обновление списка может занять до одного дня. - ## License Hydra лицензирована в соответствии с [MIT License](LICENSE). diff --git a/README.ua.md b/README.uk-UA.md similarity index 95% rename from README.ua.md rename to README.uk-UA.md index 0f373da6..7b24bf33 100644 --- a/README.ua.md +++ b/README.uk-UA.md @@ -13,19 +13,15 @@ [![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) - Для цього README іншими мовами виберіть тут: - - [![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-br.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![ua](https://img.shields.io/badge/lang-ua-blue)](README.ua.md) + [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) -
- ## Зміст - [Про нас](#про-нас) @@ -178,10 +174,6 @@ yarn build:linux ``` ## Контриб'ютори -Made with [contrib.rocks](https://contrib.rocks). - -> [!NOTE] -> It may take up to a day for the list to be updated. @@ -189,4 +181,4 @@ Made with [contrib.rocks](https://contrib.rocks). ## License -Hydra має ліцензію [MIT License](LICENSE). \ No newline at end of file +Hydra має ліцензію [MIT License](LICENSE). From 54feb14daf3e621cae485a4d1f25f72cf76bd9ea Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 20:46:11 -0300 Subject: [PATCH 10/14] change 'pt-br' and 'au' to 'pt-BR' and 'uk-AU' according to http://www.lingoes.net/en/translator/langcode.htm --- README.md | 4 ++-- README.pt-br.md | 4 ++-- README.ru.md | 4 ++-- README.uk-UA.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 12b5bf8f..d2da61c6 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ [![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) - [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--BR-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) + [![uk-UA](https://img.shields.io/badge/lang-uk--UA-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) diff --git a/README.pt-br.md b/README.pt-br.md index b763fb08..79625a26 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -13,10 +13,10 @@ [![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) - [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--BR-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) + [![uk-UA](https://img.shields.io/badge/lang-uk--UA-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) diff --git a/README.ru.md b/README.ru.md index 034c6011..5c0a5c6d 100644 --- a/README.ru.md +++ b/README.ru.md @@ -13,10 +13,10 @@ [![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) - [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--BR-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) + [![uk-UA](https://img.shields.io/badge/lang-uk--UA-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) diff --git a/README.uk-UA.md b/README.uk-UA.md index 7b24bf33..82ae7261 100644 --- a/README.uk-UA.md +++ b/README.uk-UA.md @@ -13,10 +13,10 @@ [![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) - [![pt-BR](https://img.shields.io/badge/lang-pt--br-green.svg)](README.pt-BR.md) + [![pt-BR](https://img.shields.io/badge/lang-pt--BR-green.svg)](README.pt-BR.md) [![en](https://img.shields.io/badge/lang-en-red.svg)](README.md) [![ru](https://img.shields.io/badge/lang-ru-yellow.svg)](README.ru.md) - [![uk-UA](https://img.shields.io/badge/lang-ua-blue)](README.uk-UA.md) + [![uk-UA](https://img.shields.io/badge/lang-uk--UA-blue)](README.uk-UA.md) ![Hydra Catalogue](./docs/screenshot.png) From edf8be3a1eb1c54bf003ffba5bc443b1e0a2787d Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 20:52:57 -0300 Subject: [PATCH 11/14] git hub ignore captalization changes on files --- README.pt-br.md => README.pt-B.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README.pt-br.md => README.pt-B.md (100%) diff --git a/README.pt-br.md b/README.pt-B.md similarity index 100% rename from README.pt-br.md rename to README.pt-B.md From 2e5d2c55fe59b92497795c38d0671d64adcd25be Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 20:53:26 -0300 Subject: [PATCH 12/14] so i need to actually change the text and go back, super dumb --- README.pt-B.md => README.pt-BR.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README.pt-B.md => README.pt-BR.md (100%) diff --git a/README.pt-B.md b/README.pt-BR.md similarity index 100% rename from README.pt-B.md rename to README.pt-BR.md From 6ba8378152a28255af1bf137458c35b8eb0306a1 Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 21:58:05 -0300 Subject: [PATCH 13/14] change discord to telegram on sidebar --- src/locales/be/translation.json | 1 + src/locales/en/translation.json | 1 + src/locales/es/translation.json | 1 + src/locales/index.ts | 2 +- src/locales/it/translation.json | 1 + src/locales/pt/translation.json | 1 + src/locales/ru/translation.json | 1 + src/locales/tr/translation.json | 1 + src/locales/{ua => uk}/translation.json | 1 + src/renderer/src/assets/telegram-icon.svg | 1 + src/renderer/src/components/sidebar/sidebar.tsx | 8 ++++---- 11 files changed, 14 insertions(+), 5 deletions(-) rename src/locales/{ua => uk}/translation.json (99%) create mode 100644 src/renderer/src/assets/telegram-icon.svg diff --git a/src/locales/be/translation.json b/src/locales/be/translation.json index d1555478..ccada6a7 100644 --- a/src/locales/be/translation.json +++ b/src/locales/be/translation.json @@ -19,6 +19,7 @@ "follow_us": "Падпісвайцеся на нас", "home": "Галоўная", "discord": "Далучайцеся да Discord", + "telegram": "Далучайцеся да Telegram", "x": "Падпісвайцеся на X", "github": "Зрабіць свой унёсак на GitHub" }, diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 5440eec3..f0b17cdc 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -19,6 +19,7 @@ "follow_us": "Follow us", "home": "Home", "discord": "Join our Discord", + "telegram": "Join our Telegram", "x": "Follow on X", "github": "Contribute on GitHub" }, diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json index f180cebf..a692fd16 100644 --- a/src/locales/es/translation.json +++ b/src/locales/es/translation.json @@ -19,6 +19,7 @@ "follow_us": "Síguenos", "home": "Inicio", "discord": "Únete a nuestro Discord", + "telegram": "Únete a nuestro Telegram", "x": "Síguenos en X", "github": "Contribuye en GitHub" }, diff --git a/src/locales/index.ts b/src/locales/index.ts index 56d2dc4d..52933ed1 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -8,4 +8,4 @@ export { default as pl } from "./pl/translation.json"; export { default as ru } from "./ru/translation.json"; export { default as tr } from "./tr/translation.json"; export { default as be } from "./be/translation.json"; -export { default as ua } from "./ua/translation.json"; +export { default as uk } from "./uk/translation.json"; diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json index b4ff3723..9889dd0c 100644 --- a/src/locales/it/translation.json +++ b/src/locales/it/translation.json @@ -19,6 +19,7 @@ "follow_us": "Seguici", "home": "Home", "discord": "Unisciti al nostro Discord", + "telegram": "Unisciti al nostro Telegram", "x": "Segui su X", "github": "Contribuisci su GitHub" }, diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json index cd0f3e59..d00ca555 100644 --- a/src/locales/pt/translation.json +++ b/src/locales/pt/translation.json @@ -19,6 +19,7 @@ "home": "Início", "follow_us": "Acompanhe-nos", "discord": "Entre no nosso Discord", + "telegram": "Entre no nosso Telegram", "x": "Siga-nos no X", "github": "Contribua no GitHub" }, diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json index ce73cb1a..efeaba37 100644 --- a/src/locales/ru/translation.json +++ b/src/locales/ru/translation.json @@ -19,6 +19,7 @@ "follow_us": "Подписывайтесь на нас", "home": "Главная", "discord": "Присоединяйтесь к Discord", + "telegram": "Присоединяйтесь к Telegram", "x": "Подписывайтесь на X", "github": "Внести свой вклад на GitHub" }, diff --git a/src/locales/tr/translation.json b/src/locales/tr/translation.json index 50edf6cc..5c19edea 100644 --- a/src/locales/tr/translation.json +++ b/src/locales/tr/translation.json @@ -19,6 +19,7 @@ "follow_us": "Bizi takip et", "home": "Ana menü", "discord": "Discord'umuza katıl", + "telegram": "Telegram'umuza katıl", "x": "X'te bizi takip et", "github": "GitHub'da bize katkı yap" }, diff --git a/src/locales/ua/translation.json b/src/locales/uk/translation.json similarity index 99% rename from src/locales/ua/translation.json rename to src/locales/uk/translation.json index 84db481a..e810e30e 100644 --- a/src/locales/ua/translation.json +++ b/src/locales/uk/translation.json @@ -19,6 +19,7 @@ "follow_us": "Підписуйтесь на нас", "home": "Головна", "discord": "Приєднуйтесь до Discord", + "telegram": "Приєднуйтесь до Telegram", "x": "Підписуйтесь на X", "github": "Зробіть свій внесок на GitHub" }, diff --git a/src/renderer/src/assets/telegram-icon.svg b/src/renderer/src/assets/telegram-icon.svg new file mode 100644 index 00000000..35521851 --- /dev/null +++ b/src/renderer/src/assets/telegram-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/renderer/src/components/sidebar/sidebar.tsx b/src/renderer/src/components/sidebar/sidebar.tsx index 77842bb3..605c32c0 100644 --- a/src/renderer/src/components/sidebar/sidebar.tsx +++ b/src/renderer/src/components/sidebar/sidebar.tsx @@ -10,7 +10,7 @@ import { useDownload, useLibrary } from "@renderer/hooks"; import { routes } from "./routes"; import { MarkGithubIcon } from "@primer/octicons-react"; -import DiscordLogo from "@renderer/assets/discord-icon.svg?react"; +import TelegramLogo from "@renderer/assets/telegram-icon.svg?react"; import XLogo from "@renderer/assets/x-icon.svg?react"; import * as styles from "./sidebar.css"; @@ -35,9 +35,9 @@ export function Sidebar() { const socials = [ { - url: "https://discord.gg/hydralauncher", - icon: , - label: t("discord"), + url: "https://t.me/hydralauncher", + icon: , + label: t("telegram"), }, { url: "https://twitter.com/hydralauncher", From 9839259856667fc0965172bafe79fc88f4bc11bb Mon Sep 17 00:00:00 2001 From: piradata Date: Sat, 11 May 2024 22:23:35 -0300 Subject: [PATCH 14/14] finish pr-BR localization --- README.pt-BR.md | 124 ++++++++++++++++++++++++------------------------ 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/README.pt-BR.md b/README.pt-BR.md index 79625a26..4551dd6a 100644 --- a/README.pt-BR.md +++ b/README.pt-BR.md @@ -7,7 +7,7 @@

Hydra Launcher

- Hydra é um Game Launcher com seu próprio cliente de bittorrent integrado e um wrapper autogerenciado para busca de repacks. + Hydra é um Launcher de Jogos com seu próprio cliente de bittorrent integrado e um wrapper autogerenciado para busca de repacks.

[![build](https://img.shields.io/github/actions/workflow/status/hydralauncher/hydra/build.yml)](https://github.com/hydralauncher/hydra/actions) @@ -27,12 +27,12 @@ - [Sobre](#about) - [Recursos](#features) - [Instalação](#installation) -- [Contributing](#contributing) +- [Contribuindo](#contributing) - [Junte-se ao nosso Telegram](#join-our-telegram) - [Fork e clone seu repositorio](#fork-and-clone-your-repository) - [Como contribuir](#ways-you-can-contribute) - [Estrutura do projeto](#project-structure) -- [Compile a partir do codigo fonte](#build-from-source) +- [Compile a partir do código-fonte](#build-from-source) - [Instale Node.js](#install-nodejs) - [Instale Yarn](#install-yarn) - [Instale Node Dependencies](#install-node-dependencies) @@ -45,32 +45,32 @@ - [Compile a aplicação Electron](#build-the-electron-application) - [Contribuidores](#contributors) -## About +##
Sobre -**Hydra** is a **Game Launcher** with its own embedded **BitTorrent Client** and a **self-managed repack scraper**. +**Hydra** é um **Launcher de Jogos** com seu próprio **Cliente BitTorrent incorporado** e um **raspador de repack auto-gerenciado**.
-The launcher is written in TypeScript (Electron) and Python, which handles the torrenting system by using libtorrent. +O launcher é escrito em TypeScript (Electron) e Python, que lida com o sistema de torrent usando libtorrent. -## Features +##
Recursos -- 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 and Linux support -- Constantly updated -- And more ... +- Wrapper de repacks auto-gerenciado entre todos os sites mais confiáveis no [Megathread]("https://www.reddit.com/r/Piracy/wiki/megathread/") +- Cliente BitTorrent incorporado próprio +- Integração com [How Long To Beat (HLTB)](https://howlongtobeat.com/) na página do jogo +- Personalização do caminho de downloads +- Notificações de atualização da lista de repacks +- Suporte para Windows e Linux +- Constantemente atualizado +- E mais ... -## Installation +## Instalação -Follow the steps below to install: +Siga os passos abaixo para instalar: -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! +1. Baixe a versão mais recente do Hydra na página de [Releases](https://github.com/hydralauncher/hydra/releases/latest). + - Baixe apenas o .exe se quiser instalar o Hydra no Windows. + - Baixe .deb ou .rpm ou .zip se quiser instalar o Hydra no Linux. (depende da sua distribuição Linux) +2. Execute o arquivo baixado. +3. Aproveite o Hydra! ## Contribuindo @@ -78,103 +78,103 @@ Follow the steps below to install: Concentramos nossas discussões no nosso canal do [Telegram](https://t.me/hydralauncher). -### Fork and clone your repository +### Fork e clone o seu repositório -1. Fork the repository [(click here to fork now)](https://github.com/hydralauncher/hydra/fork) -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 +1. Faça um fork do repositório [(clique aqui para fazer o fork agora)](https://github.com/hydralauncher/hydra/fork) +2. Clone o código do seu fork `git clone https://github.com/seu_nome_de_usuário/hydra` +3. Crie uma nova branch +4. Faça o push dos seus commits +5. Envie um novo Pull Request -### Ways you can contribute +### Formas de contribuir -- Translation: We want Hydra to be available to as many people as possible. Feel free to help translate to new languages or update and improve the ones that are already available on Hydra. -- Code: Hydra is built with Typescript, Electron and a little bit of Python. If you want to contribute, join our [Telegram](https://t.me/hydralauncher)! +- **Tradução**: Queremos que o Hydra esteja disponível para o maior número possível de pessoas. Sinta-se à vontade para ajudar a traduzir para novos idiomas ou atualizar e melhorar aqueles que já estão disponíveis no Hydra. +- **Código**: O Hydra é construído com Typescript, Electron e um pouco de Python. Se você deseja contribuir, junte-se ao nosso [Telegram](https://t.me/hydralauncher)! -### Project Structure +### Estrutura do Projeto -- torrent-client: We use libtorrent, a Python library, to manage torrent downloads -- src/renderer: the UI of the application -- src/main: all the logic rests here. +- torrent-client: Utilizamos o libtorrent, uma biblioteca Python, para gerenciar downloads via torrent. +- src/renderer: A interface de usuário (UI) da aplicação. +- src/main: Toda a lógica da aplicação reside aqui. -## Build from source +## Compile a partir do código-fonte -### Install Node.js +### Instale Node.js -Ensure you have Node.js installed on your machine. If not, download and install it from [nodejs.org](https://nodejs.org/). +Certifique-se de ter o Node.js instalado em sua máquina. Se não, faça o download e instale-o em [nodejs.org](https://nodejs.org/). -### Install Yarn +### Instale 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/). +Yarn é um gerenciador de pacotes para Node.js. Se você ainda não o instalou, pode fazê-lo seguindo as instruções em [yarnpkg.com](https://classic.yarnpkg.com/lang/en/docs/install/). -### Install Node Dependencies +### Instale Dependencias do Node -Navigate to the project directory and install the Node dependencies using Yarn: +Navegue até o diretório do projeto e instale as dependências do Node usando o Yarn: ```bash cd hydra yarn ``` -### Install Python 3.9 +### Instale Python 3.9 -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/). +Certifique-se de ter o Python 3.9 instalado em sua máquina. Você pode baixá-lo e instalá-lo em [python.org](https://www.python.org/downloads/release/python-3919/). -### Install Python Dependencies +### Instale Python Dependencies -Install the required Python dependencies using pip: +Instale as dependências Python necessárias usando o pip: ```bash pip install -r requirements.txt ``` -## Environment variables +## 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 +Você precisará de uma chave da API SteamGridDB para buscar os ícones do jogo durante a instalação. +Se você deseja ter o onlinefix como um repacker, precisará adicionar suas credenciais ao arquivo .env. -Once you have it, you can copy or rename the `.env.example` file to `.env`and put it on`STEAMGRIDDB_API_KEY`, `ONLINEFIX_USERNAME`, `ONLINEFIX_PASSWORD`. +Depois de obtê-lo, você pode copiar ou renomear o arquivo `.env.example` para `.env` e inserir `STEAMGRIDDB_API_KEY`, `ONLINEFIX_USERNAME` e `ONLINEFIX_PASSWORD`. -## Running +## 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: +Uma vez que você tenha configurado tudo, você pode executar o seguinte comando para iniciar tanto o processo Electron quanto o cliente BitTorrent: ```bash yarn dev ``` -## Build +## Build -### Build the bittorrent client +### Build the bittorrent client -Build the bittorrent client by using this command: +Compile o cliente BitTorrent usando este comando ```bash python torrent-client/setup.py build ``` -### Build the Electron application +### Build the Electron application -Build the Electron application by using this command: +Compile a aplicação Electron usando este comando: -On Windows: +No Windows: ```bash yarn build:win ``` -On Linux: +No Linux: ```bash yarn build:linux ``` -## Contributors +## Contributors -## License +## Licença -Hydra is licensed under the [MIT License](LICENSE). +O Hydra é licenciado sob a [Licença MIT](LICENSE).