🔍 Flerp - Beautiful TUI Text Analysis Tool
A powerful terminal-based text analysis tool with an interactive user interface built with Rust and Ratatui.
✨ Features
- 📊 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)
From Source
📖 Usage
Basic Usage
# Analyze a text file
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:
- 📊 Overview - File statistics and visual progress bars
- 🔤 Keywords - Most frequently used words
- 🔍 Search - Interactive search with results
- 📄 Content - File content preview
🛠️ Development
Prerequisites
- Rust 1.70.0 or later
- Cargo
Building
Testing
📦 Dependencies
ratatui- Terminal UI librarycrossterm- Cross-platform terminal manipulationclap- Command line argument parsing
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - 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

Made with ❤️ and Rust
Happy flerping 🎉