diff options
| author | UMTS at Teleco <crt@teleco.ch> | 2026-03-08 15:57:23 +0100 |
|---|---|---|
| committer | UMTS at Teleco <crt@teleco.ch> | 2026-03-08 15:57:23 +0100 |
| commit | c702ff9c873b1cdcb8796e1dd7da090f1d3e027c (patch) | |
| tree | 4d569ceb470eacb796cab4f5a09a0461372b8192 | |
| parent | 4cc3e2bf861ba04e3924e337b9ac5d3e8d21eb02 (diff) | |
test
| -rw-r--r-- | Cargo.toml | 5 | ||||
| -rw-r--r-- | README.md | 14 | ||||
| -rw-r--r-- | dist/AppIcon.png | bin | 0 -> 33810 bytes | |||
| -rw-r--r-- | src/app.rs | 18 |
4 files changed, 26 insertions, 11 deletions
@@ -1,6 +1,6 @@ [package] name = "hoardom" -version = "1.1.2" +version = "1.1.3" edition = "2021" description = "Domain hoarding made less painful" default-run = "hoardom" @@ -22,7 +22,7 @@ builtin-whois = [] # native gui wrapper binary (hoardom-app) # spawns hoardom --tui in a pty and renders it in its own window # so it shows up as its own app with its own dock icon -gui = ["dep:eframe", "dep:portable-pty", "dep:vte"] +gui = ["dep:eframe", "dep:portable-pty", "dep:vte", "dep:image"] # Configurable values baked into the binary at compile time via build.rs [package.metadata.hoardom] @@ -49,6 +49,7 @@ futures = "0.3" eframe = { version = "0.30", optional = true } portable-pty = { version = "0.8", optional = true } vte = { version = "0.14", optional = true } +image = { version = "0.25", optional = true, default-features = false, features = ["png"] } [[bin]] name = "hoardom" @@ -1,22 +1,20 @@ -# Multithreaded Domain Hoarding !? +# HoarDom +Allows you to HOARd DOMains but with alot less pain associated with it. > "How to get my IP unbanned by Whois servers" <br> -> -- You at 3am after using this tool for a few hours +> -- Probably you after using this tool. + -## What even is `hoardom`? (tldr) -The work of art you see below is a tool with which you will be able to achieve the pinacle of hoarding and money wasting when commiting to once again falling down the Domain Hoarding Hole! <br>( -for example when gambling online just isnt doing it for you anymore) -Seriously for once : It is meant to atleast make the journey you'll have loosing your mind finding a banger domain more tolerable than siting on your computer until 5am scrolling through domain registrars crappy ass domain look up webpanel just to know whats not taken yet. ## Lates Update : tool now has a wrapper app for desktop* folks! (No windows support only unix.) Use the new make file to either `make pkg` for macass or `make deb` for debian systems. If you are running gentoo or anything else just the usual `make install`, to uninstall do `make uninstall` obv. (both install and uninstall will require le sudo or root) - - + +## Quick Q & A `hoardom`? (tldr) diff --git a/dist/AppIcon.png b/dist/AppIcon.png Binary files differnew file mode 100644 index 0000000..3d9d70f --- /dev/null +++ b/dist/AppIcon.png @@ -1028,6 +1028,21 @@ fn find_hoardom() -> PathBuf { PathBuf::from("hoardom") } +// ----- load app icon ----- + +fn load_icon() -> egui::IconData { + let png_bytes = include_bytes!("../dist/AppIcon.png"); + let img = image::load_from_memory_with_format(png_bytes, image::ImageFormat::Png) + .expect("failed to decode embedded icon") + .into_rgba8(); + let (w, h) = img.dimensions(); + egui::IconData { + rgba: img.into_raw(), + width: w, + height: h, + } +} + // ----- main ----- fn main() -> eframe::Result<()> { @@ -1124,7 +1139,8 @@ fn main() -> eframe::Result<()> { viewport: egui::ViewportBuilder::default() .with_title("hoardom") .with_inner_size([est_width, est_height]) - .with_min_inner_size([300.0, 200.0]), + .with_min_inner_size([300.0, 200.0]) + .with_icon(load_icon()), ..Default::default() }; |
