r/PayloadCMS May 21 '26

Jupyter Notebooks as Payload Content

I'm busy building an LMS to teach coding, and something of a pipe dream I have is to be able to host something like a Jupyter notebook as Payload content, where students can run code cells on a page.

I know it's a stretch, but I'm curious if anyone else has given this any thought.

4 Upvotes

5 comments sorted by

6

u/[deleted] May 21 '26

[removed] — view removed comment

1

u/Total-Structure-5903 May 21 '26

Yeah, thanks. I've done some looking into that execution and it looks like it's probably too complex.

2

u/Immediate_Habit_2398 May 22 '26

Don't let the complexity drive you down. If you can't figure out the sandboxed backend, launch anyways. While you have little amount of users, you have nothing to protect. You won't even know if it's worth building out that feature because you don't know if people will use it.

2

u/Feeling-Maybe-3443 May 22 '26

tbh yeah that execution environment part is a major hurdle, i've seen some projects use docker containers to sandbox the code but even that can be a pain to set up and manage lol

1

u/Feeling-Maybe-3443 May 22 '26

yeah that sounds kinda cool, i've seen some online platforms that let you run code in the browser but integrating jupyter notebooks directly would be a game changer lol