Back to APIs list

Github API examples & templates

Use these vals as a playground to view and fork Github API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
dot_com
horatiothomas
dot_com
Remix of: stevekrouse/dot_com
staleGithubPRsEmail
andreterron
staleGithubPRsEmail
Remix of: ramkarthik/staleGithubPRsEmail
accepts_example
vladimyr
accepts_example
// @see: https://github.com/jshttp/accepts#simple-type-negotiation
gltf_torus
vladimyr
gltf_torus
Remix of: saolsen/gltf_torus
gfm
saolsen
gfm
Remix of: rlesser/gfm
githubStarWebhook
stevekrouse
githubStarWebhook
Remix of: sean_smyth/githubStarWebhook
pollRSSFeeds
ni554n
pollRSSFeeds
Remix of: stevekrouse/pollRSSFeeds
sqliteExplorerApp
parkerdavis
sqliteExplorerApp
Remix of: nbbaier/sqliteExplorerApp
blog
postpostscript
blog
@postpostscript 's Val Town Blog Blog Posts: Ideas 2024-03-06 - Auth for Val Town 2024-03-09 - sqliteUniverse: Make SQLite Queries Against Multiple Endpoints in Deno (Val Town) (Part 1) 2024-03-09 - sqliteUniverse: Make SQLite Queries Against Multiple Endpoints in Deno (Val Town) (Part 2) Other Projects: 2024-02-25 - moduleHighlightValueLink: Link to a Val With a Value or Method's Code Highlighted 2024-02-28 - provideBlob: Return Response Quickly and Poll for the Expensive Parts 2024-03-02 - MyFooter: my footer component which shares random vals I've liked! 2024-03-16 - readmeManager: Edit Val Readmes With Persistent Drafts 2024-04-09 - reactiveStateBlob: wrap blob state in a proxy to autosave it on changes 2024-04-24 - lock: lock that releases when it leaves the execution context 2024-04-25 - fetchWorker: communicate with a worker over a fetch-like interface 2024-01-06 - interruptibleChain: simple interface for pausing and resuming execution chains (now at https://github.com/postpostscript/chain) 2024-01-07 - expiringBlob: create-and-forget blobs using UUIDv7
github_emails
wittjosiah
github_emails
An interactive, runnable TypeScript val by wittjosiah
html
ije
html
Rendering html with jsx - https://github.com/ije/html using JSX support Atomic CSS powered by UnoCSS dark mode(color scheme) /** @jsx h */ import { h, html } from "https://esm.town/v/ije/html"; export default () => { return html( <div class="flex items-center justify-center w-screen h-screen"> <p class="text-5xl font-bold text-green-600">Hello World!</p> </div> ); }; Demo: https://www.val.town/v/ije/htmlDemo
instructorExample
inkpotmonkey
instructorExample
Example copied https://instructor-ai.github.io/instructor-js/#usage into val.town You will need to fork this and properly set the apiKey and organisation for it to work.
button
easrng
button
An interactive, runnable TypeScript val by easrng
denoMediaTypes
easrng
denoMediaTypes
/// Definition files don't have separate content types and so we have to "guess"
gfm
vladimyr
gfm
Remix of: pomdtr/gfm
codeOnValTown
vladimyr
codeOnValTown
Remix of: andreterron/codeOnValTown