{"id":21830477,"url":"https://github.com/brainboxdotcc/sporks","last_synced_at":"2025-04-12T12:55:44.258Z","repository":{"id":52680908,"uuid":"217517334","full_name":"brainboxdotcc/sporks","owner":"brainboxdotcc","description":"The source code repository for Sporks, the learning, backchatting, scriptable discord bot!","archived":false,"fork":false,"pushed_at":"2024-06-12T01:24:55.000Z","size":129304,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-12T08:47:39.661Z","etag":null,"topics":["bot","c-plus-plus-17","chatbot","cpp","database","discord","discord-bot","discord-bots","dpp","duktape","infobot","javascript","linux","sporks"],"latest_commit_sha":null,"homepage":"https://sporks.gg/","language":"C","has_issues":false,"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":".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},"funding":{"patreon":"brainboxdotcc"}},"created_at":"2019-10-25T11:16:34.000Z","updated_at":"2024-06-12T01:24:59.000Z","dependencies_parsed_at":"2022-08-21T15:40:29.822Z","dependency_job_id":null,"html_url":"https://github.com/brainboxdotcc/sporks","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Fsporks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Fsporks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Fsporks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Fsporks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainboxdotcc","download_url":"https://codeload.github.com/brainboxdotcc/sporks/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","c-plus-plus-17","chatbot","cpp","database","discord","discord-bot","discord-bots","dpp","duktape","infobot","javascript","linux","sporks"],"created_at":"2024-11-27T19:01:14.654Z","updated_at":"2025-04-12T12:55:44.237Z","avatar_url":"https://github.com/brainboxdotcc.png","language":"C","funding_links":["https://patreon.com/brainboxdotcc"],"categories":["C"],"sub_categories":[],"readme":"# Sporks, the backchatting, learning, scriptable discord bot\nThis github project contains the source code for Sporks, the learning, scriptable Discord chat bot, written in C++ using the D++ library.\nRemember you can still find my original perl/botnix version of Sporks on IRC at irc.chatspike.net!\n\n## Project and System status\n\n![Discord](https://img.shields.io/discord/537746810471448576?label=discord) ![CircleCI](https://img.shields.io/circleci/build/github/brainboxdotcc/sporks/master) ![Dashboard](https://img.shields.io/website?down_color=red\u0026label=dashboard\u0026url=https%3A%2F%2Fsporks.gg)\n\n[Service Status](https://status.sporks.gg)\n\n## Listing Badges\n\n[![Discord Bots](https://top.gg/api/widget/630730262765895680.svg)](https://top.gg/bot/630730262765895680)\n![Discord Boats](https://discord.boats/api/widget/630730262765895680) \n![DiscordBotList](https://discordbotlist.com/bots/630730262765895680/widget) [![Bots for Discord](https://botsfordiscord.com/api/bot/630730262765895680/widget)](https://botsfordiscord.com/bots/630730262765895680)\n\n## Supported Platforms\n\nCurrently only Linux is supported, but other UNIX-style platforms should build and run the bot fine. I build the bot under Debian Linux.\n\n## Dependencies\n\n* [cmake](https://cmake.org/) (version 3.13+)\n* [g++](https://gcc.gnu.org) (version 8+)\n* [D++](https://github.com/brainboxdotcc/DPP) (master branch)\n* [nlohmann::json](https://github.com/nlohmann/json) (included with D++)\n* [duktape](https://github.com/svaarala/duktape) (master branch)\n* [PCRE](https://www.pcre.org/) (whichever -dev package comes with your OS)\n* [MySQL Client Libraries](https://dev.mysql.com/downloads/c-api/) (whichever -dev package comes with your OS)\n \n## Building\n\n    mkdir build\n    cmake ..\n    make -j8\n    \nReplace the number after -j with a number suitable for your setup, usually the same as the number of cores on your machine.\n\n## Database\n\nYou should have a database configured with the mysql schemas from the mysql-schemas directory. use mysqlimport to import this.\n\n## Configuration\n\nEdit the config-example.json file and save it as config.json. The configuration variables in the file should be self explainatory.\n\n## Running\n\n    cd my-bot-dir\n    ./run.sh\n\nrun.sh will restart the bot executable continually if it dies. \n\n## Command line parameters\n\n    ./bot [--dev|--test] [--members]\n\n| Argument        | Meaning                                                |\n| --------------- |------------------------------------------------------- |\n| --dev           | Run using the development token in the config file. Mutually exclusive with ``--test``     |\n| --test          | Run using the live token in the config file, but squelch all outbound messages unless they originate from the test server (also defined in the config file)  |\n| --members       | Send a GUILD_MEMBERS intent when identifying to the discord gateway |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainboxdotcc%2Fsporks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainboxdotcc%2Fsporks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainboxdotcc%2Fsporks/lists"}