val-inspector-wip
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.
index.ts
https://chadparker--28faae6c48e111f08b5076b3cceeab13.web.val.run
A web interface to explore and manage your Val Town vals, with a focus on HTTP endpoints.
- List all your vals with metadata
- Show HTTP endpoints with clickable links
- Display val types, privacy settings, and last updated info
- Quick access to val URLs and testing
backend/index.ts
- Main Hono server with API routesfrontend/index.html
- Main web interfacefrontend/index.tsx
- React frontend applicationshared/types.ts
- Shared TypeScript types
-
Get your Val Town API token:
- Go to Val Town Settings
- Create a new API token
- Copy the token
-
Set the environment variable:
- In your Val Town environment, set
VALTOWN_API_TOKEN
to your API token - The app will automatically fetch and display your vals
- In your Val Town environment, set
-
Access the inspector:
- Visit the HTTP endpoint to see your vals dashboard with direct links to all HTTP endpoints
Visit the HTTP endpoint to see your vals dashboard with direct links to all HTTP endpoints.