Open DeBelg opened 1 year ago
@jinhojang6 could you take a look at this and see what options we have. Is there a Docusaurus plugin or shall we use libraries like react-jupiter?
@amirhouieh Sure thing, let me look into it
Recommended options for Python
Need to use .devcontainer
based on the guideline
The [Jupyter UI](https://github.com/datalayer/jupyter-ui) repository ships the needed .devcontainer folder to develop from [VS Code devcontainers](https://code.visualstudio.com/docs/devcontainers/containers).
Just click on the bottom-left blue icon in your VS Code and select Reopen in container...
Docusaurus example
yarn install &&
echo open http://localhost:3000/docs/intro && \
yarn start
<iframe
src="https://jupyterlite.github.io/demo/repl/index.html?kernel=python&toolbar=1"
width="100%"
height="500px"
>
</iframe>
Options for a wider range of environments and languages:
Additional research in progress
Recommended open source options for general environments
Other examples
Request regarding the Nomos blog site functionality.
They would like to be able to host their papers and include executable code from within these papers. Alexander gave me this reference: https://www.youtube.com/watch?v=EnJDt1VjgFY
Which I found newer and lightweight systems such as: https://blog.jupyter.org/jupyter-everywhere-f8151c2cc6e8 which would allow a static and embedded approach to this.
The main goal of this would be to allow within papers:
"Python code, which takes parameters, runs simulation, and outputs plots. This will allow the reader to explore parameter space relevant to their application."