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.
pomdtr avatar
awesome
@pomdtr
HTTP (deprecated)
Awesome Val Town An curated list of useful community vals. Feel free to create your own awesome list! Apps @pomdtr/blob_editor @nbbaier/sqliteExplorerApp View and interact with your Val Town SQLite data. @pomdtr/http_client Attach a postman-like http client to your vals VS Code Extension vt Chrome Extension Tooling Authentication @pomdtr/basicAuth @pomdtr/email_auth @pomdtr/password_auth Sqlite @sqlite/db @pomdtr/sql @pomdtr/kv @postpostscript/sqliteUniverse Blob @stevekrouse/blobAdmin @pomdtr/lowdb Middleware @andreterron/codeOnValTown Testing @pomdtr/test_explorer Api @pomdtr/api @pomdtr/trpc Other @vladimyr/valshot @pomdtr/mdx @pomdtr/serve_readme OpenAI @pomdtr/ask_ai Web Components Val Town Playground CodeMirror
pomdtr avatar
pwa
@pomdtr
Script
Add a pwa manifest to an http val (to open in as an app in iOS). See https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps for available fields. Usage import handler from "https://esm.town/v/maxm/staticChess"; import { pwa } from "https://esm.town/v/pomdtr/pwa"; export default pwa(handler, { name: "Static Chess", display: "standalone", background_color: "#ffffff", start_url: "/", });
pranjaldotdev avatar
poller
@pranjaldotdev
Cron
bytes.dev newsletter notifier Tech Stack val.town - Infrastructure SQLite - Database Deno - Runtime Pushover - Notifications How it works At the lowest level it is powered by 3 main scripts, which are invoked by a scheduled cron job that runs daily scraper Goes to bytes.dev and scrapes latest published newsletter inserter Insert it to SQLite if this newsletter already not exists notifier Uses Pushover API to send ios mobile notifications Pushover notifications
iamseeley avatar
resumeHandler
@iamseeley
HTTP (deprecated)
📄 hello, resume Creating, customizing, and hosting resumes can get complicated and time-consuming. This project aims to simplify that process and maybe make it a little more enjoyable. Follow the steps in your resumeConfig to get started . Happy job hunting! 💼✨ Thanks to @nbbaier for the great feedback and resumeValidator ! Also, big thanks to Thomas Davis for JSON Resume Standard!
patrick_kw_chiu avatar
readMediumPosts
@patrick_kw_chiu
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"
stevekrouse avatar
amaranthYak
@stevekrouse
HTTP (deprecated)
Forked from nbbaier/sqliteExplorerApp
todimech avatar
dailyDadJoke
@todimech
Cron
Forked from stevekrouse/dailyDadJoke
frobyte avatar
dailyDadJoke
@frobyte
Cron
Forked from stevekrouse/dailyDadJoke
parkerdavis avatar
sqliteExplorerApp
@parkerdavis
HTTP (deprecated)
Forked from nbbaier/sqliteExplorerApp
pomdtr avatar
copy_markdown_link
@pomdtr
Script
This val is supposed to be used with the val.town extension. See the extension readme for installation instructions.
hlobil avatar
passkeys_demo
@hlobil
HTTP (deprecated)
Forked from stevekrouse/passkeys_demo
jamiedubs avatar
syntheticLoot
@jamiedubs
HTTP (deprecated)
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
kora avatar
compileAndUploadTinygoWasm
@kora
Script
Forked from maxm/compileAndUploadTinygoWasm
stevekrouse avatar
salmonCrab
@stevekrouse
HTTP (deprecated)
Forked from nbbaier/sqliteExplorerApp
maxm avatar
freshChartsExample
@maxm
HTTP (deprecated)
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:
pomdtr avatar
indielogin_example
@pomdtr
HTTP (deprecated)
@jsxImportSource npm:hono/jsx