{"id":23529654,"url":"https://github.com/jaid/deepbot-simulator","last_synced_at":"2025-05-14T12:30:16.728Z","repository":{"id":23848614,"uuid":"100001035","full_name":"Jaid/deepbot-simulator","owner":"Jaid","description":"Simulates the DeepBot API using a WebSocket as described on https://github.com/DeepBot-API/client-websocket","archived":false,"fork":false,"pushed_at":"2022-12-03T15:51:13.000Z","size":438,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-20T08:19:28.580Z","etag":null,"topics":["backend","cli","deepbot","deepbot-api","deepbot-server","deepbot-simulator","tool","websocket"],"latest_commit_sha":null,"homepage":"","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/Jaid.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}},"created_at":"2017-08-11T06:52:14.000Z","updated_at":"2023-02-16T02:26:26.000Z","dependencies_parsed_at":"2023-01-13T23:57:45.881Z","dependency_job_id":null,"html_url":"https://github.com/Jaid/deepbot-simulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fdeepbot-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fdeepbot-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fdeepbot-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fdeepbot-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaid","download_url":"https://codeload.github.com/Jaid/deepbot-simulator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254142024,"owners_count":22021447,"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":["backend","cli","deepbot","deepbot-api","deepbot-server","deepbot-simulator","tool","websocket"],"created_at":"2024-12-25T21:12:38.475Z","updated_at":"2025-05-14T12:30:16.706Z","avatar_url":"https://github.com/Jaid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deepbot-simulator\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/Jaid/deepbot-simulator.svg)](https://greenkeeper.io/)\n\nCommand line tool that simulates a [Deepbot API](https://github.com/DeepBot-API/client-websocket) using a local WebSocket.\n\n![Screenshot](http://i.imgur.com/UlHiRqx.png)\n\n:warning: This is not a completely accurate simulation of how Deepbot answers your API calls.  \nIt just imitates basic Deepbot functionality for testing your APIs.\n\n## Installation\n\nnpm\n```bash\nnpm install -g deepbot-simulator\n```\n\nYarn\n```bash\nyarn global add deepbot-simulator\n```\n\n## Running\n\n```bash\ndeepbot-simulator\n```\n\n```\n  Usage: deepbot-simulator [options]\n\n  Very basic WebSocket that simulates the Deepbot API\n\n\n  Options:\n\n    -k, --api-key [api-key]        API key used to give access\n    -p, --port [port]              Port the WebSocket listens to\n    -w, --no-color                 Port the WebSocket listens to\n    -n, --no-users                 Keep the initial user database empty\n    -a, --auth-all                 Automatically authenticate new clients\n    -r, --randomLatency [latency]  Add response latencies from 0 to [latency] ms\n    -e, --events                   Send random music and newsub events to API clients\n    -h, --help                     Output usage information\n```\n\n\n## Supported API calls\n\n- `api|register|{secret}`\n- `api|get_user|{user}`\n- `api|get_points|{user}`\n- `api|add_points|{user}|{points}`\n\nThe only user in the default database is `jaidchen`, so this is the testing procedure:\n\n```\napi|register|1234\napi|get_points|jaidchen\napi|add_points|jaidchen|322\napi|get_points|jaidchen\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaid%2Fdeepbot-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaid%2Fdeepbot-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaid%2Fdeepbot-simulator/lists"}