Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y \
appstream \
desktop-file-utils \
libwebkit2gtk-4.1-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
Expand Down Expand Up @@ -98,5 +100,15 @@ jobs:
- name: Run Clippy
run: cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings -D dead_code

- name: Run Clippy (Flatpak portal dialogs)
if: startsWith(matrix.os, 'ubuntu-')
run: cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets --no-default-features --features flatpak -- -D warnings -D dead_code

- name: Validate Linux desktop and AppStream metadata
if: startsWith(matrix.os, 'ubuntu-')
run: |
desktop-file-validate packaging/linux/com.codedead.deadhash.desktop
appstreamcli validate --pedantic --no-net packaging/linux/com.codedead.deadhash.metainfo.xml

- name: Run Rust tests
run: cargo test --manifest-path src-tauri/Cargo.toml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![DeadHash](https://i.imgur.com/4g0Jhrr.png)
![DeadHash](docs/screenshots/text.png)

# DeadHash

Expand Down
Binary file added docs/screenshots/file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions packaging/linux/com.codedead.deadhash.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=DeadHash
Comment=Calculate and verify file and text hashes and checksums
Exec=deadhash
Icon=com.codedead.deadhash
Terminal=false
Categories=Utility;
Keywords=hash;checksum;sha256;sha512;md5;blake3;crc32;verify;
StartupNotify=true
StartupWMClass=com.codedead.deadhash
83 changes: 83 additions & 0 deletions packaging/linux/com.codedead.deadhash.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.codedead.deadhash</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-only</project_license>

<name>DeadHash</name>
<summary>Calculate and verify file and text hashes and checksums</summary>

<developer id="com.codedead">
<name>CodeDead</name>
</developer>

<description>
<p>
DeadHash is a free and open-source desktop utility for calculating and verifying file and
text hashes and checksums using fast, parallel native Rust implementations.
</p>
<p>Key features:</p>
<ul>
<li>Supports SHA-224, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, BLAKE2b-512, BLAKE2s-256, BLAKE3, MD4, MD5, SHA-1, RIPEMD-160, CRC1, CRC8, CRC16, CRC24, CRC32, and XXH3-64</li>
<li>Multi-core streaming file hashing with live progress, cancellation, and throughput statistics</li>
<li>Case-insensitive hash comparison with match and mismatch indicators</li>
<li>Atomic export of calculated hashes to CSV, JSON, HTML, and plain text</li>
<li>One-click VirusTotal lookup for calculated file hashes</li>
<li>Automatic Light and Dark theme detection with localization in 11 languages</li>
</ul>
</description>

<launchable type="desktop-id">com.codedead.deadhash.desktop</launchable>

<url type="homepage">https://codedead.com</url>
<url type="vcs-browser">https://github.com/CodeDead/DeadHash-js</url>
<url type="bugtracker">https://github.com/CodeDead/DeadHash-js/issues</url>

<branding>
<color type="primary" scheme_preference="light">#d8e4f0</color>
<color type="primary" scheme_preference="dark">#2f3e4e</color>
</branding>

<supports>
<control>pointing</control>
<control>keyboard</control>
</supports>

<recommends>
<display_length compare="ge">640</display_length>
</recommends>

<content_rating type="oars-1.1" />

<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/CodeDead/DeadHash-js/main/docs/screenshots/file.png</image>
<caption>File hash calculation in dark theme</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/CodeDead/DeadHash-js/main/docs/screenshots/light.png</image>
<caption>File hash calculation in light theme</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/CodeDead/DeadHash-js/main/docs/screenshots/text.png</image>
<caption>Text hash calculation</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/CodeDead/DeadHash-js/main/docs/screenshots/settings.png</image>
<caption>Configurable cryptographic, CRC, and non-cryptographic algorithms</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/CodeDead/DeadHash-js/main/docs/screenshots/main.png</image>
<caption>Main file hash window</caption>
</screenshot>
</screenshots>

<releases>
<release version="3.0.0~beta.3" type="development" date="2026-12-05">
<url type="details">https://github.com/CodeDead/DeadHash-js/releases</url>
<description>
<p>Beta release built with Tauri v2, Rust, React, and Mantine.</p>
</description>
</release>
</releases>
</component>
114 changes: 112 additions & 2 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,22 @@ authors = ["CodeDead <admin@codedead.com>"]
license = "GPL-3.0-only"
repository = "https://github.com/CodeDead/DeadHash-js"
edition = "2024"
rust-version = "1.100.1"
rust-version = "1.94"

[lib]
name = "deadhash_lib"
crate-type = ["rlib"]

[features]
default = ["tauri-plugin-dialog/gtk3"]
flatpak = ["tauri-plugin-dialog/xdg-portal"]

[build-dependencies]
tauri-build = { version = "2.8.0", features = [] }

[dependencies]
tauri = { version = "2.13.0", features = [] }
tauri-plugin-dialog = "2.9.0"
tauri-plugin-dialog = { version = "2.9.0", default-features = false }
tauri-plugin-opener = "2.7.3"
tauri-plugin-os = "2.4.0"
serde = { version = "1.0.229", features = ["derive"] }
Expand Down
Loading
Loading