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.
vtdocs avatar
octokitExample
@vtdocs
Script
An interactive, runnable TypeScript val by vtdocs
tmcw avatar
markedExample
@tmcw
Script
marked marked is a classic Markdown parser in JavaScript. I really don't like it! I don't recommend it! The people who made it and worked on it are great, but I think you really shouldn't use it. It supports a non-standard variation of Markdown, so you can't easily switch to another parser once you've encouraged people to write "in the marked style" It allows but doesn't sanitize HTML, which promotes a lot of XSS attacks It doesn't use an intermediate AST like remark or support plugins. Really it's a much better idea to use micromark or remark .
arjunvgithub avatar
jokegenerator
@arjunvgithub
Cron
// Fetches a random joke.
stevekrouse avatar
whiteThrush
@stevekrouse
HTTP (deprecated)
Forked from nbbaier/sqliteExplorerApp
stevedylandev avatar
twemoji
@stevedylandev
Script
* modified version of https://unpkg.com/twemoji@13.1.0/dist/twemoji.esm.js.
nbbaier avatar
readmeGPT
@nbbaier
Script
Forked from nbbaier/sqliteWriter
stevekrouse avatar
tinygoMandelbrotExample
@stevekrouse
HTTP (deprecated)
Forked from maxm/tinygoHttpExample
danyslicer avatar
fluxImageGenerator
@danyslicer
HTTP
Forked from isidentical/fluxImageGenerator
teamgroove avatar
sqliteExplorerApp
@teamgroove
HTTP (deprecated)
Forked from nbbaier/sqliteExplorerApp
yawnxyz avatar
hnCloneOAuth
@yawnxyz
Script
An interactive, runnable TypeScript val by yawnxyz
AP123 avatar
linkInBioTemplate
@AP123
HTTP (deprecated)
Forked from stevekrouse/linkInBioTemplate
stevekrouse avatar
likelyCyanPartridge
@stevekrouse
HTTP (deprecated)
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
tempguy avatar
anime
@tempguy
HTTP (deprecated)
@jsxImportSource npm:hono@3/jsx
webup avatar
loaderSampleWeb
@webup
Script
An interactive, runnable TypeScript val by webup
tmcw avatar
chalkExample
@tmcw
Script
chalk chalk is a very popular module for colorizing terminal output. In Val Town, it doesn't colorize the output of vals because it detects correctly that we don't support colorized logs yet. We've filed an issue internally to support colorized logs!
stevekrouse avatar
harlequinEmu
@stevekrouse
HTTP (deprecated)
Forked from nbbaier/sqliteExplorerApp
…
23
…
Next