Jupyter(IPython) notebooks rendering

ajeandet's Avatar


12 Jan, 2016 02:12 PM


It would be nice to render Jupyter Notebooks like in github with rhodecode.

Best regards,

  1. 1 Posted by Arnaud GUT on 12 Jan, 2016 02:40 PM

    Arnaud GUT's Avatar

    To study but a priori +1.

  2. Support Staff 2 Posted by Marcin Kuzminsk... on 12 Jan, 2016 02:49 PM

    Marcin Kuzminski's Avatar

    Hi Alexis,

    Thanks for the proposal, i believe Github is using https://nbviewer.jupyter.org/ to do so. It looks like an opensource project, i'm sure we could somehow embed it and implement this.


  3. 3 Posted by ajeandet on 12 Jan, 2016 06:26 PM

    ajeandet's Avatar

    From what I understand here:http://blog.jupyter.org/2015/05/07/rendering-notebooks-on-github/ they don't use nbviewer for direct rendering on github, nbviewer can access to github with its API. I don't know if their notebook render is open or not. This feature would really improve our daily work and others academic users at least.

    Best regards,

  4. 4 Posted by ajeandet on 21 May, 2016 08:04 PM

    ajeandet's Avatar

    Hi Marcin,

    Any news on this?
    Is it possible to add custom renderer on Rhodecode based on file extension? If yes could you point me to some Rhodecode API doc?
    Indeed it would be nice to add custom renderers, for example for Jupyter Notebooks and also in our case it would be really nice also with Kicad files. In fact any non code/text file would be nicer.

    Best regards,

  5. Support Staff 5 Posted by Marcin Kuzminsk... on 25 May, 2016 08:16 AM

    Marcin Kuzminski's Avatar


    I'm happy to announce that RhodeCode is back to open source :) Alexis, if you know python feel free to checkout our 4.0.0 release at https://code.rhodecode.com/rhodecode-enterprise-ce, and start hacking.


  6. 6 Posted by ajeandet on 25 May, 2016 09:19 AM

    ajeandet's Avatar

    Nice! I will definitely look into the code.

  7. 7 Posted by ajeandet on 17 Feb, 2017 09:08 PM

    ajeandet's Avatar


    I'm back on this feature, I'm too far from web technologies. Reading the code isn't easy for me, I've no idea what does what.
    But at least I can say that converting any ipynb file to an html file is easy with nbconvert:

    nbconvert --to html notebook.ipynb

    This will produce a file called notebook.html, from what I understand, displaying this file might be done in one iframe.

    The few things I don't get:

    • does it require a lot of code to issue nbconvert command on ipynb file and embed the result in the produced page?
    • jupyter project focus on Python 3 support now, and so nbconvert might only be available for Python 3, is it a problem for rhodecode?
    • Is it possible to make this universal in somehow, allowing user to set converters based on file extensions. For example one may be able to add a converter for kicad PCB files with something like for files matching "*.kicad_pcb" call "some_converter --with-args"

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


17 Oct, 2018 03:22 PM
15 Oct, 2018 05:20 AM
03 Oct, 2018 01:16 PM
01 Oct, 2018 08:41 AM
28 Sep, 2018 10:12 AM
26 Sep, 2018 04:34 AM