Giter Club home page Giter Club logo

hatt's People

Contributors

alexandre-eliot avatar frenchgithubuser avatar health-services-sites avatar jai707 avatar karim-derb avatar leopoldomoreno avatar nickflame20 avatar omahs avatar

Stargazers

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

Watchers

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

hatt's Issues

Linux Arm64 Support

It would be brilliant if there was arm64 Support for Linux (i.e. raspberry pi). I'd do it myself, but I don't know how to build packages lol 😅

Missing project.json file

I am currently trying to build this from source on Ubuntu 23.10 and I keep receiving a missing project.json error after running wails build. Any help would be appreciated.

Audiobook source

The audiobook source is listen only no downloads. Not ideal. What about adding Audiobook Bay?

Cannot start on Ubuntu 20.04

When attempting to launch on my PC i get the following error

./Hatt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./Hatt)

I have glibc already installed, but it seems to be the wrong version (maybe because it was compiled on another version of Ubuntu or different distribution all together)

Im wondering if it might be better to statically compile the binary?

White screen when opening hatt

Greetings.

Just installed the latest version of hatt and it just opens with a white screen. (isn't first launch, on first it worked great)
image

Translation

Hi
What file should I use to translate the app

[Request] Add spanish sources

Hello!

First of all thank you for the application, found it really helpful

However, there is only english sources and it will be awesome to add more sources in different languages.

Thanks!

Hatt on Windows 11 closes when attempted to search

Hi there! This may be a case of me not understanding, but I can't get Hatt to work. I type in a search query in the box, select any of the available categories and either pressing enter or clicking the search icon leads to Hatt just closing with no visible error.

[Linux] X Window System error

Whenever i try to run it on Pop!_OS 22.04 i get just a blank window of hutt with an error message in the terminal saying:

program args :  [./hatt-linux-amd64]
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal

(WebKitWebProcess:35022): Gdk-ERROR **: 10:39:06.086: The program 'WebKitWebProcess' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 208 error_code 2 request_code 152 (GLX) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Portable version...

...this types of tools have no need to setup, make it portable and no files in appdata but program folder instead.

This is a feature request, you all do what you want.

fileCR

Not searching FileCR. It was working fine in the last release but in the newest release, even though FileCR has the files on there site, doing a search for them with your app, reveals nothing.

Build & Publish on Flatpak

Issue

As a user I would like to be able to download Hatt using the package manager : Flatpak

Briefly discussed in issue 11, I did a bit of research and took some notes that I am publishing here in the hopes that it would be integrated.

Submission

  1. fork the Flathub repository on GitHub with "Copy the master branch only" unchecked.

  2. Clone it locally

git clone --branch=new-pr [email protected]:FrenchGithubUser/flathub.git

# Switch into the cloned repository
cd flathub

# Create a new branch with your app’s name
git checkout -b frenchgithubuser-hatt

The name of the branch has no incidence on the submission and at no point in the submission will you need to change it.
Doing so will make github close the Pull Request.

  1. Create the app manifest and push it to frenchgithubuser-hatt

See manifest example

Something like this:

# file: org.frenchgithubuser.Hatt.yml
id: io.github.FrenchGithubUser.Hatt
# The runtime is the environment that the application will run in, so you can use dependencies it provides
runtime: org.frenchgithubuser.Platform
runtime-version: "0.3.4"
sdk: org.frenchgithubuser.Sdk
# This is the command that will be run when the application is launched
command: hatt
# These are the permissions that the application needs
# Read more about finishing here: https://docs.flatpak.org/en/latest/manifests.html#finishing
finish-args:
  - --socket=fallback-x11
  - --socket=wayland
  - --socket=pulseaudio
  - --share=network
  - --share=ipc
modules:
  - name: mycoolapp
    # There are other types of buildsystems, like autotools, cmake, cmake-ninja, simple, qmake
    buildsystem: meson
    sources:
      - type: archive
        url: https://github.com/FrenchGithubUser/Hatt/archive/refs/tags/0.3.4.tar.gz
        dest: Hatt
        sha256: e198214acdbb57363561dee2d73f27199999af26c283723067525bd854703e12
        # ^--- We should generate another one
        # Automatically check for updates and create merge requests
        x-checker-data:
          # There are different types of checkers, see the documentation for more information
          type: anitya
          # This is the ID of the project on anitya
          project-id: 1
          url-template: https://github.com/FrenchGithubUser/Hatt/releases/download/v$version/hatt-source-$version.tar.xz

Note : This file can also be formated in json.

  1. Open a pull request against the new-pr branch on GitHub

Please make sure to title the Pull Request with the name of the application. Example "Add org.example.MyAwesomeApp".

Maintenance

In the Flathub repository that has been created after the merge request was treated

You can create a file called flathub.json to control various parameters of the build infrastructure such as :

  • build architecture limitation
  • end of life
  • disable external data checker
  • automatic PR merge
  • import update flag

GitHub Actions

Here is a GitHub action I put together using the documentation and inspired by obs-studio's flatpak github action :

Note that it yet to be tested and thus, might need a bit of tweaking to do to make it work.

name: Flatpak

on:
  release:
    types: [published]
    branches: [main]

jobs:
  publish:
    name: Publish to Flathub
    runs-on: [ubuntu-latest]
    container:
      image: bilelmoussaoui/flatpak-github-actions:gnome-44
      options: --privileged
    strategy:
      matrix:
        arch: [x86_64, aarch64]
      # Don't fail the whole workflow if one architecture fails
      fail-fast: false
    steps:
    - uses: actions/checkout@v4
    # Docker is required by the docker/setup-qemu-action which enables emulation
    - name: Install deps
      if: ${{ matrix.arch != 'x86_64' }}
      run: |
        dnf -y install docker
    - name: Set up QEMU
      if: ${{ matrix.arch != 'x86_64' }}
      id: qemu
      uses: docker/setup-qemu-action@v2
      with:
        platforms: arm64
        submodules: 'recursive'

    - name: Setup build environment
      id: setup
      run: |
        git config --global --add safe.directory $GITHUB_WORKSPACE
        echo "commitHash=$(git rev-parse --short=9 HEAD)" >> $GITHUB_OUTPUT

    - name: Build Flatpak Manifest
      uses: flatpak/flatpak-github-actions/flatpak-builder@v6
      with:
        bundle: french-github-user-${{ steps.setup.outputs.commitHash }}.flatpak
        manifest-path: CI/flatpak/org.frenchgithubuser.Hatt.yml
        cache-key: flatpak-builder-${{ hashFiles('CI/flatpak/org.frenchgithubuser.Hatt.yml') }}
        branch: ${{ matrix.branch }}
        arch: ${{ matrix.arch }}

    - name: Publish
      uses: flatpak/flatpak-github-actions/flat-manager@v4
      with:
        flat-manager-url: https://hub.flathub.org/
        repository: stable
        token: ${{ secrets.FLATHUB_TOKEN }}

Settings screen broken

On the settings screen none of the buttons on the left (Appearance / Custom Categories / Website logins) do anything. The screen only shows a thumnail size slider no matter what you select on the left

(windows amd/64)

image

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.