https://github.com/manics/mybinder-referrer
Example of redirecting to mybinder based on the referrer header
https://github.com/manics/mybinder-referrer
Last synced: 4 months ago
JSON representation
Example of redirecting to mybinder based on the referrer header
- Host: GitHub
- URL: https://github.com/manics/mybinder-referrer
- Owner: manics
- License: mit
- Created: 2019-07-06T15:24:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T10:24:52.000Z (almost 7 years ago)
- Last Synced: 2025-09-08T13:52:26.574Z (9 months ago)
- Language: HTML
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mybinder-referrer
Example of redirecting to mybinder based on the referrer header.
Include a link to https://www.manicstreetpreacher.co.uk/mybinder-referrer/ in your mybinder repository README.
The webpage will detect the referrer and generate a mybinder URL using client-side Javascript.
This means you do not need to construct a dedicated mybinder URL for every repository, and also means if a repository is forked the README mybinder link will automatically load the forked repository.
See https://github.com/manics/mybinder-referrer/tree/demo for an example.
Currently this only works for GitHub gists and GitHub repositories.