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
pomdtr
runGist
HTTP
Run a Github Gist Usage Fork this val Create a Gist on Github, containing a javascript module the module must have either exactly one export or a default export the export must be a function that accept a request and return a response In the gist url, replace gist.github.com/<username> by <username>-rungist.web.val.run For security reasons, only gists with a github username matching your val username are allowed to run on your account. Example Github Gist: https://gist.github.com/pomdtr/0b9bc664b48b1ad4316ba6324564885e Http Server: https://pomdtr-rungist.web.val.run/0b9bc664b48b1ad4316ba6324564885e
1
larsr avatar
larsr
githubEvents
Script
An interactive, runnable TypeScript val by larsr
0
maxm avatar
maxm
githubStarWebhookExample
HTTP
An interactive, runnable TypeScript val by maxm
0
just_be avatar
just_be
denoWasmModuleChanged
Cron
denoWasmModuleChanged This val is used to update the wasm.rs file in my wasm-to-dts repo to match that of the deno_graph crate. When it detects that deno_graph has updated it invokes the workflow_dispatch in my GitHub actions.
0
vtdocs avatar
vtdocs
githubWebhookWithVerify
Script
An interactive, runnable TypeScript val by vtdocs
1
joey avatar
joey
emailOnGithubStar
Script
// Notifies you when you get a new star on your repo
0
ejfox avatar
ejfox
valcontributionchart
HTTP
// This approach will fetch data from the specified endpoint, process it to create a GitHub-style contribution chart,
2
ianvph avatar
ianvph
gitHubReleaseTracker
Cron
An interactive, runnable TypeScript val by ianvph
0
pomdtr avatar
pomdtr
gfm
Script
Markdown to html (with github styling)
9
ejfox avatar
ejfox
githubRepoViewer
HTTP
An interactive, runnable TypeScript val by ejfox
0
higgins avatar
higgins
githubEvents
Script
An interactive, runnable TypeScript val by higgins
0
stevekrouse avatar
stevekrouse
avidAmaranthHare
HTTP
Forked from stevekrouse/dot_com
0
jackf avatar
jackf
githubUser
Script
An interactive, runnable TypeScript val by jackf
0
pomdtr avatar
pomdtr
githubNotifications
Script
An interactive, runnable TypeScript val by pomdtr
1
saolsen avatar
saolsen
gfm
Script
Forked from rlesser/gfm
0
nico avatar
nico
handleSanguineGithubWebhook
Script
Forked from stevekrouse/handleDiscordNewUser
0