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=fetch&page=13&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 14090 results for "fetch"(1812ms)

fetchXML2 file matches

@stevekrouse•Updated 1 year ago

proxyFetch92 file matches

@alp•Updated 1 year ago

testFetch1 file match

@ImGqb•Updated 1 year ago

fetchProxy1 file match

@ridge•Updated 1 year ago

fetchBlob1 file match

@crsven•Updated 1 year ago

fetchJavascriptWeeklyIssues2 file matches

@Timmy•Updated 1 year ago

fetchRssParser2 file matches

@shellphon•Updated 1 year ago

fetchXML1 file match

@_•Updated 1 year ago

fetchGiphy1 file match

@simply_say_m•Updated 1 year ago

proxyFetch102 file matches

@alp•Updated 1 year ago

ChatEnhancedCommandPalette.tsx4 matches

@c15r•Updated 33 mins ago
153 const argumentInputRefs = useRef<Map<string, HTMLElement>>(new Map());
154
155 // Initialize MCP clients and fetch prompts/tools
156 useEffect(() => {
157 const initializeClients = async () => {
179 }
180
181 // Fetch prompts and tools
182 const [prompts, tools] = await Promise.all([
183 client.listPrompts().catch(() => {
184 console.warn(`Failed to fetch prompts for ${server.name}`);
185 return [];
186 }),
187 client.listTools().catch(() => {
188 console.warn(`Failed to fetch tools for ${server.name}`);
189 return [];
190 }),

honeydewmain.tsx3 matches

@legal•Updated 3 hours ago
682
683    try { 
684      const res = await fetch(\`\${API_URL}?action=chat\`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ messages: conversationHistory.slice(0, -1), tasks, projects }) }); 
685      const data = await res.json(); 
686      if (!res.ok || data.error) throw new Error(data.error || 'Server error'); 
786    toggleLoading(btn, true); 
787    try { 
788      const res = await fetch(\`\${API_URL}?action=synthesizeProject\`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ goal }) }); 
789      const data = await res.json(); 
790      if (!res.ok || data.error) throw new Error(data.error || "Server error"); 
804    toggleLoading(btn, true); 
805    try { 
806      const res = await fetch(\`\${API_URL}?action=dailyRebalance\`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ tasks: todayTasks }) }); 
807      const data = await res.json(); 
808      if (!res.ok || data.error) throw new Error(data.error || "Server error");Â