Code Monkey home page Code Monkey logo

r16's Introduction

r16

R16 is a bot for interactive, community-driven code evaluation. It saves snippets of code, which can then be recalled and executed on user-provided input.

Please see the documentation for details.

History

The concept of a "trick bot" is not new. The authors were introduced to it by K9, a similar Discord bot written in Clojure.

Despite the authors being avid Clojure fans, K9 had several known security problems due to leaky sandboxing in the libraries it used. On the other hand, Racket's sandboxing utilities are much more tightly integrated into the runtime environment. Additionally, the standard Racket installation comes with many more convenient libraries trick authors might want to use.

Thus, R16 was born.

Name

The R16 name is simply the name "K9", but with "K" shifted to "R" (for "Racket") and the "9" shifted by the same number to "16".

Usage

  1. Clone this repository
  2. raco pkg install --user --auto --type dir <clone directory>
  3. Initialize a config file (see the docs)
  4. racket <clone_dir>/main.rkt -c config.json

Alternatively, you can raco pkg install r16 and run the bot from the install directory, using raco pkg update to update.

NOTE: Currently privilege checking is broken (racket-cord bug). Therefore, tricks will only be deletable by their creators (unless you edit the save data manually).

r16's People

Contributors

williewillus avatar alwinfy avatar eutro avatar nan0scho1ar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.