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

Feature request: Launch server from CLI #4791

Open
blackliner opened this issue Apr 17, 2024 · 2 comments
Open

Feature request: Launch server from CLI #4791

blackliner opened this issue Apr 17, 2024 · 2 comments

Comments

@blackliner
Copy link

Proposed change

I would like to be able to run a command inside a client terminal and start the jupyterhub server.

Who would use this feature?

Developers as well as automation can utilize this feature to spin up a server on-demand

(Optional): Suggest a solution

Provide an API plus a CLI to spin up servers

Copy link

welcome bot commented Apr 17, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@minrk
Copy link
Member

minrk commented Apr 18, 2024

We do have an extensive API covering everything needed for this.

For example, starting a server is:

curl -H "Authorization: Bearer $JUPYTERHUB_API_TOKEN" -X POST https://hub.example.org/hub/api/users/$USER/servers/

I don't think maintaining a CLI is in-scope at the moment. But there is this jupyterhub Python client generated from our OpenAPI spec, which you might use.

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

No branches or pull requests

2 participants