Giter VIP home page Giter VIP logo

Comments (5)

ian-r-rose avatar ian-r-rose commented on June 1, 2024

Hi @jhgoebbert, it should be possible to do this using the new (still experimental) workspaces feature in JupyterLab, which is still under-documented.

Briefly, you would manually go to a particular set of notebooks on GitHub, and configure the main work area in the way you want. Then, navigate the URL to /lab/workspaces/yourworkspacenamehere. This will cache the configuration to ~/.jupyter/lab/workspaces on your filesystem. That workspace file can be used to seed a new instance of a JupyterHub user.

I don't think it will be easy to override the behavior of the "Home" button, since that is meant to be the repository root, and logic for that is pretty baked into the file browser.

from jupyterlab-github.

jhgoebbert avatar jhgoebbert commented on June 1, 2024

Hi Ian,

perfekt ... generating the workspace-file works great!
Now, how would I have to start jupyterlab to have this workspace-file (moved to a global position on the system) been used?

Can it be added as an argument to the "jupyter lab ..." command?

Best,
Jens Henrik

from jupyterlab-github.

ian-r-rose avatar ian-r-rose commented on June 1, 2024

I have not experimented with the much myself, but I believe that you can place the workspace file in the users ~/.jupyter/lab/workspaces upon image creation time, and then send them to the same workspaces URL as above when they launch lab. That is, their default URL would be lab/workspaces/yourworkspacename.

from jupyterlab-github.

jhgoebbert avatar jhgoebbert commented on June 1, 2024

Ahh ... I see.
Best would be if the jupyter command would be able to copying global setting to the user local config files. If not I will see if we add this to the spawner.
Thanks for your help!

from jupyterlab-github.

dhirschfeld avatar dhirschfeld commented on June 1, 2024

For myself, I'd just like to be able to configure a default_user so that when a user first opens the GitHub Tab they're greeted with a listing of the LearnPython organisation:

image

...rather than the blank <Edit User> template:

image

Would that be possible without using workspaces which seems a bit of a heavyweight solution to the problem.

from jupyterlab-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.