{"id":26427165,"url":"https://github.com/c4llv07e/xtoys_bridge","last_synced_at":"2025-03-18T04:01:55.590Z","repository":{"id":274025300,"uuid":"921537475","full_name":"c4llv07e/xtoys_bridge","owner":"c4llv07e","description":"Xtoys to buttplug.io bridge for vibrators","archived":false,"fork":false,"pushed_at":"2025-01-24T11:42:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T12:28:11.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c4llv07e.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"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}},"created_at":"2025-01-24T06:12:08.000Z","updated_at":"2025-01-24T11:42:34.000Z","dependencies_parsed_at":"2025-01-24T12:38:51.945Z","dependency_job_id":null,"html_url":"https://github.com/c4llv07e/xtoys_bridge","commit_stats":null,"previous_names":["c4llv07e/xtoys_bridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4llv07e%2Fxtoys_bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4llv07e%2Fxtoys_bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4llv07e%2Fxtoys_bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4llv07e%2Fxtoys_bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c4llv07e","download_url":"https://codeload.github.com/c4llv07e/xtoys_bridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153510,"owners_count":20406999,"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":[],"created_at":"2025-03-18T04:00:52.933Z","updated_at":"2025-03-18T04:01:55.574Z","avatar_url":"https://github.com/c4llv07e.png","language":"JavaScript","funding_links":[],"categories":["Applications"],"sub_categories":["Utilities"],"readme":"# NSFW repo\n\n# Xtoys bridge\n\nUse xtoys's custom websocket/webhook toy to control buttplug.io vibrators.\n\n## Instruction\n\n### Websocket (only if you have public IP!)\n\n- Go to [custom toys list](https://xtoys.app/me/custom-toys/ ).\n\n- Press plus sign in the bottom-right corner.\n\n- Press \"Create a new websocket toy\".\n\n- Set `Websocket Info` to `ws://localhost:12346`.\n\n- Save.\n\n- Run this script with `node websocket.mjs`.\n\n- Enjoy!\n\n### Webhook (under NAT)\n\n- Go to [custom toys list](https://xtoys.app/me/custom-toys/ ).\n\n- Press plus sign in the bottom-right corner.\n\n- Press \"Create a new webhook toy\".\n\n- Press \"Generate websocket info\".\n\n- Run tihs script with `node webhook.mjs --addr \u003cwebsocket\u003e --token \u003ctoken\u003e`.\n  Replace `\u003cwebsocket\u003e` and `\u003ctoken\u003e` with values from webhook toy.\n\n- Enjoy!\n\n#### Little more info\n\nIf you want, you can pass this params with envrironment variables:\n`XTOYS_ADDR` and `XTOYS_TOKEN`;\n\nSave it into config `./config.txt` with content\n```toml\naddress=\u003cwebsocket\u003e\ntoken=\u003ctoken\u003e\n```\n\nOr just hardcode it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4llv07e%2Fxtoys_bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc4llv07e%2Fxtoys_bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4llv07e%2Fxtoys_bridge/lists"}