Comments (5)
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.
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.
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.
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.
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:
...rather than the blank <Edit User>
template:
Would that be possible without using workspaces which seems a bit of a heavyweight solution to the problem.
from jupyterlab-github.
Related Issues (20)
- ValueError: The extension does not support current version od JupyterLab HOT 1
- Add Copy & Paste for files and directories HOT 4
- Ability to enter notebook URL (Enhancement)
- RuntimeError: npm dependencies failed to install
- Extension shows a subset of repos owned by a user HOT 1
- jupyterlab-sql is outdated
- Cannot see private repositories. HOT 1
- ValueError: The extension "@jupyterlab/github" does not yet support the current version of JupyterLab. HOT 4
- Can the license file be packaged in? HOT 2
- I can't search the repositories HOT 1
- migrate github extension to run with jupyterlab 4 HOT 1
- Rename the default branch to `main` HOT 2
- Add releaser tokens to the repo HOT 9
- Missing icons and styling issues in version 4
- Cannot open `directory` because it is a submodule' HOT 2
- Config option `client_id` not recognized by `GitHubConfig` HOT 5
- JupyterLab failed to build Error: Cannot find module './_baseValues' HOT 1
- Github deprecation notice HOT 5
- RuntimeError: JupyterLab failed to build HOT 5
- [GitHub] Deprecation Notice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-github.