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/...?q=api&page=50&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 19252 results for "api"(1023ms)

myApi1 file match

@browniebrokeUpdated 1 year ago

myApi1 file match

@mantasUpdated 1 year ago

myApi1 file match

@eagle251Updated 1 year ago

myApi1 file match

@byronUpdated 1 year ago

myApi1 file match

@shanemcgrathUpdated 1 year ago

myApi1 file match

@lstyrUpdated 1 year ago

myApi1 file match

@dubinetsUpdated 1 year ago

myApi1 file match

@mrfabbriUpdated 1 year ago

myApi2 file matches

@piotrUpdated 1 year ago

myApi1 file match

@richardkaplanUpdated 1 year ago

ChatIMPLEMENTATION-SUMMARY.md1 match

@c15rUpdated 17 mins ago
153
154### Planned Features
155- **Additional Action Types**: File downloads, API calls, direct tool execution
156- **Conditional Logic**: Proposals based on user context or chat history
157- **Scheduling**: Delayed execution beyond immediate countdown

ChatREADME.md7 matches

@c15rUpdated 19 mins ago
1# Anthropic Streaming Chat with MCP
2
3A mobile-optimized single page chat application that uses the Anthropic Messages API with **real-time streaming** and MCP (Model Context Protocol) server support.
4
5Source: https://www.val.town/x/c15r/Chat
17- **🔄 NextSteps Auto-Execution** - MCP tools can propose follow-up actions with automatic or manual execution
18- Full-screen mobile-optimized chat interface
19- Direct client-side Anthropic API integration with server-side streaming proxy
20- **Model selection** - Choose between different Claude models (3.5 Sonnet, 3.5 Haiku, 3 Opus, etc.) without clearing chat history
21- Configurable MCP servers with localStorage persistence
70
71The app stores configuration and chat history in localStorage:
72- `anthropic_api_key`: Your Anthropic API key
73- `selected_model`: The chosen Claude model (defaults to claude-3-5-sonnet-20241022)
74- `mcp_servers`: Array of configured MCP servers
76- `auto_execute_next_steps`: Global setting for NextSteps auto-execution (defaults to true)
77
78## API Endpoints
79
80- `GET /` - Main application (serves frontend)
87
881. Open the app at the provided URL
892. Click "Settings" in the footer to configure your Anthropic API key and select your preferred Claude model
903. Add/remove/toggle MCP servers as needed
914. Use the "Test" button next to each MCP server to verify connectivity (shows ✅ for success, ❌ for errors)
117- **Auto-scroll**: Messages automatically scroll to bottom during streaming
118- **Auto-resize**: Input field grows with content
119- **Error Handling**: Clear error messages for API issues with stream recovery
120- **Loading States**: Visual feedback during API calls and streaming
121- **Structured Responses**: MCP tool use and results are displayed in organized, collapsible sections
122- **Clean Interface**: Maximized chat area with no header, footer contains all controls
apiry
snartapi