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.
dr0 avatar
dr0
githubEvents
Script
An interactive, runnable TypeScript val by dr0
0
mbforbes avatar
mbforbes
githubUser
Script
An interactive, runnable TypeScript val by mbforbes
0
bitbloxhub avatar
bitbloxhub
githubUser
Script
An interactive, runnable TypeScript val by bitbloxhub
0
weaverwhale avatar
weaverwhale
GistGPT_Client
HTTP
Forked from mjweaver01/PriestGPTClient
0
snowcrash avatar
snowcrash
githubFollowers
Script
An interactive, runnable TypeScript val by snowcrash
0
stevekrouse avatar
stevekrouse
githubUser
Script
An interactive, runnable TypeScript val by stevekrouse
0
vtdocs avatar
vtdocs
githubUser
Script
An interactive, runnable TypeScript val by vtdocs
0
pomdtr avatar
pomdtr
github_cmdk_extension
Script
An interactive, runnable TypeScript val by pomdtr
0
roald87 avatar
roald87
githubFollowers
Script
An interactive, runnable TypeScript val by roald87
0
kylem avatar
kylem
dependencyLicenses
HTTP
Forked from kylem/gitReleaseNotes
0
hkg avatar
hkg
githubUser
Script
An interactive, runnable TypeScript val by hkg
0
maas avatar
maas
importGists
Script
Imports Gists to Val Town Import your TypeScript and JavaScript to Val Town Authentication This function requires two keys: one from Github to get your gists, and one from Val Town to make the vals in your account: Github token: https://github.com/settings/tokens Val Town key: https://www.val.town/settings/api Usage You can use this function by calling it and passing your keys like so: @maas.importGists({ githubToken: @me.secrets.githubGists, valTownKey: @me.secrets.valtown, }); Example usage: https://www.val.town/v/maas.untitled_harlequinCrawdad
4
stevekrouse avatar
stevekrouse
githubStarWebhook
HTTP
Forked from sean_smyth/githubStarWebhook
0
andreterron avatar
andreterron
staleGithubPRsEmail
Cron
Forked from ramkarthik/staleGithubPRsEmail
0
bastost avatar
bastost
githubFollowers
Script
An interactive, runnable TypeScript val by bastost
0
ejfox avatar
ejfox
githubcollabgen
HTTP
GitHub Collaboration Suggester This tool analyzes the recent GitHub activity of two users and suggests potential collaboration opportunities. Features Fetches the last 3 months of GitHub activity for two users Summarizes activity including event counts, repositories, commits, issues, and pull requests Uses AI to generate collaboration suggestions based on the activity summaries Usage To use it, make a GET request with two GitHub usernames as query parameters: https://ejfox-githubcollabgen.web.val.run?user1=<username1>&user2=<username2> Curl Compare two specific users: curl "https://ejfox-githubcollabgen.web.val.run?user1=ejfox&user2=stevekrouse" Response The API returns a plain text response with AI-generated collaboration suggestions, including: Potential collaborative projects Technologies to explore or learn Ways to complement each other's skills Opportunities for knowledge sharing or mentoring Possible open-source contributions
0