wildtreetech / bndr.it Goto Github PK
View Code? Open in Web Editor NEWbndr.it - short URLs for Binder
License: BSD 3-Clause "New" or "Revised" License
bndr.it - short URLs for Binder
License: BSD 3-Clause "New" or "Revised" License
Running:
c_req = urllib.request.urlopen('https://bndr.it/api/shorten',
data=urlencode(
{'uri': 'https://mybinder.org/v2/gh/chestrays/jupyanno/master?urlpath=%2Fmuapps%2FRad_Constantinos_Anastasopoulos%2Fsimple-dash.ipynb'}).encode('ascii'))
url_info = json.loads(c_req.read().decode())['data']
url_info
Gives me
{'short_url': 'https://bndr.it/ghpzy'}
which just takes me to https://mybinder.org/v2/gh/chestrays/jupyanno/master
Add an about/help page that explains the available settings, caveats, etc
Right now you have to know what you are doing or figure stuff out yourself.
https://bndr.it/n242n instantly resolves to https://notebooks.gesis.org/binder/v2/gh/gesiscss/workshop_girls_day/master even if preferred BinderHub set with defauult value at mybinder.org.
Only occurs in cases where the Binder URL is not from mybinder.org .
Add http://binder.pangeo.io/ to the accepted hosts for bndr.it.
cc @@jhamman
Give user feedback when saving the settings fails, for example when cookies are disabled.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.