phrack-read

Crates.iophrack-read
lib.rsphrack-read
version0.2.5
created_at2025-03-18 10:31:15.227205+00
updated_at2025-03-19 05:39:20.981685+00
descriptionA CLI tool to scrape and display Phrack articles
homepage
repositoryhttps://github.com/patel96/phrack-read
max_upload_size
id1596472
size76,635
PATEL96 (PATEL96)

documentation

README

📖 Phrack Read CLI

Phrack Read Crate Version

A powerful and elegant command-line tool to read Phrack Magazine articles directly from your terminal with smooth navigation and a beautiful display format.

🚀 Features

✅ Fetch and display Phrack issues and articles using web scraping.
✅ Styled terminal output with borders and formatting.
✅ Smooth scrolling with arrow keys, PageUp, and PageDown.
Keyboard Shortcuts for easy navigation.
✅ Cross-platform support (Linux, macOS, Windows).


📦 Installation

To install Phrack Read CLI, you need Rust installed. Run:

cargo install phrack-read

Or clone the repository and build manually:

git clone https://github.com/PATEL96/phrack-read.git
cd phrack-read
cargo build --release
./target/release/phrack-read --help

🎯 Usage

Fetch and read a specific Phrack issue and article:

phrack-read <issue> <article>

Example:

phrack-read 69 1

This command fetches Issue 69, Article 1 and displays it in the terminal.


🎨 Terminal Interface

The content is displayed with a structured ASCII border and allows easy scrolling.

╔════════════════════════════════════════════════════════════╗
║                 Phrack Issue 69 Article 1                  ║
╚════════════════════════════════════════════════════════════╝

🕹 Navigation

Key Action
Scroll up
Scroll down
PgUp Page up
PgDn Page down
q / Esc Quit

📜 Dependencies

This project uses the following Rust crates:

  • reqwest → Fetch webpage content
  • scraper → Parse and extract text from HTML
  • clap → Command-line argument parsing
  • colored → Colorful terminal output
  • crossterm → Terminal manipulation (scrolling, clearing, cursor control)

🛠 Development

To contribute read Contribution Guide


📜 License

This project is licensed under the MIT License. Feel free to modify and use it as you wish!

📖 Happy Hacking! 🤘

Commit count: 15

cargo fmt