Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code-server (jupyter-vscode-proxy) to JupyterHub? #5716

Closed
cboettig opened this issue May 6, 2024 · 4 comments · Fixed by #5745
Closed

Add code-server (jupyter-vscode-proxy) to JupyterHub? #5716

cboettig opened this issue May 6, 2024 · 4 comments · Fixed by #5745
Assignees
Labels

Comments

@cboettig
Copy link

cboettig commented May 6, 2024

Summary

VSCode (code-server) interface is a popular and feature-rich IDE that already integrates nicely with Jupyterlab via jupyter-vscode-proxy

User Stories

  • Lots of users know or use VSCode.
  • Code server handles additional proxy ports nicely. e.g. streamlit run app.py we get a pop-up linking us to our new port, and a handy 'ports' tab to manage ports.
  • Code server packages integration with GitHub device authentication automatically.
  • Code server has a rich library of extensions and cross-language support.

Acceptance criteria

When VSCode shows up in the launcher!

image

Important information

Tasks to complete

  • install the python package jupyter-vscode-proxy
@balajialg
Copy link
Contributor

balajialg commented May 6, 2024

@cboettig I am assuming this request is for https://datahub.berkeley.edu/? Is there a specific deadline for completing this request?

FYI, you can launch VSCode in EECS Hub

@cboettig
Copy link
Author

cboettig commented May 6, 2024

@balajialg sorry yes! for https://datahub.berkeley.edu/. This would be for Fall (2024) semester!

@shaneknapp

This comment was marked as resolved.

@shaneknapp shaneknapp reopened this May 21, 2024
@cboettig
Copy link
Author

Works beautifully, thanks!

side note related to #5513 -- from code-server, if we do git clone on a github repo, code-server automatically launches GitHub plugin and does device authentication similar to gh-scoped-creds. It has different defaults, notably, it requests scopes that give it access to all a users organizations, probably not ideal, and I have no idea how long the temporary credential persists for. On the plus side, the UI/UX experience is quite solid, prompts you with pop-up, auto-copies the device login code. if you refuse auth this way, it falls back on the usual interface prompting for user name and password. reasonably smooth!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants