Search and Get the Music that you like from anywhere!

Overview

Music-Engines

music-engines-logo

music-engines is a package to fetch a music/artist/album or even playlist from the platform you choose, there multi platforms that are supported in this package, so there is no need for any others....

Table of Contents

Why music-engines?

music-engine currently Supports 4 biggest platform that we all know all-in-one package and access to the Audio buffers directly from the platform API, so we are all-in-one and we have download feature

Installation

  • Using NPM

npm install music-engines

  • Using yarn

yarn add music-engines

Features

  • Custom Data Wrapper
  • No Token Required
  • Music Buffers (sometimes FFMPEG or Opus)

Platforms

  • YouTube
  • SoundCloud
  • Spotify
  • Deezer
  • Radio Javan (Maybe, maybe not)

Documents

Documents are live at /music-engines

Examples

YouTube Downloader

const { YouTube } = require("music-engines");
const myEngine = new YouTube();

myEngine.use('https://www.youtube.com/watch?v=KQlyGYCKGGA', { format: true })
.then(resultArray => {
    const track = resultArray[0];
    track.stream()
    .then(audioBuffer => {
        audioBuffer.pipe(fs.createWritestream("music.mp3"))
    })
    .catch(console.error)
})
.catch(console.error)

Discord Bot

const { YouTube } = require("music-engines");
const myEngine = new YouTube();

myEngine.use('https://www.youtube.com/watch?v=KQlyGYCKGGA', { format: true })
.then(resultArray => {
    const track = resultArray[0];

    // Disabling chunking is recommended in Discord bots
    track.stream({ filter: 'audioonly', dlChunkSize: 0 })
    .then(async audioBuffer => {
        // Discord.js Stuff....
        const connection = await voiceChannel.join();
        const dipatcher = connection.play(audioBuffer)
        
        // Enjoy the Music
    })
    .catch(console.error);
})
.catch(console.error)
  • More Examples would be added soon (PR's are welcome)

Credits

  • Thanks to Kambiz for all the helps on the package and Future PR's
You might also like...

๐ŸŽผ - MusicBridge Recieves MIDI messages and converts them to AppleScript commands to control Apple Music and Spotify for macOS.

๐ŸŽผ - MusicBridge Recieves MIDI messages and converts them to AppleScript commands to control Apple Music and Spotify for macOS.

MusicBridge MusicBridge Recieves MIDI messages and converts them to AppleScript commands to control Apple Music and Spotify for macOS. Installation Si

Dec 20, 2022

JavaScript plugin for playing sounds and music in browsers

JavaScript plugin for playing sounds and music in browsers

JavaScript plugin for playing sounds on user actions and page events. Version: 3.0.7 Project page and demos Download ZIP Support the plugin on GitHub

Sep 24, 2022

VexFlow 3 - A JavaScript library for rendering music notation and guitar tablature.

VexFlow 3 - A JavaScript library for rendering music notation and guitar tablature.

Jan 6, 2023

A multi-purpose discord bot, that has 100+ commands. Includes ๐ŸŽถ Music, ๐Ÿ“ท Image Generation, ๐Ÿ“Š Leaderboard, and more!

Cleckzie An open-source, multi-purpose discord bot, made with JavaScript. Has useful categories like: ๐ŸŽถ Music - filter, seek, queue, volume and more.

Jul 2, 2022

Discord.js Music Bot with buttons and slash support!

Music Bot Vote for us! (Please) How to use? Download the repo, create a .env file, and add your token into it. You need to change guildOnly to your gu

Nov 24, 2022

ALi a powerful Discord bot that includes Utility, Fun, Music, Moderation, and much more! (Beta)

ALi a powerful Discord bot that includes Utility, Fun, Music, Moderation, and much more! (Beta)

ALi ALi a powerful Discord Bot Invite ALi ยท Report Bug ยท Request Feature ๐ŸŽญ Futures Music Moderation Fun Economy Utility More ๐Ÿš€ Installation You can

Oct 17, 2022

A Discord.js Music Bot, which connects via Lavalink and erela.js

A Discord.js Music Bot, which connects via Lavalink and erela.js

Discord.js Lavalink Music Bot using erela.js A Advance Discord Music Bot Like Hydra Erela.js docs Note this Discord Bot Repository is the Same as for

Dec 9, 2022

Web Application that represents a music player using the spotify API, React, JS, CSS, HTML, nodeJS, Firebase, material-ui, JSON and other technologies. Made by Yohan Hmaiti

Web Application that represents a music player using the spotify API, React, JS, CSS, HTML,  nodeJS, Firebase, material-ui, JSON and other technologies. Made by Yohan Hmaiti

Web Application that represents a music player using the spotify API, React, JS, CSS, HTML, nodeJS, Firebase, material-ui, JSON and other technologies. Made by Yohan Hmaiti

Jan 8, 2022

Music player made with React and Redux ๐Ÿš€

Music player made with React and Redux ๐Ÿš€

Spotipy A modern Web-Based music player made using ReactJS Deployment Spotipy is deployed at Vercel and can be accessed by clicking here Features Clea

Jan 3, 2023
Comments
  • fix: Some typings

    fix: Some typings

    Please describe the changes this PR makes and why it should be merged: Changed is functions on Base Structure return type to dynamic typings

    Status and versioning classification:

    • I know how to update typings and have done so, or typings don't need updating
    opened by EhsanFox 0
Releases(v1.1.0)
  • v1.1.0(Apr 22, 2022)

    What's Changed

    • chore: Small changes by @EhsanFox in https://github.com/EhsanFox/music-engines/pull/2
    • Dev by @EhsanFox in https://github.com/EhsanFox/music-engines/pull/3

    New Contributors

    • @EhsanFox made their first contribution in https://github.com/EhsanFox/music-engines/pull/2

    Full Changelog: https://github.com/EhsanFox/music-engines/commits/v1.1.0

    Source code(tar.gz)
    Source code(zip)
Owner
EhsanFox
โ— Name is Exxon โ— Back-End Developer โ— in ๐Ÿ’– with Javascript/Typescript โ— From Iran
EhsanFox
Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify

Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify, apple music support . You can save your songs and play it. It also has DJ mode system.

Diwas Atreya 65 Dec 25, 2022
Iโ€™m a very useful music bot that can make you play a music with a simple command! I have a lot of good commands that you can have a better experience playing your favorites songs!

Iโ€™m a very useful music bot that can make you play a music with a simple command! I have a lot of good commands that you can have a better experience playing your favorites songs!

Hugo Kishi 2 Aug 16, 2022
Music-Player - Music player application built with HTML, CSS and vanilla JavaScript

Music-Player Music player application built with HTML, CSS and vanilla JavaScrip

Karthik Umashankar 1 Feb 10, 2022
A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users

A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users.

M. Adil Fayyaz 10 Sep 5, 2022
A mobile app for playing music on Resonate, an open source music streaming co-op.

stream2own Play fair. Website | Twitter | Contributing | Developer Guide ?? Resonate Stream App A mobile app for playing music on Resonate, an open so

Peter Klingelhofer 12 Dec 28, 2022
Spotlight-like search bar for spotify

Spicetify power bar Spotlight-like quick search bar to navigate to tracks, albums, artists and playlists. Table of contents Installation Usage Setting

Jeroen 43 Jan 4, 2023
A NodeJS package for voice channel interactions on Revolt. This package lets you join voice channels, play music and more!

Revoice.js - A Voice Module for Revolt This package is still in developement and lacks many features. You still are able to play sound to a voice chan

ShadowLp174 13 Dec 25, 2022
Zoltan is a polyphonic music synthesizer that you can play in your browser.

Zoltan Zoltan is a polyphonic browser-based synthesizer written in TypeScript using React. The project is currently in the early alpha stages, so expe

Mark-James McDougall 7 Dec 17, 2022
A self-hosted, completely private and free music streaming server compatible with Synology Audio Station's web browser interface and smartphone apps.

Open Audio Server Open Audio Server is a music streaming server compatible with Audio Station by Synology. Audio Station creates your own private serv

null 91 Dec 11, 2022
A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment.

hazel A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment. Features Music โ€• supporting YouTube, Spotify and So

yushi 27 Dec 31, 2022