# R16 Web App - Community Code Evaluation

**URL:** <https://racket.discourse.group/t/r16-web-app-community-code-evaluation/636>\
**Category:** Show & Tell\
**Created:** [January 30, 2022, 3:14pm UTC](https://racket.discourse.group/t/r16-web-app-community-code-evaluation/636 "2022-01-30T15:14:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eutro](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/eutro/32/2275_2.png) [@Eutro](https://racket.discourse.group/u/Eutro)\
**Post date:** [January 30, 2022, 3:14pm UTC](https://racket.discourse.group/t/r16-web-app-community-code-evaluation/636/1 "2022-01-30T15:14:04Z")

</div>

For people that don't know, [R16](https://sr.ht/~williewillus/r16/) is originally a Discord bot for interactive, community-driven code evaluation. It saves snippets of code, which can then be recalled and executed on user-provided input.

About six months ago we [separated r16's backend (evaluator and trick storage) from its Discord frontend](https://lists.sr.ht/~williewillus/public-inbox/%3C20210727180620.179714-1-benedek.szilvasy%40gmail.com%3E). This theoretically allows for new frontends to be created, for other chat protocols and whatnot.

I've started working on a new frontend for r16, an HTTP server. The patch can be found [here](https://lists.sr.ht/~williewillus/public-inbox/patches/28865) and my public instance of it can be found [here](https://r16.eutro.dev).

To demonstrate what it can do, here is the Mandelbrot set rendered with a trick:  
 ![Mandelbrot set](https://r16.eutro.dev/tricks/fractal?args=%28%2B+%28*+z+z%29+c%29)

And this shows the current server time: [eval](https://r16.eutro.dev/tricks/eval?args=%28current-seconds%29)

So come check it out and submit your own tricks!

---

<div class="post-metadata">

**Author:** ![spdegabrielle](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/spdegabrielle/32/95_2.png) [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Post date:** [January 30, 2022, 4:54pm UTC](https://racket.discourse.group/t/r16-web-app-community-code-evaluation/636/2 "2022-01-30T16:54:25Z")

</div>

Thank you @Eutro ! This looks awesome.

And thank you and the others who made R16 and host it for the Racket discord server - it has been a great resource to the community and is much appreciated.

![image](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/b0f41806607258cc17fcbc48df1de8d4b9ef32ec.png)

```scheme
!!rkt popular
**Most popular tricks in your guild (page 1 of 2):**
1. **fmt** , by <@sorawee>, invoked **126** x
2. **instant-tshirt** , by <@Alwinfy>, invoked **58** x
3. **expand** , by <@156785583723642881>, invoked **24** x
4. **racketdoc** , by <@156785583723642881>, invoked **17** x
5. **unwrap-code-input** , by <@rocketnia>, invoked **13** x
6. **echo** , by <@Eutro>, invoked **7** x
7. **intcode** , by <@Eutro>, invoked **4** x
8. **racketguide** , by <@156785583723642881>, invoked **3** x
9. **count** , by <@Alwinfy>, invoked **3** x
10. **emote-thief** , by <@Eutro>, invoked **3** x

```

[https://sr.ht/~williewillus/r16/](https://sr.ht/~williewillus/r16/)
