Coder Social home page Coder Social logo

ryandougc / discord_voice_search Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 211 KB

Search the web with your voice within a discord voice channel and have the results broadcast for everyone to hear

License: GNU General Public License v3.0

JavaScript 100.00%

discord_voice_search's Introduction

Discord Voice Search

The vision is to have discord implement a voice search feature into their voice channels so that players can simply ask discord a question about the game they are currently playing and have the results broadcast into the voice channel that they are in.

Contribution

Any way you can think of. If you know Node JS, text-to-speech, speech-to-text, or even just want to talk about the project, anything is welcomed. Please feel free to reach out to me.

This project is in the very early stages of life. So far, it has very rudimentary functionality and there is no voice implementation yet. I am fairly new to the world of programming and this is the first oepn source project that I have worked on, let alone launched. This project is definitely out of the scope of my knowledge. I am slowly learning more and more and building what I can in the easiest way possible so that a working prototype can be released but I am making this open source to start a conversation with other people who may be passionate in the vision that I see for the future of gaming where your voice can be leveraged to make the gaming experience better for everyone.

The Vision

To simplify the process of getting information about a game without the hassle of alt + tabbing and manually searching.

As for why discord should genuinely consider adding this feature to discord, this would mean that discord could become a much bigger part of gaming than just a means of communication with friends. With this feature, people playing singleplayer games will especially want to stay in a voice channel to gain acccess to this feature, meaning more people will use discord and its features like streaming and potentially pay for their premium services.

Installation

Universal Project Installation:

  1. Download the ZIP file and unzip
  2. Open VSCode
  3. Open a New Terminal within VSCode and enter npm install
  4. Create a discord bot
  5. Duplicate file "sample_config.json" and rename it to "config.json"
  6. Add your bot token in the new config.json fill
  7. In the terminal, enter npm run devStart

Usage

Currently, searching is only available through text in a discord channel with the bot added. Type !search <search parameters> and replace "" with what you want to search in google

Currently, the bot uses a headless chromium browser from pupeteer to search google and return the text in google's featured snippets box.

Current Todos

  • Implement Test Driven Development
  • Create audio files for the text-to-speech of the google quick results
  • Play the audio files automatically within a voice channel in discord
  • Convert a voice command into text from within a discord voice channel

Authors

  • Ryan - Initial Dev

License

GNU General Public License v3.0

discord_voice_search's People

Contributors

ryandougc avatar

Stargazers

tyrohellion avatar

Watchers

James Cloos avatar  avatar

discord_voice_search's Issues

Bot enters chat when a user does

When a voice channel goes from zero users to having 1 user, add the bot so that it can begin listening for a keyword to search

Make text-to-speech audio files temporary

Delete the text-to-speech audio files after a certain amount of time

Idea

We could have it save the audio file until 2 more searches have been made so that the users can recall searches and have the bot repeat past recent searches again

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.