diff --git a/README.md b/README.md index a6c6fa0..d962329 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ -

+

Varia

Download manager based on aria2

+ +

Homepage

+ +
+ +

+

@@ -9,8 +16,6 @@

-

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

@@ -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. @@ -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): ``` @@ -64,21 +77,61 @@ meson compile sudo meson install ``` -## License +## Building (Windows) -Varia is licensed under the Mozilla Public License 2.0. +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 + +Varia is licensed under the Mozilla Public License 2.0. + +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 diff --git a/data/io.github.giantpinkrobots.varia.metainfo.xml.in b/data/io.github.giantpinkrobots.varia.metainfo.xml.in index 5de50fe..9d303f9 100644 --- a/data/io.github.giantpinkrobots.varia.metainfo.xml.in +++ b/data/io.github.giantpinkrobots.varia.metainfo.xml.in @@ -38,9 +38,12 @@ Varia utilizes GTK4 and Libadwaita to provide a easy to use interface that integ - + -

Bug fixes.

+

- Varia now has a brand new icon.

+

- The sidebar now hosts buttons for all downloads, downloads in progress and completed downloads.

+

- A setting for adjusting the simultaneous download amount was added.

+

- Bug fixes and adjustments.

diff --git a/docs/Cantarell-VF.otf b/docs/Cantarell-VF.otf new file mode 100644 index 0000000..c921a9b Binary files /dev/null and b/docs/Cantarell-VF.otf differ diff --git a/docs/archLinuxIcon.png b/docs/archLinuxIcon.png new file mode 100644 index 0000000..2896ed5 Binary files /dev/null and b/docs/archLinuxIcon.png differ diff --git a/docs/downloadIcon.png b/docs/downloadIcon.png new file mode 100644 index 0000000..417bee3 Binary files /dev/null and b/docs/downloadIcon.png differ diff --git a/docs/flathubIcon.png b/docs/flathubIcon.png new file mode 100644 index 0000000..fffee7e Binary files /dev/null and b/docs/flathubIcon.png differ diff --git a/docs/flatpakIcon.png b/docs/flatpakIcon.png new file mode 100644 index 0000000..17cc867 Binary files /dev/null and b/docs/flatpakIcon.png differ diff --git a/docs/githubIcon.png b/docs/githubIcon.png new file mode 100644 index 0000000..f3fde6f Binary files /dev/null and b/docs/githubIcon.png differ diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..693748a --- /dev/null +++ b/docs/index.html @@ -0,0 +1,179 @@ + + + + + + + + + +
+ +
+
Varia icon
+

Varia

+
+ +

Quick and efficient download manager

+ +
+ + +       + + + +       + +
    Source on GitHub
+
+ +
+ + + + + + + + Varia screenshot + + +
+ +
+
+ +

Download quickly.

+
+

Utilizing the aria2 backend, Varia helps you take advantage of your connection
speed to its fullest when it comes to downloading files.

+ +
+

/

+
+ +

Pick up where you left off.

+
+

With Varia, you can pause your downloads and continue downloading them
afterwards, even after rebooting your computer.

+ +
+

/

+
+ +

Slow down if need be.

+
+

Although Varia can download files very fast, a speed limit can be assigned to it
as well, which will prevent it from saturating your connection speed if you're
doing something else on the side.

+ +
+

/

+
+ +

Use it easily.

+
+

Varia has a very simple and easy to understand user interface.

+ +
+

/

+
+ +

It's all open.

+
+

Varia is open source software, which means the building blocks of it are publicly
available. You can take a look at it and contribute to it.

+ +
+
+
+ +
+ +
+
+
+
+ +

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

+ +
+
+
+ + +
+ + + \ No newline at end of file diff --git a/docs/style.css b/docs/style.css new file mode 100644 index 0000000..eac5312 --- /dev/null +++ b/docs/style.css @@ -0,0 +1,167 @@ +@font-face { + font-family: "Cantarell var"; + font-weight: 100 900; + font-display: swap; + font-style: normal; + font-named-instance: "Regular"; + src: url("./Cantarell-VF.otf") format("opentype"); +} + +hr.solid { + border: 1px solid #deddda; +} + +div[name='logo'] { + filter: drop-shadow(rgb(122, 122, 122) 0rem 0.5rem 8px); +} + +body { + font-family: 'Cantarell var'; + background-color: #f6f5f4; +} + +h1 { + font-family: 'Cantarell var', bold; + font-size: 500%; + color: #1c71d8; + line-height: 0; +} + +h2 { + font-family: 'Cantarell var'; + font-size: 175%; + color: #241f31; +} + +h3 { + font-family: 'Cantarell var'; + font-size: 75%; + color: #241f31; +} + +p { + font-family: 'Cantarell var'; + font-size: 150%; + color: #241f31; +} + +.pill-button { + border: none; + padding: 15px 25px; + text-align: center; + text-decoration: none; + cursor: pointer; + border-radius: 100px; + font-family: 'Cantarell var'; + font-weight: bold; + font-size: 110%; + filter: drop-shadow(rgba(0, 0, 0, 0.5) 0rem 0rem 8px); + transition: all 0.25s; + transition-timing-function: ease-out; + display: block; +} + +.pill-button-linux { + overflow: hidden; +} + +.button-label { + display: block; +} + +.pill-button-blue { + background-color: #3584e4; + color: white; +} + +.pill-button-gray { + background-color: #5e5c64; + color: white; +} + +.pill-button-ltblue { + background-color: #bed5f1; + color: #1b1b1b; +} + +.pill-button:hover { + transform: scale(105%); +} + +.pill-button:active { + transform: scale(90%); +} + +.pill-button-blue:hover { + background-color: #62a0ea; +} + +.pill-button-gray:hover { + background-color: #77767b; +} + +.pill-button-ltblue:hover { + background-color: #F6F5F4; +} + +.button-icon { + width: 25px; + height: 25px; + vertical-align: middle; +} + +.footer-icon { + width: 25px; + height: 25px; + vertical-align: middle; + filter: brightness(10%); +} + +.linux-instructions { + max-height: 1000px; + overflow: hidden; + border-radius: 15px; + background: #EBEBEB; + padding: 20px; + filter: drop-shadow(rgba(0, 0, 0, 0.5) 0rem 0.3rem 8px); + width: 800px; + transition: max-height 0.5s ease-in-out, padding 0.25s ease-in-out, border-radius 0.25s ease-in-out; + margin: 5px; +} + +.linux-instructions.hidden { + max-height: 0; + padding: 0px; + border-radius: 0px; +} + +@media (prefers-color-scheme: dark) { + div[name='logo'] { + filter: drop-shadow(rgb(39, 39, 39) 0rem 0rem 0px); + } + + body { + background-color: #241f31; + color: #f6f5f4 + } + + .footer-icon { + filter: brightness(100%); + } + + h1 { + color: #62a0ea; + } + + h2, h3, p { + color: #f6f5f4; + } + + hr.solid { + border: 1px solid #3d3846; + } + + .linux-instructions { + background: #3d3846; + } +} \ No newline at end of file diff --git a/docs/tuxIcon.png b/docs/tuxIcon.png new file mode 100644 index 0000000..4fdac1e Binary files /dev/null and b/docs/tuxIcon.png differ diff --git a/docs/variaIcon.png b/docs/variaIcon.png new file mode 100644 index 0000000..4336080 Binary files /dev/null and b/docs/variaIcon.png differ diff --git a/docs/windowsIcon.png b/docs/windowsIcon.png new file mode 100644 index 0000000..9b7bfd4 Binary files /dev/null and b/docs/windowsIcon.png differ diff --git a/meson.build b/meson.build index d161b1b..20b8707 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('varia', - version: 'v2024.1.31', + version: 'v2024.2.6', meson_version: '>= 0.62.0', default_options: [ 'warning_level=2', 'werror=false', ], ) diff --git a/screenshots/Screenshot-Varia-1.png b/screenshots/Screenshot-Varia-1.png index 91974b4..bf8ac4f 100644 Binary files a/screenshots/Screenshot-Varia-1.png and b/screenshots/Screenshot-Varia-1.png differ diff --git a/screenshots/Screenshot-Varia-2.png b/screenshots/Screenshot-Varia-2.png index 96dfced..420aa5d 100644 Binary files a/screenshots/Screenshot-Varia-2.png and b/screenshots/Screenshot-Varia-2.png differ diff --git a/src/variamain.py b/src/variamain.py index b049c6f..8ec3a8c 100644 --- a/src/variamain.py +++ b/src/variamain.py @@ -1,4 +1,4 @@ -variaVersion = "v2024.1.31" +variaVersion = "v2024.2.6" import gi import sys