Skip to content

a lightweight tui music player

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

WilliamAnimate/encore

Repository files navigation

Encore is a TUI music player that does one thing and one thing only, but does it well.

It only plays music, and it does it so well it has lower overhead than other media players.

Important

Encore is not yet a feature-complete music player! However, feel free to play around with it if you figure out the ropes.

I want numbers. Sell me that its lightweight

The bulk (as of right now, all of) Encore's code is written on this outdated laptop. it takes about 200µs to draw to the tty and i've never seen it use >5% CPU usage. In fact, it uses less memory than the systemd process when playing a 23 mb .flac file.

Safe with Rust

Rust (alongside Zig) are the future of programming languages whether you like it or not. No longer will you have to choose between performance (C) or safe code (every other high level language that exists).

Because Encore is written in Rust, you need not worry about getting a remote code execution from a specifically crafted .flac file.

Vi-inspired

Because Encore runs in the terminal, Encore comes with vi-like keybindings. That means if you are the based ones using a modal editor based on vi or vim then you will find Encore an easy adaptation.

Cross-platform

Encore natively and will always support these platforms:

  • Linux;
  • ChromeOS;
  • Windows 10/111

Encore has support and tries to maintain support for these platforms:

  • MacOS

Support is planned for the following platforms:

  • Android (via termux, unrooted?)

Footnotes

  1. Do not tell me that Encore is slow on Windows. that's a fault of microsoft..