Skip to content

nokitakaze/NKDiscordChatWidget

Repository files navigation

NK Discord Chat Widget

Build status Test status Docker pulls Docker stars Docker image size

Widget (in the form of an HTML page) for Open Broadcaster and other streaming software.

Creating bot

Briefly, it is done like this:

  1. https://discordapp.com/developers/applications/ Create an application
  2. Go to the Bot tab in your application, create a bot. The bot has zero permissions, it doesn't need anything other than reading messages and a list of channels.
  3. Invite the bot to the servers where it should work. You can invite the bot only to the server on which you have administrative privileges. Therefore, it is better to make the bot public (public bot),

Start the server

As separate application

dotnet NKDiscordChatWidget.dll -p 5050 -t "LONG_DISCORD_BOT_TOKEN"

Open the link http://127.0.0.1:5050/ in a browser (the port number is from the command line). Modify settings and pick the desired channel, copy the link to it into the "browser" plugin in your OBS.

As docker image

Your docker-compose.yml:

version: "3"
services:
    widget:
        build: .
        ports:
            - "5051:5050"
        environment:
            - DISCORD_BOT_TOKEN=NTXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXBI

Then:

docker-compose up -d

License

Licensed under the Apache License.

Emoji packs belong to Joypixels and Twitter.

About

Widget for Open Broadcaster and other streaming software

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published