GithubHelp home page GithubHelp logo

ymp3cli's Introduction

A simple tool to download music from youtube/spotify and listen in the terminal.

consumes <10MB of ram!!!

Discord RPC

Why???

idk, is free.

Prerequisites

Installing FFmpeg

Install instructions

curl https://raw.githubusercontent.com/paij0se/ymp3cli/main/install.sh | bash
  • verify the installation with
$ ymp3cli --h

 
  Usage: ymp3cli -[OPTION]
  -h ,-help: Display the help command
  -v ,-version: Display the version of ymp3cli
  -p ,-play: Play a single song
  -d ,-download ,-download: Download a song from youtube
  -port: Port to run the server on

  Usage: ymp3cli -p [SONG]
  ymp3cli -p <song.mp3>: play a single song
  example: ymp3cli -p song.mp3

  Usage: ymp3cli -d [Link]
  ymp3cli -d <link>: download a song from youtube
  example: ymp3cli -d https://www.youtube.com/watch?v=dQw4w9WgXcQ

         MIT License
         Made it by pai
         https://paijose.cf


$ ymp3cli # start ymp3cli

$ ymp3cli -d https://www.youtube.com/watch?v=dQw4w9WgXcQ # download a song from youtube

$ ymp3cli -p song.mp3 # play a single song

Build instructions

for linux install the oto dependencies

sudo apt install libasound2-dev

for macOS Oto requies AudioToolbox.framework, but this is automatically linked.

run go get . to install the dependencies.

Build ymp3cli with go build -o ymp3cli src/main.go

and for execute ymp3cli just run ./ymp3cli.

TODO:

  • client in golang
  • download the videos without youtube-dl
  • works correctly in windows
  • Discord rpc
  • able to pause and rewind the songs
  • A playlists system
  • able to play a song one by one

Custom clients?

- visit the wiki https://github.com/paij0se/ymp3cli/wiki/Routes

Alternative clients

- The old deno client https://github.com/bruh-boys/ymp3cli-old-client

Thanks to

- Flames https://github.com/FlamesX-128 # ymp3cli

ymp3cli's People

Contributors

paij0se avatar

Watchers

 avatar  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.