{"id":27329530,"url":"https://github.com/brainboxdotcc/evalbot","last_synced_at":"2026-04-29T17:05:26.331Z","repository":{"id":103799202,"uuid":"457156409","full_name":"brainboxdotcc/evalbot","owner":"brainboxdotcc","description":"D++ Evaluator bot","archived":false,"fork":false,"pushed_at":"2023-10-25T10:37:13.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T00:11:09.337Z","etag":null,"topics":["bot","cpp","discord","discord-bot","dpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainboxdotcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-02-09T00:49:36.000Z","updated_at":"2024-04-25T00:11:09.338Z","dependencies_parsed_at":"2023-04-02T11:04:50.770Z","dependency_job_id":null,"html_url":"https://github.com/brainboxdotcc/evalbot","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/brainboxdotcc%2Fevalbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Fevalbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Fevalbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Fevalbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainboxdotcc","download_url":"https://codeload.github.com/brainboxdotcc/evalbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571865,"owners_count":21126520,"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":["bot","cpp","discord","discord-bot","dpp"],"created_at":"2025-04-12T12:55:41.996Z","updated_at":"2026-04-29T17:05:21.286Z","avatar_url":"https://github.com/brainboxdotcc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# D++ Eval Bot\n\nThis is a C++ code evaluation bot for experimenting with the [D++ library](https://dpp.dev). Please note that this bot is designed to be used only by the person who hosts the bot as it provides full unrestricted access to the server it runs on via compiled code within the bot's memory space.\n\nThis may be considered by some to be a vulnerability. In the right hands of a responsible developer this is a fantastic tool for experimenting with the Discord API and D++ library.\n\n## Compilation\n\nConfigure your user ID in the file `evalbot/eval.h` by changing the value of `MY_DEVELOPER`. Note this can only be changed by a recompile and restart. This is by design as a security measure.\n\n    mkdir build\n    cd build\n    cmake ..\n    make -j\n\nIf DPP is installed in a different location you can specify the root directory to look in while running cmake \n\n    cmake .. -DDPP_ROOT_DIR=\u003cyour-path\u003e\n\n## Running the bot\n\nCreate a config.json in the directory above the build directory:\n\n```json\n{\n\"token\": \"your bot token here\", \n\"homeserver\": \"server id of server where the bot should run\"\n}\n```\n\nYou should then make a folder called `tmp` within the build directory which will contain cached shared objects of compiled code from /eval commands.\n\nStart the bot:\n\n    cd build\n    ./evalbot\n\nUsing the bot:\n\nType `/eval` and enter code into the modal dialog box when prompted!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainboxdotcc%2Fevalbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainboxdotcc%2Fevalbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainboxdotcc%2Fevalbot/lists"}