Skip to content

libredeb/hash-it

Repository files navigation

Hash-it

License: GPL-3.0-or-later Build Status Code Style

icon

The most intuitive and simple hash tool checker

Hash-it is a fast and beautiful hash check tool. Writen in Vala and GTK+ 4.0 with the purpose to get the hash of file and compare it with other provided hash.

Get it on AppCenter

screenshot

Compilation

  1. Install dependencies:
  • For Ubuntu:
    sudo apt-get install cmake meson ninja-build valac libvala-*-dev libglib2.0-dev libgtk-4-dev libgranite-7-dev libadwaita-1-dev python3 python3-wheel python3-setuptools
  • For Fedora:
    sudo dnf install cmake meson ninja-build vala libvala-devel glib-devel gtk4-devel granite-7-devel libadwaita-devel python3 python3-wheel python3-setuptools gnome-menus
  • For Arch Linux:
    sudo pacman -Sy meson ninja vala glib2 gdk-pixbuf2 gtk4 granite7 libadwaita-1 python python-wheel python-setuptools
  1. Clone this repository into your machine
    git clone https://github.com/libredeb/hash-it.git
    cd hash-it/
  2. Create a build folder:
    meson setup build --prefix=/usr
  3. Compile hash-it:
    cd build
    ninja
  4. Install hash-it in the system:
    sudo ninja install
  5. (OPTIONAL) Uninstall hash-it:
    sudo ninja uninstall

Developer Section

Flatpak

Run flatpak-builder to configure the build environment, download dependencies, build, and install

flatpak-builder build io.github.libredeb.hashit.yml --user --install --force-clean --install-deps-from=appcenter

Then execute with

flatpak run io.github.libredeb.hashit

Linting

To lint Vala code, you can use vala-lint, a tool designed to detect potential issues and enforce coding style in Vala projects.

Read the instructions to install it on your local machine.

Usage

Run io.elementary.vala-lint command in your project source code directory:

io.elementary.vala-lint src/

Validating AppStream Syntax

To ensure your AppStream XML file is correctly structured, use the appstream-util tool from the AppStream project.

Installation

sudo apt install appstream

Usage

Run the following command to validate the syntax of your AppStream XML file:

appstreamcli validate --pedantic data/io.github.libredeb.hashit.appdata.xml.in

Translations

To add more supported languages, please, edit LINGUAS file and update the translation template file (a.k.a. pot) running next command:

cd build
ninja io.github.libredeb.hashit-pot

And for generate each LINGUA po file, run next command:

ninja io.github.libredeb.hashit-update-po

License

This project is licensed under the GNU General Public License v3.0 or later - see the COPYING file for details.

⭐ If you like Hash-it, leave me a star on GitHub!

About

The most intuitive and simple hash tool checker for elementary OS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •