Haylxon
🔥🦀SHOOT BEFORE THE BLINK
|| Haylxon
, A tool embodying the K1SS
philosophy that allows you to take screenshots of webpages/URLs
at lightning-fast speeds using chromes
Headless
feature, means, you'd be needing a chromium based browser
for it to work.
Built from the ground up for ease of use, performance, beautiful ui and portability in mind. 💖
[](https://ko-fi.com/pwnwriter)

## Table of contents 📔
* [`Features`](#features)
* [`Installation`](#installation)
* [`Hxn in Action`](#action)
* [`Benchmarking`](#benchmarking)
* [`Contribution`](#contribution)
* [`License`](#license)
* [`Also see`](#see)

## Features 🍙
- **Fast**: [`Hxn`](https://github.com/pwnwriter/haylxon) is designed to be fast, all credits goes to the [`rustlang`](https://rust-lang.org). 🦀
- **Portable**: You can use [`haylxon`](https://github.com/pwnwriter/haylxon/) on both [`*nix`](https://en.wikipedia.org/wiki/Linux) & [`windows`](https://en.wikipedia.org/wiki/Microsoft_Windows).
- **Ease**: This tool is designed to be very user friendly as there are very few options but does all the required works that one expects.👨🎨
- **Simple**: As always [`Keeping It Simple and Stupid`](https://en.wikipedia.org/wiki/KISS_principle) 💋
## Installation 📩
- You can directly download the [**binary**](https://github.com/pwnwriter/haylxon/releases) of your arch and run it.
🪄 Binary
```bash
git clone --depth=1 https://github.com/pwnwriter/haylxon --branch=main
cd haylxon
cargo build --release
```
Then go to `release` dir and `./haylxon` or move the `binary` to your any `$PATH` for instant access from anywhere.
🌼 Source
- Using [crates.io](https://crates.io/crates/haylxon)
```bash
cargo install haylxon
```
- Using [binstall](https://github.com/cargo-bins/cargo-binstall)
```bash
cargo binstall haylxon
```
> **Note** ⚠️
> This requires a working setup of rust/cargo & binstall.
🎠 Cargo
```bash
sudo/doas pacman -Syyy haylxon
```
🚩 METIS Linux
- single url
***I'm using brave browser for all the demonstration. You can use any chromium based browsers.***
```bash
hxn -b $(which brave) -u https://example.com
```

- a file containing multiple urls
```bash
hxn -b $(which brave) -u urls.txt
```

Taking screenshots of one/many urls.🖇️
```bash
hxn -b $(which brave) -u https://example.com --silent
```

Silent option for automation ⚙️
```bash
cat urls.txt | hxn -b $(which brave) --stdin
```

Read urls from stdin ⚓
```bash
cat urls.txt | hxn -b $(which brave) -x 144 -y 400 --stdin
```

Define x/y dimentions 🐀
If your internet is slow, you may need to increase the timeout value for 'hxn' to work properly
```bash
cat urls.txt | hxn -b $(which brave) --timeout 60
```

Help pls 🐤
Copyright © 2023 pwnwriter xyz ☘️