{"id":25757810,"url":"https://github.com/irismessage/snakeboxed","last_synced_at":"2026-05-12T22:39:25.326Z","repository":{"id":114664323,"uuid":"419818414","full_name":"irismessage/snakeboxed","owner":"irismessage","description":"The public bot for learning Python together on Discord.","archived":false,"fork":false,"pushed_at":"2024-04-05T10:09:37.000Z","size":3233,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T16:45:27.667Z","etag":null,"topics":["bot","discord"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irismessage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-10-21T17:32:29.000Z","updated_at":"2022-06-25T18:21:51.000Z","dependencies_parsed_at":"2024-04-05T10:53:52.966Z","dependency_job_id":null,"html_url":"https://github.com/irismessage/snakeboxed","commit_stats":null,"previous_names":["irismessage/snakeboxed"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/irismessage/snakeboxed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irismessage%2Fsnakeboxed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irismessage%2Fsnakeboxed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irismessage%2Fsnakeboxed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irismessage%2Fsnakeboxed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irismessage","download_url":"https://codeload.github.com/irismessage/snakeboxed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irismessage%2Fsnakeboxed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32960295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","discord"],"created_at":"2025-02-26T16:33:02.389Z","updated_at":"2026-05-12T22:39:25.297Z","avatar_url":"https://github.com/irismessage.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snakeboxed\nThe public bot for learning Python together on Discord.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"256\" height=\"256\" alt=\"Snakeboxed logo, the Python Discord logo hovering out of a clipart cardboard box.\" src=\"https://github.com/JMcB17/snakeboxed/blob/main/assets/logo-1024.png\"\u003e\n\u003c/p\u003e\n\n## Features\n- Run code and get the results all in Discord\n    - Results as embedded Discord text file\n    - Accepts python files as input\n- Links to Python resources\n- Written in Python and released as free software, so you can learn from the source code\n\nWork-in-progress features:\n- Search the documentation for Python and Python libraries in Discord\n- Accept message references as eval input\n\n## Use Snakeboxed\n\nThe default command prefix is `?`.    \nTo start, try `?help`. It has all the up-to-date information about using the bot.    \nThe most important command is `?eval`.\n\n`?eval` example:\n```\n?eval\nprint('hello world')\n```\n\n![eval example](https://github.com/JMcB17/snakeboxed/blob/main/assets/eval-example.png)\n\n## Get Snakeboxed\n\n### Add the public instance of the bot\nhttps://discord.com/oauth2/authorize?client_id=900808633472933978\u0026scope=bot\u0026permissions=44096\n\n### Self-host\nRequires a snekbox server to self-host. Snekbox uses docker.\n\n1. Run the snekbox server: `docker run --ipc=none --privileged -p 8060:8060 ghcr.io/python-discord/snekbox`\n2. Clone the bot code: `git clone https://github.com/JMcB17/snakeboxed` `cd snakeboxed`\n3. Dependencies    \n3.1. (Optional) Create a separate install environment for the bot's dependencies, to keep things tidy: https://docs.python.org/3/tutorial/venv.html    \n3.2. Install the bot's dependencies: `python3 -m pip install -r requirements.txt` \n4. Create a configuration file from the template: `cp config.template.toml config.toml`\n5. Create a new Discord bot account and get its login token: https://discordpy.readthedocs.io/en/stable/discord.html\n6. Fill in the login token in config.toml\n7. You're good to go! Run the bot with `python3 bot.py`.\n\n## Credits\nAs with any programming, most of the work was done for me.\n\nSnekbox:    \nhttps://github.com/python-discord/snekbox    \nCode taken from python-discord/bot under the [Expat License/MIT License](https://github.com/JMcB17/snakeboxed/blob/main/LICENSE-THIRD-PARTY):    \nhttps://github.com/python-discord/bot    \nhttps://github.com/python-discord/bot/blob/main/bot/exts/utils/snekbox.py\n\nSomeone made a bot something like this already, but I like developing my own stuff, and mine strips out the structure of the python-discord bot more, and has simple self-hosting as well as a public instance you can use.    \nhttps://github.com/HassanAbouelela/evalbot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firismessage%2Fsnakeboxed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firismessage%2Fsnakeboxed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firismessage%2Fsnakeboxed/lists"}