flerp

Crates.ioflerp
lib.rsflerp
version0.4.0
created_at2025-06-04 23:01:44.926231+00
updated_at2025-06-09 15:04:11.674213+00
descriptionCLI tool that does XYZ
homepagehttps://github.com/Huseynteymurzade28/flerp
repositoryhttps://github.com/Huseynteymurzade28/flerp
max_upload_size
id1700947
size113,234
HΓΌseyn Teymurzade (Huseynteymurzade28)

documentation

README

πŸ” Flerp - Beautiful TUI Text Analysis Tool

A powerful terminal-based text analysis tool with an interactive user interface built with Rust and Ratatui.

✨ Features

  • πŸ“š PDF Analysis: Also that TUI can use for pdf files
  • πŸ“Š File Statistics: Lines, words, characters, and stanzas count
  • πŸ”€ Keyword Extraction: Find the most frequently used words
  • πŸ” Interactive Search: Real-time search with highlighting
  • πŸ“„ Content Preview: View file content directly in the terminal
  • 🎨 Beautiful Interface: Colorful and intuitive TUI with tabs and navigation
  • ⚑ Fast & Lightweight: Built with Rust for optimal performance

πŸš€ Installation

From crates.io (Recommended)

cargo install flerp

From Source

git clone https://github.com/yourusername/flerp
cd flerp
cargo install --path .

πŸ“– Usage

Basic Usage

# Analyze a text file
flerp example.txt
# Version control
flerp --version
# Help and options
flerp --help
# Analyze a PDF file
flerp example.pdf

Navigation Controls

  • Tab - Switch between tabs
  • / - Enter search mode
  • Enter - Confirm search
  • Esc - Exit search mode or quit application
  • q - Quit application
  • c - Toggle case sensitivity
  • ↑/↓ - Navigate search results

πŸ–₯️ Interface

Flerp provides four main tabs:

  1. πŸ“Š Overview - File statistics and visual progress bars
  2. πŸ”€ Keywords - Most frequently used words
  3. πŸ” Search - Interactive search with results
  4. πŸ“„ Content - File content preview

πŸ› οΈ Development

Prerequisites

  • Rust 1.70.0 or later
  • Cargo

Building

git clone https://github.com/yourusername/flerp
cd flerp
cargo build --release

Testing

cargo test

πŸ“¦ Dependencies

  • ratatui - Terminal UI library
  • crossterm - Cross-platform terminal manipulation
  • clap - Command line argument parsing

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT OR Apache-2.0 License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Built with Ratatui
  • Inspired by modern terminal applications
  • Thanks to the Rust community

πŸ“Έ Screenshots

Flerp

Made with ❀️ and Rust

Happy flerping πŸŽ‰

Commit count: 22

cargo fmt