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/$%7BsvgDataUrl%7D?q=api&page=7&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 18993 results for "api"(3360ms)

capitalMultipliers2 file matches

@vinaybjp12β€’Updated 3 months ago

fiberplaneHonoZodStarter10 file matches

@fiberplaneβ€’Updated 3 months ago
Hono-Zod-OpenAPI with Fiberplane API Playground integration

API_Management

@aryandcβ€’Updated 3 months ago

researchAgent2 file matches

@thesephistβ€’Updated 3 months ago
This is a lightweight wrapper around Perplexity's web search API

lovingCoralTapir1 file match

@khennyybβ€’Updated 3 months ago

healthyJadeTapir

@danisjerryβ€’Updated 3 months ago

API_Get_Weather_In_French

@Skeyeβ€’Updated 4 months ago

FramerAPIWrapper2 file matches

@charmaineβ€’Updated 4 months ago

TanaAPIHelper2 file matches

@nbbaierβ€’Updated 4 months ago

ChatStreamingChat.tsx8 matches

@c15rβ€’Updated 48 mins ago
170 /** Retry a user message */
171 const retryMessage = async (messageId: string) => {
172 if (status !== "idle" || !config.anthropicApiKey) return;
173
174 const userText = onRetryFromMessage(messageId);
193 /** Dispatch user input */
194 const fireSend = async () => {
195 if (!input.trim() || status !== "idle" || !config.anthropicApiKey) return;
196
197 const userText = input.trim();
255 };
256
257 const canSend = input?.trim() && status === "idle" && config.anthropicApiKey;
258
259 /* ── UI ─────────────────────────────────────────────────────── */
261 <>
262 <div className="chat-messages">
263 {!config.anthropicApiKey && (
264 <div className="message system">
265 Please configure your Anthropic API key in settings to start chatting
266 </div>
267 )}
348 }}
349 onKeyDown={handleKeyDown}
350 placeholder={config.anthropicApiKey
351 ? streaming
352 ? "Press Enter to stop streaming…"
353 : "Type your message or / for commands…"
354 : "Configure API key in settings first"}
355 className="chat-input"
356 disabled={!config.anthropicApiKey || thinking}
357 rows={1}
358 />

ChatMCPClient.ts3 matches

@c15rβ€’Updated 50 mins ago
633const httpClient = new MCPClient({
634 type: 'http',
635 endpoint: 'https://api.example.com/mcp',
636 headers: { 'Authorization': 'Bearer token' }
637});
640const sseClient = new MCPClient({
641 type: 'sse',
642 endpoint: 'https://api.example.com/mcp,https://api.example.com/mcp/stream',
643 headers: { 'Authorization': 'Bearer token' }
644});
647const wsClient = new MCPClient({
648 type: 'websocket',
649 endpoint: 'wss://api.example.com/mcp'
650});
651
apiry
snartapi