https://github.com/c4llv07e/xtoys_bridge
Xtoys to buttplug.io bridge for vibrators
https://github.com/c4llv07e/xtoys_bridge
Last synced: 11 months ago
JSON representation
Xtoys to buttplug.io bridge for vibrators
- Host: GitHub
- URL: https://github.com/c4llv07e/xtoys_bridge
- Owner: c4llv07e
- License: mit
- Created: 2025-01-24T06:12:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-24T11:42:31.000Z (about 1 year ago)
- Last Synced: 2025-01-24T12:28:11.451Z (about 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-buttplug - XToys Bridge
README
# NSFW repo
# Xtoys bridge
Use xtoys's custom websocket/webhook toy to control buttplug.io vibrators.
## Instruction
### Websocket (only if you have public IP!)
- Go to [custom toys list](https://xtoys.app/me/custom-toys/ ).
- Press plus sign in the bottom-right corner.
- Press "Create a new websocket toy".
- Set `Websocket Info` to `ws://localhost:12346`.
- Save.
- Run this script with `node websocket.mjs`.
- Enjoy!
### Webhook (under NAT)
- Go to [custom toys list](https://xtoys.app/me/custom-toys/ ).
- Press plus sign in the bottom-right corner.
- Press "Create a new webhook toy".
- Press "Generate websocket info".
- Run tihs script with `node webhook.mjs --addr --token `.
Replace `` and `` with values from webhook toy.
- Enjoy!
#### Little more info
If you want, you can pass this params with envrironment variables:
`XTOYS_ADDR` and `XTOYS_TOKEN`;
Save it into config `./config.txt` with content
```toml
address=
token=
```
Or just hardcode it.