Skip to content

Commit

Permalink
v2024.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
giantpinkrobots committed Feb 6, 2024
1 parent 3bb61ed commit 91d5a36
Show file tree
Hide file tree
Showing 17 changed files with 420 additions and 18 deletions.
81 changes: 67 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<p align="center"><img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/data/icons/hicolor/scalable/apps/io.github.giantpinkrobots.varia.svg" width=200 /></p>
<p align="center"><img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/windows/icon.ico" width=200 /></p>
<h1 align="center">Varia</h1>
<h3 align="center">Download manager based on aria2</h3>

<h3 align="center"><a href="https://giantpinkrobots.github.io/varia">Homepage</a></h3>

<br>

<p align="center"><a href="https://flathub.org/apps/io.github.giantpinkrobots.varia"><img src="https://dl.flathub.org/assets/badges/flathub-badge-i-en.svg" width=250 /></a></p>

<br>

<p align="center">
Expand All @@ -9,8 +16,6 @@

</p>

<p align="center"><a href="https://flathub.org/apps/io.github.giantpinkrobots.varia"><img src="https://dl.flathub.org/assets/badges/flathub-badge-i-en.svg" width=300 /></a></p>

Varia is a simple download manager that conforms to the latest Libadwaita design guidelines, integrating nicely with GNOME. It uses the amazing aria2 to handle the downloads.

<p float="left" align="middle">
Expand All @@ -32,7 +37,10 @@ This requires you to have Flatpak and the Flathub Flatpak repository installed o
### AUR (Arch Linux)
You can get Varia via the [AUR](https://aur.archlinux.org/packages/varia) as well, but it is not distributed by me.

## Building
### Windows (experimental)
You can find a *highly experimental* build of Varia in the releases section. But keep in mind, it will have bugs.

## Building (Linux)

The easiest way of building Varia is to use GNOME Builder. Just clone this repository, and open the folder using Builder. Then, press run.

Expand All @@ -46,9 +54,14 @@ If you don't want to utilize Flatpak to build Varia you need:

To install the ones besides aria2p on some Linux systems:
```
Ubuntu, Debian, Mint etc: sudo apt install meson ninja-build aria2 python-setuptools libgtk-4-dev libadwaita-1-0 gettext
Fedora, RHEL etc: sudo dnf install meson ninja-build aria2 python-setuptools gtk4-devel libadwaita gettext
Arch, EndeavourOS, Manjaro etc: sudo pacman -S meson aria2 python-setuptools gtk4 libadwaita gettext
Ubuntu, Debian, Mint etc:
sudo apt install meson ninja-build aria2 python-setuptools libgtk-4-dev libadwaita-1-0 gettext
Fedora, RHEL etc:
sudo dnf install meson ninja-build aria2 python-setuptools gtk4-devel libadwaita gettext
Arch, EndeavourOS, Manjaro etc:
sudo pacman -S meson aria2 python-setuptools gtk4 libadwaita gettext
```
To install aria2p using pip (your distro probably doesn't have it in its repos - it's on the AUR for Arch):
```
Expand All @@ -64,21 +77,61 @@ meson compile
sudo meson install
```

## License
## Building (Windows)

<a href=https://github.com/giantpinkrobots/varia/blob/main/LICENSE>Varia is licensed under the Mozilla Public License 2.0.</a>
Windows support is experimental. Translations don't work yet.

But, it also relies on the following pieces of software:
- aria2: GPL v2 License (aria2 itself relies on OpenSSL: OpenSSL License)
- aria2p: ISC License
- [Get MSYS2.](https://www.msys2.org/)
- Install dependencies on an MSYS2 shell:
```
pacman -S mingw-w64-x86_64-python
pacman -S mingw-w64-x86_64-gtk4
pacman -S mingw-w64-x86_64-libadwaita
pacman -S mingw-w64-x86_64-python-gobject
pacman -S mingw-w64-x86_64-python-pip
pip install aria2p
pip install pyinstaller
```
- To have the icon applied properly you also need python-pillow, otherwise pyinstaller gives an error:
```
pacman -S mingw-w64-x86_64-python-pillow
```
- Copy variamain.py, varia.spec and icon.ico to the home directory of your MSYS2 install. variamain.py is in /src, varia.spec and icon.ico is in /windows.
- Run the pyinstaller command:
```
pyinstaller varia.spec
```
- [You need to get a copy of aria2c.exe](https://github.com/aria2/aria2/releases) and paste it into the /dist/variamain folder that was created by pyinstaller.

The licenses of all of these pieces of software can be found in the dependencies_information directory in Varia's app directory.
Running variamain.exe will start Varia.

## Contributing

Contributions are always welcome, of course! In the case of translations, they are done with .po files that you can create with a program like Poedit for example. Keep in mind that Varia is kind of a simple app at the moment, and I will keep adding new features so the translations you add right now can become incomplete when I add new features.

Also, I really want to change the logo as it's something I hastly hacked together in Krita. If you can make a logo that conforms to the GNOME logo design guidelines, that would be amazing!
## License

<a href=https://github.com/giantpinkrobots/varia/blob/main/LICENSE>Varia is licensed under the Mozilla Public License 2.0.</a>

But, it also relies on the following pieces of software and libraries:
- aria2
- OpenSSL
- aria2p
- GTK4
- Libadwaita
- Meson
- Python-appdirs
- Python-certifi
- Python-charset-normalizer
- Python-gettext
- Python-idna
- Python-loguru
- Python-requests
- Python-setuptools
- Python-urllib3
- Python-websocket-client

The licenses of all of these pieces of software can be found in the dependencies_information directory.

## The name

Expand Down
7 changes: 5 additions & 2 deletions data/io.github.giantpinkrobots.varia.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ Varia utilizes GTK4 and Libadwaita to provide a easy to use interface that integ
</screenshots>

<releases>
<release version="v2024.1.31" date="2024-01-31">
<release version="v2024.2.6" date="2024-02-06">
<description translatable="yes">
<p>Bug fixes.</p>
<p>- Varia now has a brand new icon.</p>
<p>- The sidebar now hosts buttons for all downloads, downloads in progress and completed downloads.</p>
<p>- A setting for adjusting the simultaneous download amount was added.</p>
<p>- Bug fixes and adjustments.</p>
</description>
</release>
</releases>
Expand Down
Binary file added docs/Cantarell-VF.otf
Binary file not shown.
Binary file added docs/archLinuxIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/downloadIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/flathubIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/flatpakIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/githubIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
179 changes: 179 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>

<script>
function toggleLinuxInstructions() {
var windowsInstructionsContent = document.getElementById("windows-instructions");
windowsInstructionsContent.classList.add("hidden");
var linuxInstructionsContent = document.getElementById("linux-instructions");
linuxInstructionsContent.classList.toggle("hidden");
}

function toggleWindowsInstructions(id) {
var linuxInstructionsContent = document.getElementById("linux-instructions");
linuxInstructionsContent.classList.add("hidden");
var windowsInstructionsContent = document.getElementById("windows-instructions");
windowsInstructionsContent.classList.toggle("hidden");
}
</script>

<center>

<div class='parent'>
<div name='logo' style="display: inline-block"><img src="variaIcon.png" alt="Varia icon" width="250" height="250"></div>
<h1 style="display: inline-block">Varia</h1>
</div>

<h2>Quick and efficient download manager</h2>

<div class='parent'>
<button style="display: inline-block" class="pill-button pill-button-blue" onclick="toggleLinuxInstructions()">
<span class="button-label"><img src="tuxIcon.png" class="button-icon">&nbsp;&nbsp;&nbsp;&nbsp;Download for Linux</span>
</button>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<button style="display: inline-block" class="pill-button pill-button-blue" onclick="toggleWindowsInstructions()">
<span class="button-label"><img src="windowsIcon.png" class="button-icon">&nbsp;&nbsp;&nbsp;&nbsp;Download for Windows</span>
</button>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia" class="pill-button pill-button-gray"><img src="githubIcon.png" class="button-icon">&nbsp;&nbsp;&nbsp;&nbsp;Source on GitHub</a></div>
</div>

<br>

<div id='linux-instructions' class='linux-instructions hidden'>
<div style="display: inline-block"><a href="https://flathub.org/apps/io.github.giantpinkrobots.varia" class="pill-button pill-button-ltblue"><img src="flathubIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Flathub</a></div>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/latest/download/io.github.giantpinkrobots.varia.flatpak" class="pill-button pill-button-ltblue"><img src="flatpakIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Flatpak file</a></div>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<div style="display: inline-block"><a href="https://aur.archlinux.org/packages/varia" class="pill-button pill-button-ltblue"><img src="archLinuxIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;AUR (unofficial)</a></div>

<br>
<br>

The main way to install Varia is through Flathub to get it as a Flatpak.
<br>
You can also install it from a .flatpak file directly.
<br>
If you're on Arch Linux you can install it through the AUR as well, but it is not maintained by me.
</div>

<div id='windows-instructions' class='linux-instructions hidden'>
<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.2.6/varia-windows-setup-amd64.exe" class="pill-button pill-button-ltblue"><img src="downloadIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Installer</a></div>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.2.6/varia-windows-portable-amd64.exe" class="pill-button pill-button-ltblue"><img src="downloadIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Portable version</a></div>

<br>
<br>

Windows support is experimental.
<br>
If you're not sure, get the Installer file.
<br>
The portable version extracts the files into a temporary folder before automatically running it.
</div>

<picture>
<source srcset="https://raw.githubusercontent.com/giantpinkrobots/varia/main/screenshots/Screenshot-Varia-2.png" alt="Varia screenshot" media="(prefers-color-scheme: dark)" />
<img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/screenshots/Screenshot-Varia-1.png" alt="Varia screenshot">
</picture>

<hr class="solid">

<br>
<br>

<h2>Download quickly.</h2>
<br>
<p>Utilizing the aria2 backend, Varia helps you take advantage of your connection<br>speed to its fullest when it comes to downloading files.</p>

<br>
<p>/</p>
<br>

<h2>Pick up where you left off.</h2>
<br>
<p>With Varia, you can pause your downloads and continue downloading them<br>afterwards, even after rebooting your computer.</p>

<br>
<p>/</p>
<br>

<h2>Slow down if need be.</h2>
<br>
<p>Although Varia can download files very fast, a speed limit can be assigned to it<br>as well, which will prevent it from saturating your connection speed if you're<br>doing something else on the side.</p>

<br>
<p>/</p>
<br>

<h2>Use it easily.</h2>
<br>
<p>Varia has a very simple and easy to understand user interface.</p>

<br>
<p>/</p>
<br>

<h2>It's all open.</h2>
<br>
<p>Varia is open source software, which means the building blocks of it are publicly<br>available. You can take a look at it and contribute to it.</p>

<br>
<br>
<br>

<hr class="solid">

<br>
<br>
<br>
<br>

<h3>
The Varia logo / icon and the Flathub logo were made by Jakub Steiner.
<br>
<br>
The icons used in this web page were modified by me (mainly the colors and sizes were changed).
<br>
<br>
The original Linux Tux icon was made by Larry Ewing. The version used here was made by OpenClipart-Vectors<br>on Pixabay.
<br>
<br>
The Arch Linux logo was sourced from Arch Linux, made by Judd Vinet, Aaron Griffin and Levente Polyák.
<br>
<br>
The Flatpak icon is licensed under the Creative Commons Attribution 3.0. flatpak.org
<br>
<br>
Windows and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the<br>United States and/or other countries.
<br>
<br>
GITHUB®, the GITHUB® logo design, the INVERTOCAT logo design, OCTOCAT®, and the OCTOCAT® logo design are<br>trademarks of GitHub, Inc., registered in the United States and other countries.<br>The OCTOCAT design is the exclusive property of GitHub, Inc and has been federally registered with the<br>United States Copyright Office.
<br>
<br>
The download icon used in the Download for Windows section is part of the Feater icons set, licensed under the MIT license. feathericons.com
</h3>

<br>
<br>
<br>


</center>

</body>
</html>
Loading

0 comments on commit 91d5a36

Please sign in to comment.