{"id":13780084,"url":"https://github.com/buttplugio/buttplug-csharp","last_synced_at":"2025-04-06T00:06:45.862Z","repository":{"id":73625828,"uuid":"89318312","full_name":"buttplugio/buttplug-csharp","owner":"buttplugio","description":"Buttplug C# Client Implementation","archived":false,"fork":false,"pushed_at":"2025-03-03T00:29:32.000Z","size":4487,"stargazers_count":93,"open_issues_count":12,"forks_count":33,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-29T23:07:20.711Z","etag":null,"topics":["hardware","sex","sex-toys","teledildonics"],"latest_commit_sha":null,"homepage":"https://buttplug.io","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buttplugio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"qdot","patreon":"qdot","ko_fi":"qdot76367"}},"created_at":"2017-04-25T04:43:54.000Z","updated_at":"2025-03-15T04:32:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9b3c5fa-1246-40d7-8922-9f91c460a425","html_url":"https://github.com/buttplugio/buttplug-csharp","commit_stats":null,"previous_names":["metafetish/buttplug-csharp"],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttplugio%2Fbuttplug-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttplugio%2Fbuttplug-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttplugio%2Fbuttplug-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttplugio%2Fbuttplug-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buttplugio","download_url":"https://codeload.github.com/buttplugio/buttplug-csharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415967,"owners_count":20935388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hardware","sex","sex-toys","teledildonics"],"created_at":"2024-08-03T18:01:12.180Z","updated_at":"2025-04-06T00:06:45.844Z","avatar_url":"https://github.com/buttplugio.png","language":"C#","readme":"# Buttplug C# - Client Only Implementation\n\n[![Patreon donate button](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/qdot)\n[![Github donate button](https://img.shields.io/badge/github-donate-ff69b4.svg)](https://www.github.com/sponsors/qdot)\n[![Discourse Forums](https://img.shields.io/discourse/status?label=buttplug.io%20forums\u0026server=https%3A%2F%2Fdiscuss.buttplug.io)](https://discuss.buttplug.io)\n[![Discord](https://img.shields.io/discord/353303527587708932.svg?logo=discord)](https://discord.buttplug.io)\n[![Twitter](https://img.shields.io/twitter/follow/buttplugio.svg?style=social\u0026logo=twitter)](https://twitter.com/buttplugio)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\n    \u003ca href=\"https://buttplug-csharp.docs.buttplug.io\"\u003e\n      C# API Docs\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://docs.buttplug.io/docs/spec\"\u003e\n      Protocol Spec\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://docs.buttplug.io/docs/dev-guide\"\u003e\n      Developer Guide\n    \u003c/a\u003e\n    \u003c/h3\u003e\n  \u003c/div\u003e\n  \u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\n    \u003ca href=\"https://how.do.i.get.buttplug.in\"\u003e\n      User FAQ\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://awesome.buttplug.io\"\u003e\n      Apps/Games Using Buttplug\n    \u003c/a\u003e\n  \u003c/h3\u003e\n\u003c/div\u003e\n\nThis repo houses are pure .Net version of the Buttplug C# Client, runnings the Version 3 Buttplug Spec. It is expected to run against either [Intiface Central (GUI)](https://intiface.com/central) or [Initface Engine (CLI)](https://github.com/intiface/intiface-engine). No Rust FFI bindings are required.\n\n## What happened? Why is buttplug-csharp back?\n\nFor those of you that have been around a while, you may remember that this used to be the main C# implementation. From 2017 to 2020, it was the reference version of the Buttplug Intimate Haptics Control Standard. \n\nThen I rewrote everything in Rust because I like Rust more and it's far easier for me to port across platforms. This repo was archived ~2 years ago in preference to seating the C# client *and* server on top of the [Rust implementation of Buttplug](https://github.com/buttplugio/buttplug), as part of the [Rust FFI Project](https://github.com/buttplugio/buttplug-rs-ffi).\n\nThat project ended up being a partial failure.\n\nWhile the FFI system is handy for languages where it is very difficult to rebuild some parts of the library (C/C++/Java/etc...), for managed langauges like Javascript and C#, requiring both the client and server to use the FFI was overkill, and caused many extremely difficult-to-debug issues. With that in mind, the C# implementation is being turned into a Client only, .Net native implementation that should run on all platforms.\n\n**The embedded server/connector is no longer built for C#.** It's too difficult for me to keep the package up for all of the needed architectures, and debugging it was hell. For now, I'm recommending developers point their users at [Intiface Central](https://intiface.com/central) as a hub application. If you have a reason for needing an embedded server in C#, leave an issue on this repo and we can discuss.\n\n## Documentation and Examples\n\nAPI Documentation is available at [https://buttplug-csharp.docs.buttplug.io].\n\nC# Usage Examples are available in the [Buttplug Developer Guide](https://docs.buttplug.io/docs/dev-guide), with source code and VS projects in the [Dev Guide Repo](https://github.com/buttplugio/docs.buttplug.io/tree/master/examples/csharp).\n\n## Didn't ManagedButtplugIo already do this?\n\n[ManagedButtplugIo](https://github.com/Er1807/ManagedButtplugIo/) is a community produced, .Net native version of the Buttplug C# API, modeled off the FFI (which itself was modeled off of the original C# API). It's been helping the community along while the C# FFI implementation went off a cliff.\n\nThey did a very good job and I'm very appreicative of it (and I've used it in some of my own projects)!\n\nThe main reason I'm still keeping up my own C# client is that this is a big part of a LOT of the systems I maintain, like the Unity plugin. As part of how I fund this project is consulting on those, I need an implementation I'm responsible for. That said, this doesn't have to be the *only* implementation, and I'll still be keeping all imeplementations listed both in this README and on our [Awesome List](https://awesome.buttplug.io)\n\n## Nuget and Packages\n\nAs of v3.1.0, Buttplug is now a single package. Websocket connectors have been moved to System.Net.Websockets and are now included with the base library.\n\n- [Buttplug](https://www.nuget.org/packages/Buttplug/) - The Client Implemenation. Only dependency\n  is NewtonsonJSON and Microsoft.CSharp 4.7\n\n## Contributing\n\nIf you have issues or feature requests, [please feel free to file an issue on this repo](issues/).\n\nWe are not looking for code contributions or pull requests at this time, and will not accept pull\nrequests that do not have a matching issue where the matter was previously discussed. Pull requests\nshould only be submitted after talking to [qdot](https://github.com/qdot) via issues on this repo\n(or on [discourse](https://discuss.buttplug.io) or [discord](https://discord.buttplug.io) if you\nwould like to stay anonymous and out of recorded info on the repo) before submitting PRs. Random PRs\nwithout matching issues and discussion are likely to be closed without merging. and receiving\napproval to develop code based on an issue. Any random or non-issue pull requests will most likely\nbe closed without merging.\n\nIf you'd like to contribute in a non-technical way, we need money to keep up with supporting the\nlatest and greatest hardware. We have multiple ways to donate!\n\n- [Patreon](https://patreon.com/qdot)\n- [Github Sponsors](https://github.com/sponsors/qdot)\n- [Ko-Fi](https://ko-fi.com/qdot76367)\n\n## License\n\nThis project is BSD 3-Clause licensed.\n\n```text\n\nCopyright (c) 2016-2024, Nonpolynomial, LLC\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of buttplug nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n```","funding_links":["https://github.com/sponsors/qdot","https://patreon.com/qdot","https://ko-fi.com/qdot76367","https://www.patreon.com/qdot","https://www.github.com/sponsors/qdot"],"categories":["Development and Libraries"],"sub_categories":["General Development"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttplugio%2Fbuttplug-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuttplugio%2Fbuttplug-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttplugio%2Fbuttplug-csharp/lists"}