Giter VIP home page Giter VIP logo

idj3's Introduction

iDJ3

iDJ3 is a dynamic music player application that integrates Firebase for song management and Mimic3 for text-to-speech (TTS) capabilities. This application allows users to skip songs, receive vocal announcements, and play YouTube videos seamlessly. ^GPT TEXT. also I really don't like ads from yt app

Features

  • Play and manage songs using Firebase.
  • Text-to-Speech announcements using Mimic3.
  • Dynamic YouTube video loading and autoplay.
  • Background music with fade-in and fade-out effects.
  • Skip song functionality with sound effects and TTS song announcements.

Setup and Installation

Prerequisites

  • Node.js
  • Docker (for Mimic3 server)
  • Firebase project configuration
  • YouTube API Key

Mimic3 Setup

  1. Download and Install Mimic3

    git clone https://github.com/MycroftAI/mimic3.git
    cd mimic3
    ./install.sh
  2. Run Mimic3 Docker Container

    mkdir -p "${HOME}/.local/share/mycroft/mimic3"
    chmod a+rwx "${HOME}/.local/share/mycroft/mimic3"
    docker run -it -p 59126:59126 -v "${HOME}/.local/share/mycroft/mimic3:/home/mimic3/.local/share/mycroft/mimic3" mycroftai/mimic3
  3. Verify Available Voices

    ls /System/Volumes/Data/Users/m/.local/share/mycroft/mimic3/voices

Firebase Setup

  1. Create a Firebase Project

  2. Firebase Configuration

    • Copy the Firebase configuration and save it in a file named firebase-config.json.
  3. Update Firebase Rules Ensure your Firebase Realtime Database rules allow read/write access as needed.

Application Setup

  1. Clone the Repository

    git clone https://github.com/mondo989/iDJ3.git
    cd iDJ3
  2. Install Dependencies

    npm install
  3. Run the Application

    npm start

Configuration

Firebase Configuration

Ensure the firebase-config.json file is placed in the public directory. This file should contain your Firebase configuration details.

Config File

Update the config.js file with your desired text arrays for DJ intros, enjoy texts, application intros, and skip song texts.

export const djIntros = [
  "Let's get this party started! ",
  "You're going to love this one! ",
  "Next up is a great track! "
];

export const enjoyTexts = [
  "Enjoy the music!",
  "Hope you like it!",
  "Get ready to dance!"
];

export const applicationIntros = [
  "Hello World, you're rocking to the Tunes of DJ Intergalactic Bunz your friendly DJ! We have quite a show for you today. Sit back grab a seat and we'll get start shortly."
];

export const skipSongTexts = [
  "Alright, let's skip to the next track!",
  "Moving on to the next song!",
  "Next song coming up!"
];

idj3's People

Contributors

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