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

nbviewer : render git repository served by webgit #302

Open
epifanio opened this issue Jun 19, 2014 · 3 comments
Open

nbviewer : render git repository served by webgit #302

epifanio opened this issue Jun 19, 2014 · 3 comments
Labels
tag:Provider Related to a notebook provider type:Enhancement A proposed extension to the behavior of the project

Comments

@epifanio
Copy link

Will be a nice enanchment in nbviewer to have the capabilities to render ipython notebooks from a directory stored in a “non github” git repository.
The same way how it now works with github repositories.

The official webviewer provided by GIT is gitweb, I temporary added the notebook examples available here

Nbviewer works great using the text input box in nbviewer to point to the notebook url, e.g. :

but it doesn’t work if i try to :

http://nbviewer.ipython.org/url/webgit.epinux.com/?p=project.git;a=blob_plain;f=notebook/Basic Output.ipynb;hb=HEAD

@minrk
Copy link
Member

minrk commented Jun 19, 2014

Listing is all implemented via the GitHub REST API. Does gitweb offer an API for listing trees, etc? If not, then I don't think there's any reasonable way to support it.

@epifanio
Copy link
Author

For what i know webgit doesn't offer such kind of API.
What's the response that nbviewer is expecting when the url used as input point to a directory ?
If make sense, i can try to build a small web-app that try to mimic the github restuffull api, does it make sense ?

@minrk
Copy link
Member

minrk commented Jun 21, 2014

We expect this API. If gitweb doesn't have its own API, then I don't think it makes sense to add a GitHub-mimicking service.

@bollwyvl bollwyvl added tag:Provider Related to a notebook provider type:Enhancement A proposed extension to the behavior of the project labels Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag:Provider Related to a notebook provider type:Enhancement A proposed extension to the behavior of the project
Projects
None yet
Development

No branches or pull requests

3 participants