Giter Site home page Giter Site logo

orchid's Introduction

orchid

β€œWhat does an orchid have to do with playing music? You sort of get tons of orchids in the jungle and they require very little water to live. You should name it after some musical instrument, but that's probably already taken.”

Very tiny MP3 player for my needs. Mostly an excuse for me to learn how to use termbox (after being inspired by Brandon Rhode's talk on terminal animations), as well as how to write my own UI loop. Start it up in a directory where there are MP3 files, and orchid will do the rest:

$ git clone https://github.com/eugene-eeo/orchid
$ cd orchid
$ make install
$ cd totally-legit-music
$ orchid -h

Ideally ran in a terminal with size 50x8; you could run it on something larger, but it doesn't respond to larger/smaller sizes. You'll need a terminal with true-colour support (see iTerm on OSX) for the album art to display properly.

prerequisites

Requires hajemoshi/oto so make sure you can follow the instructions (especially on Linux/FreeBSD).

screenshots

Screenshots are taken in iTerm with vertical and horizontal margin 15 and title-less windows. Font used is 14px Iosevka Term with the Twilight colour profile.

controls

  • r toggle repeat song/playlist
  • <left> / <right> to adjust volume
  • <space> pause/play
  • f find mode
    • <enter> confirm selection
    • <esc> cancel
  • s toggle shuffle mode
  • n next track
  • p prev track
  • q quit

orchid's People

Contributors

eugene-eeo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.