Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
ocelotslothO

ocelotsloth

@ocelotsloth
About
Posts
7
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Authentication support?
    ocelotslothO ocelotsloth

    First, this application works great from my testing.

    Is some kind of authentication in the roadmap for this app? For my use case I really can't have it open for anybody to create or join rooms. Just limiting who can create rooms would get me 80% of the way--requiring a secret to join an in-progress call would be even better.

    Thanks!

    Jitsi

  • Jupyter Notebook Support
    ocelotslothO ocelotsloth

    @girish ok merge request here: https://git.cloudron.io/cloudron/gitea-app/-/merge_requests/6

    This app install is running that code: https://testgitea.markstenglein.com/ocelotsloth/test/src/branch/master/test.ipynb

    Gitea

  • Jupyter Notebook Support
    ocelotslothO ocelotsloth

    I'd like to have jupyter notebook support baked into the container image shipped by Cloudron. I can get it working as-is, but I'd really prefer the jupyter python code be shipped in the read-only filesystem and also updated whenever the gitea app is updated.

    Gitea has some good docs on how to do this:

    https://docs.gitea.io/en-us/external-renderers/#installing-external-binaries

    I was able to get this working on my existing instance by:

    mkdir /app/data/python_packages
    cd /app/data/python_packages
    python3 -m virtualenv .
    source bin/activate
    pip3 install jupyter
    

    And then adding the following to my /app/data/app.ini file:

    [markup.jupyter]
    ENABLED = true
    FILE_EXTENSIONS = .ipynb
    RENDER_COMMAND = "/app/data/python_packages/bin/jupyter nbconvert --stdin --stdout --to html --template basic"
    IS_INPUT_FILE = false
    
    [markup.sanitizer.jupyter.img]
    ALLOW_DATA_URI_IMAGES = true
    

    I think all you'd have to add to the Dockerfile is something like:

    RUN pip3 install jupyter
    

    And then make the changes to the app.ini.template (without the path prefix on the render command, since it would be in the path now).


    I'd be happy to submit and test a pull request against the repository if that would be easiest.

    While at it...could probably also add pandoc so that we can add our own custom markup types for anything pandoc supports.

    Gitea
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search