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.
- 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
- Clone this repository into your machine
git clone https://github.com/libredeb/hash-it.git cd hash-it/ - Create a build folder:
meson setup build --prefix=/usr
- Compile hash-it:
cd build ninja - Install hash-it in the system:
sudo ninja install
- (OPTIONAL) Uninstall hash-it:
sudo ninja uninstall
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=appcenterThen execute with
flatpak run io.github.libredeb.hashitTo 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/To ensure your AppStream XML file is correctly structured, use the appstream-util tool from the AppStream project.
sudo apt install appstreamUsage
Run the following command to validate the syntax of your AppStream XML file:
appstreamcli validate --pedantic data/io.github.libredeb.hashit.appdata.xml.inTo 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-potAnd for generate each LINGUA po file, run next command:
ninja io.github.libredeb.hashit-update-poThis 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!
