meloic

Crates.iomeloic
lib.rsmeloic
version0.2.2
created_at2025-08-27 10:15:00.811147+00
updated_at2025-08-27 11:14:17.511767+00
descriptionA CLI music player written in Rust
homepage
repositoryhttps://github.com/Huseynteymurzade28/meloic
max_upload_size
id1812403
size73,081
HΓΌseyn Teymurzade (Huseynteymurzade28)

documentation

README

Meloic 🎡

Meloic is a modern Terminal User Interface (TUI) music player built with Rust. Manage your music collection through the terminal with a lightweight, fast, and user-friendly interface.

✨ Features

  • 🎡 Intuitive Music Selection: Easily browse through your music collection
  • ⏸️ P Key Pause: Instantly pause/resume music playback
  • ⏯️ Enter to Play: Start playing the selected track
  • πŸ”„ Navigate Between Tracks: Move between songs using arrow keys
  • πŸš€ Fast and Lightweight: Leverages Rust's performance for smooth experience
  • πŸ’» Terminal-Based: Works without the need for GUI

πŸ“¦ Installation

Install via Cargo (Recommended)

cargo install meloic

Build from Source

git clone https://github.com/Huseynteymurzade28/meloic.git
cd meloic
cargo build --release

You can find the compiled binary at target/release/meloic.

πŸš€ Usage

To run Meloic, open your terminal and type:

meloic

Controls

Key Description
↑/↓ Navigate between tracks
Enter Play selected track
p Pause/resume playback
q Quit application
? or h Toggle help menu

πŸ—οΈ Project Structure

src/
β”œβ”€β”€ ui/
β”‚   β”œβ”€β”€ mod.rs      # UI module definitions
β”‚   β”œβ”€β”€ events.rs   # Event handling (key presses, etc.)
β”‚   β”œβ”€β”€ app.rs      # Main application logic
β”‚   └── widgets.rs  # UI components
β”œβ”€β”€ library.rs      # Music library management
└── main.rs         # Application entry point
Cargo.toml         # Project configuration and dependencies
Cargo.lock        # Locked dependencies
README.MD          # Project documentation
.gitignore        # Ignored files for git

πŸ› οΈ Development

To develop the project:

git clone https://github.com/Huseynteymurzade28/meloic.git
cd meloic
cargo run

πŸ“‹ Requirements

  • Rust 1.70.0 or higher
  • Cargo package manager

🀝 Contributing

We welcome contributions! Please:

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

πŸ“„ License

This project is licensed under the MIT License.

πŸ“ž Contact

For questions or suggestions:


Music in its purest form. In the terminal, simple and powerful. 🎡

Commit count: 12

cargo fmt