Skip to content

alex-static-site/requirebin

 
 

Repository files navigation

requirebin

create programs in the browser using modules from NPM

the app itself is 100% client side (requirebin.com is hosted on github pages) but it relies on these three APIs:

both can be hosted anywhere, the instances used by requirebin.com are hosted on a linode VPS and nodejitsu, respectively.

by default config.js is set to use http://localhost:8000 as the browserify-cdn endpoint but feel free to use http://wzrd.in which is the one I host on a VPS (requires internet connection to use but )

getting it to run locally

set up browserify-cdn

npm install -g browserify
npm install -g browserify-cdn
browserify-cdn 8000

set up gatekeeper (only if you want to publish gists in dev mode)

  1. make a new github oauth application and set the app URL and callback URL to http://localhost:8080
  2. follow these instructions to install and start gatekeeper on port 9999

edit config.js to point to your endpoints

npm install
npm start
open http://localhost:8080

contributing

requirebin is an OPEN Open Source Project. This means that:

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

See the CONTRIBUTING.md file for more details.

contributors

requirebin is only possible due to the excellent work of the following contributors:

Max OgdenGitHub/maxogdenTwitter/@maxogden
Matthew HokansonGitHub/h0keTwitter/@h0ke

license

BSD

About

write browser JavaScript programs using modules from NPM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published