jupyterlab_templates
jupyterlab_templates copied to clipboard
Route to create notebook from template
Hi @timkpaine, we've been using the extension recently and loving it! Thanks for all the work creating this. I'm wondering how feasible it would be to add a new route to the server extension that would create a new notebook from an existing template, and open it in JupyterLab? The use case here would be an external page/web app that wants to get a user into JupyterLab with the templated notebook in one click, without requiring the user to click through the Launcher & modal, as is the case currently.
If you/we were to add code to the JS lab plugin to parse a query argument, you could make urls like http://<your_domain_here>/lab/?create_from_template=templatepath.ipynb&reset
do what you want I think. I.e. changes to the server extension might not be needed.
Thanks @vidartf for the input! (I was just pondering the server extension side as I saw existing routes there. Also as I'm far more familiar in python than javascript :))