JacobCoffee / byte

The Discord bot built for developers
https://docs.byte-bot.app/
MIT License
5 stars 2 forks source link

Enhancement: Secure inspection and evaluation of arbitrary code #76

Open JacobCoffee opened 6 months ago

JacobCoffee commented 6 months ago

Summary

Utilize a service like Piston to provide the capabilities of running/formatting/evaluating arbitrary code snippets via slash commands or app commands.

Basic Example

Drawbacks and Impact

On the topic of "Why Piston?": The only other viable option I have found is https://github.com/python-discord/snekbox but it is limited to Python code. Piston allows for all desired languages (Rust, Swift, Python, etc.) and a lot more

Unresolved questions

No response


[!NOTE]
We utilize Polar.sh to engage in regular as well as pledge-based > sponsorship.

Check out all issues funded or available for funding on our Polar.sh dashboard

  • If you would like to see an issue prioritized, make a pledge towards it!
  • We receive the pledge once the issue is completed & verified
  • This, along with engagement in the community, helps us know which features are a priority to our users.

Fund with Polar