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
HTTP
keenScarletWoodpecker
roadlabs
keenScarletWoodpecker
Remix of: steveruizok/tldraw_computer_example
HTTP
dot_com
vpontis
dot_com
Remix of: stevekrouse/dot_com
HTTP
simpleLogin
rawwerks
simpleLogin
Remix of: yawnxyz/simpleLogin
HTTP
blocks
tmcw
blocks
Unfancy blocks In the old days, there was a website called bl.ocks.org which re-hosted content on GitHub Gists and displayed visualizations made in those gists. It wasn't shiny but it was well-crafted and for the little community that used it, it was very nice. This is a much worse, but very small, version of the same kind of program. This also shows you stuff from blocks. It displays readmes, with Titus's lovely micromark . It uses Ian's collected search index of bl.ocks.org to show you examples and thumbnails. It uses Alpine to pull together a little interface. And, of course, Val Town to make it all work.
Express (deprecated)
verifiedGithubStarWebhookExample
maxm
verifiedGithubStarWebhookExample
An interactive, runnable TypeScript val by maxm
HTTP
githubKeys
kyle
githubKeys
An interactive, runnable TypeScript val by kyle
Script
githubEvents
endingwithali
githubEvents
An interactive, runnable TypeScript val by endingwithali
Script
addShortlink
byjp
addShortlink
Shortlinks for the decentralised web This is a script to allow API-based updating of the shortlinks/redirects in an IPFS-based shortlink repo (using val.town). I've written up how all this works on my blog at https://byjp.me/posts/link-shortener
Express (deprecated)
github_avatar
ski
github_avatar
An interactive, runnable TypeScript val by ski
Script
githubWebhookApproveSmallPRs
adisbanda
githubWebhookApproveSmallPRs
An interactive, runnable TypeScript val by adisbanda
HTTP
getSteve
vtdocs
getSteve
An interactive, runnable TypeScript val by vtdocs
Script
posthogGitHubStarCapture
ianvph
posthogGitHubStarCapture
A GitHub webhook handler to capture stars in PostHog
HTTP
oldProjects
willthereader
oldProjects
@jsxImportSource https://esm.sh/hono@latest/jsx
HTTP
qq_svg
envl
qq_svg
把 GitHub stars 数量转换为 QQ 等级 SVG 图片 Convert GitHub stars into SVG of QQ level QQ is a popular icq alternative from China 用法 Usage https://envl-qq_svg.web.val.run/:user/:repo?font_size=24&px=4&py=3 repo 选填 Optional px 选填 Optional py 选填 Optional font_size 选填 Optional 举例 Example: https://envl-qq_svg.web.val.run/envl https://envl-qq_svg.web.val.run/freecodecamp/freecodecamp
HTTP
sourceOnGithubExample
curtcox
sourceOnGithubExample
Example showing how to reference source in public github repos.
HTTP