Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

Run a Github Gist

Usage

  1. Fork this val
  2. Create a Gist on Github, containing a javascript module
  • the module must have either exactly one export or a default export
  • the export must be a function that accept a request and return a response
  1. In the gist url, replace gist.github.com/<username> by <username>-rungist.web.val.run

For security reasons, only gists with a github username matching your val username are allowed to run on your account.

Example