Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$2?q=api&page=47&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 18106 results for "api"(610ms)

myApi1 file match

@marydotdev•Updated 1 year ago

testApi2 file matches

@andreterron•Updated 1 year ago

myApi1 file match

@timur•Updated 1 year ago

myApi1 file match

@alby•Updated 1 year ago

myApi1 file match

@tannerwj•Updated 1 year ago

myApi1 file match

@evilpaper•Updated 1 year ago

myApi1 file match

@dereko•Updated 1 year ago

exampleAuthApi2 file matches

@stevekrouse•Updated 1 year ago

apiTest1 file match

@maxdrake•Updated 1 year ago

myApi1 file match

@hamza•Updated 1 year ago

registryREADME.md4 matches

@dinavinter•Updated 4 mins ago
9- **TypeScript editor**: Full-featured TypeScript editor with syntax highlighting
10- **File type detection**: Automatic file type detection and appropriate handling
11- **Val Town integration**: Direct integration with Val Town API for file management
12- **Configurable URLs**: All service URLs are configurable via config.json
13
48## File Types Supported
49
50- **HTTP** (`http`) - Web endpoints and APIs
51- **Cron** (`cron`) - Scheduled tasks
52- **Email** (`email`) - Email handlers
65- `GET /` - Redirects to main gallery
66- `GET /{zon-name}` - View files in specific zon
67- `GET /{zon-name}/files` - API endpoint returning JSON list of files
68- Groups files by type and shows file metadata
69
875. **Run HTTP files**: Use the Run button to test HTTP endpoints
88
89## API Integration
90
91The system integrates with:

registryfile1 match

@dinavinter•Updated 5 mins ago
90});
91
92// API endpoint to get specific file content
93app.get("/:zon/:file/raw", async (c: Context) => {
94 const { zon, file } = c.req.param();
Kapil01
apiv1