GithubHelp home page GithubHelp logo

0x1869f / dumb-player-typescript Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 669 KB

vim-like music player

JavaScript 9.93% TypeScript 87.96% HTML 0.35% CSS 1.75%
cmus music-player ranger-fm vim electron

dumb-player-typescript's Introduction

usage preview

description

Vim-like music player inspired by cmus and ranger.

motivation

To combine cmus and ranger functionality with a nice-looking interface.

installation

git clone https://github.com/0x1869f/dumb-player
cd dumb-player
yarn install
yarn run build

usage

run current release binary
./release/0.0.1/linux-unpacked/dumb-player

supported formats

mp3, flac

key bindings

File manager

  • O - open
  • i/space - mark/unmark current
  • o/enter - select marked
  • jk - navigation
  • ctrl+f - jump to next screen
  • ctrl+b - jump to previous screen
  • gg - jump to start
  • G - jump to end
  • l - open directory
  • h - previous directory
  • / - open filter
  • u - clear filter
  • q/esq - close

Playlist

  • ctrl+l - clear
  • jk - navigation
  • ctrl+f - jump to next screen
  • ctrl+b - jump to previous screen
  • gg - jump to start
  • G - jump to end
  • dd - remove selected
  • i/enter - play selected
  • / - open filter
  • u - clear filter

Player

  • n - play next
  • p - play previous
  • c - pause/play
  • r - switch random
  • m - mute/unmute
  • = - volume +5
  • + - volume +10
  • - - volume -5
  • _ - volume -10
  • L - rewind forward
  • H - rewind backward

Filter

bash-like navigation

  • n - history next
  • p - history previous
  • ctrl+b/arrow left - cursor back
  • ctrl+f/arrow right - cursor forward
  • ctrl+h/backslash - remove previous
  • ctrl+d/delete - remove next
  • ctrl+u - remove to start
  • ctrl+k - remove to end
  • ctrl+y - paste from buffer
  • ctrl+w - remove previous word
  • ctrl+a - jump to start
  • ctrl+e - jump to end
  • alt+f/ctrl+arrow right - jump to next word
  • alt+b/ctrl+arrow left - jump to previous word
  • alt+b/ctrl+arrow left - jump to previous word
  • esq - close without saving
  • ctrl+c - clear and close
  • enter - save and close

remote control

through unix socket
check that $XDG_RUNTIME_DIR is set

example

echo play-next | ncat -U $XDG_RUNTIME_DIR/dumb-player

commands

play-next
play-previous
pause-or-play
increase-volume
decrease-volume

dumb-player-typescript's People

Contributors

0x1869f 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.