Download and listen music in the terminal!

Overview

🛑 this cli still has a lot of bugs 🛑

A simple tool to download and listen music in the terminal.

You will need:

  • golang
  • deno v1.16+
  • youtube-dl

Install instructions

  • linux and macOS

for linux install the oto dependencies sudo apt install libasound2-dev, for macOS Oto requies AudioToolbox.framework, but this is automatically linked.

run bash install.sh to install the dependencies.

and for execute ymp3cli just run bash ymp3cli.sh.

TODO:

  • client in golang
  • download the videos without youtube-dl
  • works correctly in windows
  • able to pause and rewind the songs
  • able to play a song one by one
Issues
  • New option - Search music in YT.

    New option - Search music in YT.

    New option - Search music in YT.

    English

    The idea is to add a new option to search for videos on YT. The results should return the title, the link and optionally the image.

    With the link you only copy and paste it in the option to download music on YT and/or add based on the results, allow the index to be entered and it will download the video.

    Español

    La idea consiste que se agregue una nueva opcion para buscar videos en YT. Los resultados deberan retornar el titulo, el link y opcionalmente la imagen.

    Con el link solo lo copias y pegas en la opcion para descargar musica en YT y/o agregar basandose de los resultados, permitir introducir el indice y que este descargue el video.

    opened by FlamesX-128 1
  • ymp3cli.sh

    ymp3cli.sh

    ymp3cli

    "ymp3cli" was rewritten in shell script language.

    The use of Spotify is not available yet. Discord presence is not available yet.

    Preview

    This is how "ymp3cli" looks.

    Screenshot_2022-02-25-10-43-06_1440x900

    Screenshot_2022-02-25-10-41-30_1440x900

    Screenshot_2022-02-25-10-44-31_1440x900

    Dependencies

    "ymp3cli" needs some dependencies.

    • curl ─ Required.

    • mpv ─ Required.

    • youtube-dl ─ Required.

    • tput ─ Optional.

    Installation

    "ymp3cli" can be installed in various ways, here are some examples:

    Linux

    Using curl

    $ curl https://raw.githubusercontent.com/paij0se/ymp3cli/master/ymp3cli --output ymp3cli && cd ymp3cli
    
    $ sudo cp ymp3cli /usr/local/bin/ymp3cli
    

    Using git

    $ git clone https://github.com/paij0se/ymp3cli && cd ymp3cli
    
    $ sudo cp ymp3cli /usr/local/bin/ymp3cli
    

    Usage

    1° Open a console/terminal.

    2° Execute the command "ymp3cli"

    $ ymp3cli
    

    License

    MIT

    opened by FlamesX-128 1
  • Multiple small changes

    Multiple small changes

    Changes

    • Now wait for the server to start more efficiently
    • If the terminal dies, now the server dies
    • A little project restructuring
    • Improvements to the visibility of the client.ts file
    • Moved the dependencies to a new file called deps.ts
    • I decided that the client.ts file was better to call it mod.ts
    • The main code I add it to a one-time auto call function, this so as not to mess up the scope.
    • Small visual improvements in the core.go file
    opened by FlamesX-128 0
  • context deadline exceeded (Client.Timeout exceeded while awaiting headers)

    context deadline exceeded (Client.Timeout exceeded while awaiting headers)

    Basically, its because i'm not closing the resp , but idk

    defer res.Body.Close()
    body, _ := ioutil.ReadAll(res.Body)
    

    https://stackoverflow.com/questions/64619970/preventing-context-deadline-exceeded-client-timeout-exceeded-while-awaiting-hea

    bug 
    opened by paij0se 1
Releases(v0.8.0)
Owner
pai
idk i like computers and coding, from colombia
pai
Self-hosted music streaming server 🎶 with RESTful API and Web interface

Self-hosted music streaming server ?? with RESTful API and Web interface. Think of it as your very own Spotify!

Doychin Atanasov 420 Aug 6, 2022
A tool coded by GO to decode cryptoed netease music files and qqmusic files

nqdumpgo A tool coded by GO to decode cryptoed netease music files and qqmusic files 一个使用 Go 语言编写的用于解密被网易云音乐或 QQ 音乐加密的文件的程序,Go 程序在拥有与 C++程序相近的效率的同时,大大

null 3 Jul 29, 2022
Sequence-based Go-native audio mixer for music apps

Mix https://github.com/go-mix/mix Sequence-based Go-native audio mixer for music apps See demo/demo.go: package main import ( "fmt" "os" "time"

null 156 Jul 5, 2022
Unlock Music Project - CLI Edition

Unlock Music Project - CLI Edition Original: Web Edition

Unlock Music 641 Aug 8, 2022
Go library for searching on YouTube Music.

ytmusic Go library for searching on YouTube Music and getting other useful information. Installing go get github.com/raitonoberu/ytmusic Usage Search

Denis 9 Aug 12, 2022
A music programming language for musicians. :notes:

Installation | Docs | Changelog | Contributing composers chatting Alda is a text-based programming language for music composition. It allows you to co

Alda 5.1k Aug 7, 2022
Small application to convert my music library folder structure to 'crates' in the open-source DJ software Mixxx

Small application to convert my music library folder structure to 'crates' in the open-source DJ software Mixxx

Bart van Oort 1 May 8, 2022
Gomu is intuitive, powerful CLI music player.

Gomu (Go Music Player) Gomu is intuitive, powerful CLI music player. It has embedded scripting language and event hook to enable user to customize the

Raziman Mahathir 80 Jul 30, 2022
Muclean - A simple music file renamer

Muclean A simple music file renamer Installation go install github.com/CJ-Jackso

Christopher John Jackson 0 Jan 23, 2022
MIDI tunneling through BGP, for times when you want to broadcast your music instead of your IP packets.

BGPiano MIDI tunneling through BGP, for times when you want to broadcast your music instead of your IP packets. Usage bgpiano-send and bgpiano-recv Po

James Swineson 16 Jun 9, 2022
A yet to be voice call application in terminal. with the power of go and webRTC (pion).

A yet to be voice call application in terminal. with the power of go and webRTC (pion).

Mohammad Fatemi 37 Apr 30, 2022
? ID3 decoding and encoding library for Go

id3v2 Supported ID3 versions: 2.3, 2.4 Installation go get -u github.com/bogem/id3v2 Usage example package main import ( "fmt" "log" "github.com

Albert Nigmatzianov 254 Aug 9, 2022
Go models of Note, Scale, Chord and Key

gopkg.in/music-theory.v0 Music theory models in Go There's an example command-line utility music-theory.go to demo the libraries, with a bin/ wrapper.

Music Theory 404 Aug 7, 2022
EasyMidi is a simple and reliable library for working with standard midi file (SMF)

EasyMidi EasyMidi is a simple and reliable library for working with standard midi file (SMF). Installing A step by step series of examples that tell y

null 39 Jun 7, 2022
A utility for sending and listening for OSC messages.

A simple utility to send and listen for OSC messages. It can also be used to send MIDI messages.

Tim Thompson 3 Mar 5, 2022
Like tar but different. PitCH is an archive file format that aims for high performance and minimal bloat.

Like tar but different. PitCH is an archive file format that aims for high performance and minimal bloat.

Raphael Reyna 2 Feb 17, 2022
Kwed-dl - A tool to download latest music files from remix.kwed.org

kwed-dl A small program to download latest tracks from remix.kwed.org. Keeps a counter in your home-folder (_kwedrc on windows and .kwedrc on linux).

Brian Schau 0 May 24, 2022
Program to simultaneously listen and respond on multiple TCP/UDP ports

listen Program to simultaneously listen on multiple TCP/UDP ports and reply back to anything sent along with IP addresses and lengths of data received

Purplecarrot 1 Feb 20, 2022
Ipctl - Listen to IP change and change your DNS' records dynamically

ipctl Listen to IP change and change your DNS' records dynamically Table of cont

Daniel Svitan 1 Feb 17, 2022
Easily listen to events from multiple contracts using go-ethereum bindings!

eth-log-aggregator Easily listen to events from multiple contracts using go-ethereum bindings! Usage The usage of this tool is exactly the same as abi

Dialectic 10 Apr 9, 2022
Listen podcast via CLI for golang

goplay Listen podcast via CLI.

Rick 20 Jul 27, 2022
A simple program able to listen to the pending transactions of the Ethereum mempool. Written in Go.

eth-mempool-listener-go A simple program able to listen to the pending transactions of the Ethereum mempool. How does it work ? It creates a set of cl

Luca G.F. 13 Aug 4, 2022
subsonic terminal music player

STMP (subsonic terminal music player) A terminal client for *sonic music servers. Inspired by ncmpcpp. Features browse by folder queue songs and album

Zoe 45 Aug 3, 2022
A terminal-based download manager written in Go!

goload-manager About A terminal-based download manager written in Go! This project uses grab for downloading and tcell for the terminal interface. Hea

Manolis Skouris 4 Oct 7, 2021
🐈📦 nyaa.si client library for Go. Fetch Anime, Manga, Music and more torrents

?? ?? go-nyaa nyaa.si client library for Go Built on top of: gofeed - search using RSS colly - scrap torrent details page Original idea: ejnshtein/nya

Ilya Revenko 24 Apr 23, 2022
Music recognition bot for Reddit powered by audd.io. Note that the code currently needs some cleaning up and doesn't follow the best practices.

Music recognition bot for Reddit u/auddbot identifies music on Reddit. When someone mentions it or writes a question like "what's the song", it sends

AudD 230 Aug 15, 2022
Self-hosted music streaming server 🎶 with RESTful API and Web interface

Self-hosted music streaming server ?? with RESTful API and Web interface. Think of it as your very own Spotify!

Doychin Atanasov 420 Aug 6, 2022
A tool coded by GO to decode cryptoed netease music files and qqmusic files

nqdumpgo A tool coded by GO to decode cryptoed netease music files and qqmusic files 一个使用 Go 语言编写的用于解密被网易云音乐或 QQ 音乐加密的文件的程序,Go 程序在拥有与 C++程序相近的效率的同时,大大

null 3 Jul 29, 2022