Giter VIP home page Giter VIP logo

gyre's Introduction

Gyre

A downloader for videos (called coubs) from Coub.

What you can download

  • Single coubs
  • Stories
  • Channels
  • Tags
  • Search results
  • Communities (incl. Featured and Coub of the Day)
  • Hot coubs
  • Random coubs

Installation

There are several ways to install Gyre.

Flathub

Download on Flathub

Build with GNOME Builder

First clone this repository with GNOME Builder. Then hit the play button and it will automatically install and compile all dependencies for you. Afterwards you can export a Flatpak bundle to install Gyre on your machine.

Build with Meson

The following commands will clone this repository and install Gyre (system-wide by default). Please note that there's currently no automatic way to uninstall the program. You can run ninja uninstall within the build directory, but some files won't be removed, because they were generated by external commands (e.g. glib-compile-schemas). These files have to be deleted manually.

git clone https://github.com/HelpSeeker/Gyre.git
cd Gyre
meson . _build
cd _build
meson configure -Dprefix=<custom location>  # optional step
ninja install

The 4th step is optional and allows you to specify a custom install location. Depending on the location GLib might not be able to find the GSettings schema, which is required to run Gyre. If that is the case, you have to manually point it to the schema

GSETTINGS_SCHEMA_DIR=<custom location>/share/glib-2.0/schemas <custom location>/bin/gyre

Dependencies

  • meson >= 0.50
  • GTK >= 3.24
  • libhandy >= 1.0.0
  • Python >= 3.7
  • aiohttp
  • FFmpeg

Troubleshooting

(Flatpak only) Gyre prompts me for a new output location every time I load a profile, even though the directory exists.

Most likely you deleted the directory at one point and created a new one with the same name. With normal file system access this wouldn't be a problem, but the Flatpak version requests access via XDG Portal and in that case the new directory is different from the old one, even if they share the same name.

Choose the directory when prompted and export the profile again to update the output location to the new version.

(Flatpak only) Gyre is unable to open its error log.

Gyre tries to open the log with the default text editor. That doesn't work when running inside the Flatpak sandbox, so the error log will always be displayed by the internal viewer.

(Flatpak only) Dialogs exceed the boundaries of my phone display.

Gyre is mobile-ready thanks to libhandy, but there are issues with GTK 3, which require additional patches to make it work correctly on mobile. Mobile distros apply these patches, but they don't affect Flatpaks. I'm still looking for a solution to this problem (maybe an additional Flatpak with the patches applied?), but until then you are better off running Gyre locally.

Gyre on Windows

It is my goal to bring Gyre to Windows, but GTK and other GNOME technologies make it difficult to provide portable builds.

Support is very alpha, but you can still install Gyre by following these steps:

  1. Install msys2
  2. Run mingw64 in the command prompt, Powershell, etc.

Switch to the mingw64 terminal and continue...

  1. pacman -S mingw-w64-x86_64-python mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python-aiohttp mingw-w64-x86_64-python-gobject mingw-w64-x86_64-meson mingw-w64-x86_64-pkgconf mingw-w64-x86_64-cmake mingw-w64-x86_64-libhandy mingw-w64-x86_64-ffmpeg
  2. Download or clone the repository
  3. cd into the project folder
  4. meson build .
  5. cd build
  6. ninja install
  7. gyre

Once you have successfully installed Gyre, you can create a shortcut that points to the following command

msys2_shell.cmd -mingw64 -lc gyre

to open Gyre without having to start up a terminal. Depending on your setup you can also add -defterm (i.e. use the default terminal) to the command to speed up the launch.

gyre's People

Contributors

helpseeker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gyre's Issues

Best coubs of the year

Hello, first of all I would like to thank you for the opportunity to archive coubs before coub shuts down.

It would be great if you have time to add possibility to download best coubs of the years, e.g. https://coub.com/best/2021.

There is no way to select a directory

Hi, I installed the package via Flatpak on Kubuntu 20.04 and Ubuntu 20.04, but there is no way to select a directory anywhere.

Output of information from the terminal (Ubuntu 20.04):
`flatpak run io.github.helpseeker.Gyre

Note that the directories

'/var/lib/flatpak/exports/share'
'/home/serg/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Gtk-Message: 15:56:53.601: Failed to load module "canberra-gtk-module"

(gyre:2): Gtk-WARNING **: 15:57:43.918: GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER is not supported by GtkFileChooserNativePortal because portal is too old

(gyre:2): Gtk-WARNING **: 15:57:55.515: GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER is not supported by GtkFileChooserNativePortal because portal is too old`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.