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.
g avatar
g
imageToAnsi
Script
Forked from maxm/imageToAscii
0
stevekrouse avatar
stevekrouse
amaranthYak
HTTP
Forked from nbbaier/sqliteExplorerApp
1
patrick_kw_chiu avatar
patrick_kw_chiu
readMediumPosts
Script
Demo of mongo-http NPM package Great for serverless apps that can only use HTTP or have a hard time persisting database connection See more at the Git Repo and the Medium tutorial ! What this demo does: Read the latest Chinese Medium posts with categories "javascript" or "typescript"
1
dglazkov avatar
dglazkov
bbrun
Script
A simple chat app harness for your board Provides a very simple chat app UI for a Breadboard board. For now, requires you to be running a board server. This harness actually acts as a proxy to the board server run API endpoint , and puts a nice (well, somewhat nice) frontend on top of it. The frontend is somewhat limited in what it can show, currently supporting only LLMContent and array of LLMContent outputs, and only LLMContent array input. The script will look for the BB_LIVE_KEY in your Val Town environment, which must contain your board server API key. To use, create an HTTP val, then import the proxy function from this script and call it like this: import { proxy } from "https://esm.town/v/dglazkov/bbrun"; export default proxy( "url-to-the-board.bgl.json", );
0
all avatar
all
brokenBells
HTTP
Forked from stevekrouse/git_jiggy
0
lecoto avatar
lecoto
sqliteExplorerApp
HTTP
Forked from nbbaier/sqliteExplorerApp
0
parkerdavis avatar
parkerdavis
sqliteExplorerApp
HTTP
Forked from nbbaier/sqliteExplorerApp
0
pomdtr avatar
pomdtr
copy_markdown_link
Script
This val is supposed to be used with the val.town extension. See the extension readme for installation instructions.
0
yieldray avatar
yieldray
translate
HTTP
Translator using a public deepl api
2
jamiedubs avatar
jamiedubs
syntheticLoot
HTTP
dark greetings cryptoadventurers. This val will print the contents of a given Ethereum wallet's Synthetic Loot , which is procedurally generated from your wallet address. To look at your sLoot in a browser with some fun pixel art, check out timshel's Synthetic Loot Viewer to use this endpoint, pass ?address=0x... e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00 the default response type is JSON. You can also get a simple list of the loot bag contents using ?format=text . e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00&format=text
0
maxm avatar
maxm
freshChartsExample
HTTP
Deno Fresh Charts Example Cobbled together from here: https://github.com/denoland/fresh_charts/tree/main/examples Render charts as HTML or as images. This image is rendered by the val below:
2
stevekrouse avatar
stevekrouse
anthropicCaching
HTTP
* This val creates an interactive webpage that demonstrates the functionality of the Anthropic API. * It uses a React frontend with an input for the API key and buttons to trigger different operations. * The Anthropic API key is stored in the frontend state and sent with each API request.
0
pomdtr avatar
pomdtr
indielogin_example
HTTP
@jsxImportSource npm:hono/jsx
0
stevekrouse avatar
stevekrouse
whiteXerinae
HTTP
Forked from nbbaier/sqliteExplorerApp
0
tmcw avatar
tmcw
maroonSawfish
Script
An interactive, runnable TypeScript val by tmcw
0
samwho avatar
samwho
sqliteExplorerApp
HTTP
Forked from nbbaier/sqliteExplorerApp
0