Skip to content

MarvNC/discord-websocket-text-inserter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Discord Websocket Text Inserter

This is a simple userscript that allows you to receive text from a websocket and send it to the current Discord channel. This is useful for group reading VNs or watching anime with friends where everyone can look up the words in real time by using Yomitan through a browser.

Usage

  • Get textractor_websocket for VNs or mpv_websocket for anime and set it up.
  • Install Violentmonkey for your browser.
  • Install the script by clicking here.
  • Get your Discord token by following this guide.
  • Go to the Discord channel where you want to send the text in your browser.
  • Use the script through the userscript manager's popup menu as shown below.

image

Warning

This interacts with the Discord API and could be considered as usage of a third party client/selfbotting. Use an alt account if this concerns you.

Notes

  • There is a ratelimit built in to lessen the likelihood of hitting the Discord message ratelimit. Because of this, you may notice a delay between the text being sent to the websocket and it appearing in Discord.
  • Due to the content security policy, there is no way to use a websocket that is not on 127.0.0.1.
  • The recommended websocket extensions use the port 6677 by default, but if your websocket is on a different port, you can change it through the menu.

About

Userscript to send text from a websocket to a Discord chat.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published