Skip to content

neooriginal/ASAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASAR: Actually Smart AI Radio ๐ŸŽ™๏ธ๐Ÿค–

ASAR is a cutting-edge Discord radio bot powered by OpenAI's GPT-4o, bringing AI-driven radio broadcasting to your Discord server. It combines news updates, music, and AI-generated commentary for a unique radio experience.

Features โœจ

  • ๐ŸŽต 24/7 Radio Broadcasting
  • ๐Ÿค– GPT-4 Powered DJ Commentary
  • ๐Ÿ“ฐ Real-time News Integration
  • ๐ŸŽ™๏ธ Premium Voice Support (via ElevenLabs)
  • ๐ŸŒ Multi-language Support
  • ๐ŸŽถ YouTube Playlist Integration
  • โšก Auto-join Radio Channels
  • ๐Ÿ“ข Skip Command Support

Prerequisites ๐Ÿ“‹

  • Node.js (v16 or higher)
  • npm (Node Package Manager)
  • C++ Framework
  • Discord Bot Token
  • OpenAI API Key
  • NewsAPI Key
  • ElevenLabs API Key (Optional, for premium voice)

Installation ๐Ÿš€

  1. Clone the repository

  2. Install dependencies:

npm install
  1. Set up environment variables:
cp .env-sample .env
  1. Edit the .env file with your API keys and configuration.

Configuration โš™๏ธ

Configure your radio station by editing the following in your .env file:

  • OPENAI_API_KEY: Your OpenAI API key
  • newsapikey: Your NewsAPI key
  • discordtoken: Your Discord bot token
  • language: Preferred language for announcements
  • ytplaylist: YouTube playlist ID for music
  • dataradio: Radio station information
  • ELEVEN_LABS_API_KEY: (Optional) For premium voice quality

Usage ๐Ÿ’ก

  1. Start the bot:
node index.js
  1. The bot will automatically:
    • Join voice channels named "radio"
    • Play music from your configured playlist
    • Announce news with AI-generated commentary
    • Switch between songs and announcements

Commands ๐ŸŽฎ

  • skip: Skip the current song/announcement

Voice Options ๐ŸŽ™๏ธ

ASAR supports two voice modes:

  1. Basic TTS (Default)
  2. Premium ElevenLabs voice (requires API key)

Contributing ๐Ÿค

Contributions are welcome! Please feel free to submit a Pull Request.

License ๐Ÿ“„

This project is licensed under the MIT License - see the LICENSE file for details.

Support ๐Ÿ’ช

If you encounter any issues or have questions, please open an issue on GitHub.

Made with โค๏ธ by Neo

About

Actually Smart AI Radio: 24/7 discord radio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published