intiface-engine 4.0.0

CLI and Library frontend for the Buttplug sex toy control library
Documentation
# Intiface Engine

[![Patreon donate button](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/qdot)
[![Github donate button](https://img.shields.io/badge/github-donate-ff69b4.svg)](https://www.github.com/sponsors/qdot)
[![Discourse Forums](https://img.shields.io/discourse/status?label=buttplug.io%20forums&server=https%3A%2F%2Fdiscuss.buttplug.io)](https://discuss.buttplug.io)
[![Discord](https://img.shields.io/discord/353303527587708932.svg?logo=discord)](https://discord.buttplug.io)
[![bluesky](https://img.shields.io/bluesky/followers/buttplug.io)](https://bsky.app/profile/buttplug.io)

CLI and Library frontend for Buttplug

Intiface Engine is just a front-end for [Buttplug](https://github.com/buttplugio/buttplug),
but since we're trying to not make people install a program named "Buttplug", here we are.

While this program can be used standalone, it will mostly be featured as a backend/engine for
[Intiface Central](https://intiface.com/central).

## Running

Command line options are as follows:

| Option | Description |
| --------- | --------- |
| `version` | Print version and exit |
| `server-version` | Print version and exit (kept for legacy reasons) |
| `websocket-use-all-interfaces` | Websocket servers will listen on all interfaces (versus only on localhost, which is default) |
| `websocket-port [port]` | Network port for connecting via non-ssl (ws://) protocols |
| `websocket-client-address` | Address to connect to if using server-as-websocket-client mode | 
| `repeater` | Use repeater (proxy) mode instead of being an actual server |
| `repeater-port` | Port to list to for message proxy |
| `rest-api-port` | Function as a REST server, using the port specified |
| `frontend-websocket-port` | IPC JSON port for Intiface Central |
| `server-name` | Identifying name server should emit when asked for info |
| `device-config-file [file]` | Device configuration file to load (if omitted, uses internal) |
| `user-device-config-file [file]` | User device configuration file to load (if omitted, none used) |
| `max-ping-time [number]` | Milliseconds for ping time limit of server (if omitted, set to 0) |
| `log` | Level of logs to output by default (if omitted, set to None) |
| `use-bluetooth-le` | Use the Bluetooth LE Buttplug Device Communication Manager |
| `use-serial` | Use the Serial Port Buttplug Device Communication Manager |
| `use-hid` | Use the HID Buttplug Device Communication Manager |
| `use-lovense-dongle-hid` | Use the HID Lovense Dongle Buttplug Device Communication Manager |
| `use-xinput` | Use the XInput Buttplug Device Communication Manager |
| `use-lovense-connect` | Use the Lovense Connect Buttplug Device Communication Manager |
| `use-device-websocket-server` | Use the Device Websocket Server Buttplug Device Communication Manager |
| `device-websocket-server-port` | Port for the device websocket server |

For example, to run the server on websockets at port 12345 with bluetooth device support:

`intiface-engine --websocket-port 12345 --use-bluetooth-le`

## Compiling

Linux will have extra compilation dependency requirements for some device types. You will need your platform's equivalent of the following:

- libudev-dev
- libusb-1.0-0-dev
- libdbus-1-dev

## Filing Issues and Contributing

[See top level README for more info.](https://github.com/buttplugio/buttplug)

## License and Trademarks

Intiface is a Registered Trademark of Nonpolynomial Labs, LLC

Buttplug and Intiface are BSD licensed.

    Copyright (c) 2016-2026, Nonpolynomial Labs, LLC
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, this
      list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.

    * Neither the name of buttplug nor the names of its
      contributors may be used to endorse or promote products derived from
      this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.