Readme

Serve Github Repo

Example

Click here to preview a commit from 8 years ago.

import { serveGithubRepo } from "https://esm.town/v/pomdtr/serveGithubRepo"; export default serveGithubRepo({ owner: "mkdocs", repo: "mkdocs", ref: "51ec734" });

Fork this val to get your own copy, and customize the params.

The first load can be a bit slow, but subsequents requests will be cached (both in your browser and on val.town)

Use it from the cli

deno run --allow-net https://esm.town/v/pomdtr/serveGithubRepoCli mkdocs/mkdocs --ref 51ec734
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
September 3, 2024