FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
chadparker
chadparkerendpoints
Public
Like
endpoints
Home
Code
2
README.md
H
get_vals_endpoints.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
Code
/
Search
README.md

endpoints

status:

  • fetch my vals
  • loop through vals
  • look at each val's file list to find endpoints.tsx
  • refine the filtering
    • only one filter: find endpoints.* where * could be js, jsx, ts, tsx
  • read each matching val's endpoints file
  • format output
  • fetch it from cloudflare
  • implement caching

plan:

this will loop through all of my vals, collecting the ones with endpoints.tsx, and updating something somewhere, I'm not sure what yet.

if this pushes to somewhere else make sure to store the secret location in an env var.

but it would be better to pull from elsewhere when needed, with some intelligent caching.

Code
README.md
H
get_vals_endpoints.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.