FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
begoon

begoon

ghdb

Public
Like
ghdb
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
main.tsx
https://begoon--7680005226da11f0a5b3569c3dd06744.web.val.run
README.md

This val implements a simple key/value database with GitHub, in a CRUD way.

The key is a file path within a repository. The value is the file content.

The val needs a GitHub token to access the GitHub API, the account name and the repository name.

Also, the val needs GHDB_API_KEY variable. This value defines the exptected value of the GHDB_API_KEY header to allow access to the endpoints.

Endpoints:

  • GET /data/path/to/file.ext - read file
  • GET /raw/path/to/file.ext - read file from GitHub CDN (10 times faster)
  • DELETE /data/path/to/file.ext - delete file
  • POST /data/path/to/file.ext - create file
  • PUT /data/path/to/file.ext - update/commit file
HTTP
  • main.tsx
    begoon--76…44.web.val.run
Code
README.md
H
main.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.