jupyterhub / jupyterhub/nbgitpuller
Run custom code on launch
- Dominant language
- Python
- Stars
- 237
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to run custom code when an nbgitpuller link is followed?
I am using nbgitpuller together with LTI authentication. When a user follows an nbgitpuller link to open a notebook, I want to save the LTI parameters and the notebook path into a database. Then the user can later submit the notebook for grading, and it will report back the score to the correct LTI course. It would be great if there would be some kind of hook or callback that my server extension can use.
Alternatively, I could create a new endpoint that redirects to nbgitpuller, and parse the parameters myself, but that seems messy.
If you think such a hook would be useful, I could try to implement it myself and contribute it! But since I'm new to Jupyter, I'd need a bit of guidance on the best way to do so.
Contributor guide
Assessment
This issue has not been assessed yet.