GithubHelp home page GithubHelp logo

yohashinoio / remote-discord-muter Goto Github PK

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

Remotely mute voice chat from outside a LAN ๐ŸŽ™๏ธ๐ŸŒ

License: Apache License 2.0

Dockerfile 2.04% TypeScript 39.28% JavaScript 0.87% Rust 57.80%
discord discord-utility remote-control

remote-discord-muter's Introduction

How to use?

Only in a local network

  1. Build and run the Dockerfile in the root (Pass '-p 8080:8080' at runtime)
  2. Copy .example.env in /muter and rename it to .env
  3. Fill in the .env (details)
  4. Run 'npm i'
  5. Run 'npx ts-node main.ts'
  6. Access to localhost:8080 with a web browser

Even from outside a local network

To make it available from outside local networks, a server is required.

Here's how to deploy with render.com. (free)

  1. Fork this repository
  2. Create an account on render.com
  3. Go to your dashboard
  4. Go to the page to create a new web service

If you cannot find the forked repository, configure your GitHub account.

  1. After confirming that runtime is docker, create

From here, please work on a computer that is actually running Discord Desktop.

  1. Copy .example.env in /muter and rename it to .env
  2. Fill in the .env (details)
  3. Run 'npm i'
  4. Run 'npx ts-node main.ts'
  5. Access to the deployed server with a web browser (e.g. xxx.onrender.com)

Setting environment variables

Discord related

The environment variables DISCORD_CLIENT_ID, DISCORD_CLIENT_SECRET and DISCORD_REDIRECT_URI must be set to run muter.

These can be obtained via the Discord Developer Portal.

Others

SERVER_HOST_PORT and WEBSOCKET_SCHEME need not be changed from .example.env if used in a local network.

If used from outside local networks, SERVER_HOST_PORT should be the hostname of the server you deployed to.

If you are deploying on render.com, change WEBSOCKET_SCHEME to wss.

remote-discord-muter's People

Contributors

yohashinoio avatar

Stargazers

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