#article #terminal

app phrack-read

A CLI tool to scrape and display Phrack articles

7 releases

Uses new Rust 2024

0.2.5 Mar 19, 2025
0.2.4 Mar 18, 2025
0.1.3 Mar 18, 2025

#254 in Command line utilities

Download history 40/week @ 2025-03-12 197/week @ 2025-03-19

237 downloads per month

MIT license

23KB
252 lines

📖 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! 🤘

Dependencies

~15–30MB
~470K SLoC