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.
Ronu12_05 avatar
Ronu12_05
reactPinterestClone
Cron
@jsxImportSource https://esm.sh/react@18.2.0
0
jxnblk avatar
jxnblk
JxnblkCSS
Script
CSS for https://val.town/v/jxnblk/dotcom – https://jxnblk.com
0
saolsen avatar
saolsen
git_sync
Script
Sync vals to a git repo This will not run on val town! You need to run it locally with deno. Install Deno: https://docs.deno.com/runtime/manual/getting_started/installation Set your val.town api key as an environment variable. https://www.val.town/settings/api export valtown="abcdefgh-ijkl-mnop-qrst-uvwxyz123456" Create a git repo to sync to. mkdir ./valtown && pushd ./valtown && git init && popd Copy down this script and run it, passing the path to your git directory. deno run -A ./git_sync.ts ./valtown There is currently no incremental syncing or recovering. You can only use this script against a fresh git repo. If you want to sync to an existing repo, you should create a new repo, run the script and then force push to your existing repo. This will sync all your vals, including private ones so be careful where you push your git repo if you want those to remain private.
0
rwev avatar
rwev
gitlabUserContributionEvents
Script
An interactive, runnable TypeScript val by rwev
0
iamseeley avatar
iamseeley
valWall
HTTP
Forked from yawnxyz/valWall
0
faseeu avatar
faseeu
lang_code
HTTP
Forked from stevekrouse/cerebras_coder
1
chet avatar
chet
notifyHackerNewsReplies
Cron
An interactive, runnable TypeScript val by chet
0
all avatar
all
savvyPurpleSpoonbill
HTTP
Forked from stevekrouse/savvyPurpleSpoonbill
0
stevekrouse avatar
stevekrouse
legendaryVioletBovid
HTTP
Forked from stevekrouse/cerebras_coder
0
janpaul123 avatar
janpaul123
valle_tmp_94440105214223307666476397039723
HTTP
// Initialize sample stories and store them in blob storage
0
pomdtr avatar
pomdtr
vscode
HTTP
Manage your blobs using VS Code ! Just fork this val to install it, and use an api token to authenticate.
2
stevekrouse avatar
stevekrouse
intellectualMaroonMockingbird
HTTP
Forked from stevekrouse/cerebras_coder
0
stevekrouse avatar
stevekrouse
preciseAquamarineReptile
HTTP
Forked from stevekrouse/cerebras_coder
0
rafter avatar
rafter
testFormData
Script
An interactive, runnable TypeScript val by rafter
0
caseyg avatar
caseyg
cerebras_coder
HTTP
Forked from stevekrouse/cerebras_coder
0
stevekrouse avatar
stevekrouse
spotlessBrownBobolink
HTTP
Forked from stevekrouse/steel_example
0