kyrahabattoir / toywebbridge Goto Github PK
View Code? Open in Web Editor NEWA simple web bridge for https://buttplug.io/
License: Other
A simple web bridge for https://buttplug.io/
License: Other
I tried using the webinterface while the tool and intiface are running but i always get a 404
info: Microsoft.Hosting.Lifetime[0]
Now listening on: http://[::]:8008
info: ToyWebBridge.Services.WebsocketService[0]
Toy Web Bridge is starting.
warn: ToyWebBridge.Services.WebsocketService[0]
/!\ Web bridge SecretKey: t8HYEncTdJDjpbUc0asm /!\
info: ToyWebBridge.Services.WebsocketService[0]
Websocket url is: ws://localhost:12345/buttplug
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\blusc\Downloads\twb\ToyWebBridge
info: ToyWebBridge.Services.WebsocketService[0]
Connecting...
info: ToyWebBridge.Services.WebsocketService[0]
Connected to intiface!
info: ToyWebBridge.Services.WebsocketService[0]
Scanning for devices...
info: ToyWebBridge.Services.DeviceRegister[0]
New device detected
Buttplug (Satisfyer Rotator Plug 2+)
Update rate: 50ms
Power: 100%
C:\Windows\system32>curl -vvvvv "http://127.0.0.1:8008" -H "SecretKey: t8HYEncTdJDjpbUc0asm" -H "Connection: keep-alive"
* Trying 127.0.0.1:8008...
* Connected to 127.0.0.1 (127.0.0.1) port 8008 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:8008
> User-Agent: curl/7.83.1
> Accept: */*
> SecretKey: t8HYEncTdJDjpbUc0asm
> Connection: keep-alive
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Date: Sat, 29 Oct 2022 23:01:25 GMT
< Server: Kestrel
< Content-Length: 0
<
* Connection #0 to host 127.0.0.1 left intact
the program need version '3.1.0' of dotnet there is a way to use the new one?
Not sure what's the problem but seem to catch this whenever my toy (MagicMotion Solstice) is available for connection.
info: ToyWebBridge.Services.WebsocketService[0]
Scanning for devices...
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at ToyWebBridge.Services.DeviceRegister.OnDeviceAdded(ButtplugClientDevice device) in D:\Downloads\ToyWebBridge-master\Services\DeviceRegister.cs:line 49
at ToyWebBridge.Services.WebsocketService.<StartAsync>b__10_0(Object source, DeviceAddedEventArgs args) in D:\Downloads\ToyWebBridge-master\Services\WebsocketService.cs:line 47
at Buttplug.ButtplugClient.SorterCallback(UIntPtr buf, Int32 buf_length)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.