# Is there a sort of API with which we can run processing.py in a server?

**URL:** <https://discourse.processing.org/t/is-there-a-sort-of-api-with-which-we-can-run-processing-py-in-a-server/13020>\
**Category:** Processing.py\
**Created:** [July 28, 2019, 8:46am UTC](https://discourse.processing.org/t/is-there-a-sort-of-api-with-which-we-can-run-processing-py-in-a-server/13020 "2019-07-28T08:46:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)\
**Post date:** [July 28, 2019, 10:40am UTC](https://discourse.processing.org/t/is-there-a-sort-of-api-with-which-we-can-run-processing-py-in-a-server/13020/2 "2019-07-28T10:40:09Z")

</div>

I’m not familiar with CodeMirror, but it looks like creating the custom mode will be the easy part (it already appears to have a Python mode you could extend upon).

I’m guessing you’d like to create something like this?  
[https://trinket.io/processing](https://trinket.io/processing)

For ideas about running the code, check out this post:  
[https://discourse.processing.org/t/running-python-code-in-a-browser/236/6](https://discourse.processing.org/t/running-python-code-in-a-browser/236/6)

---

_[View the full topic](https://discourse.processing.org/t/is-there-a-sort-of-api-with-which-we-can-run-processing-py-in-a-server/13020)._
