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=17&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"(1068ms)

fetchJSON1 file match

@sean•Updated 1 year ago

fetchXML1 file match

@eczajk•Updated 1 year ago

fetchText2 file matches

@iakovos•Updated 1 year ago

fetchPelotonWorkouts1 file match

@andreterron•Updated 1 year ago

fetchABird1 file match

@crsven•Updated 1 year ago

fetchCongressTradeReports2 file matches

@stevekrouse•Updated 1 year ago

proxyFetch62 file matches

@alp•Updated 1 year ago

fetchJSON1 file match

@pixelian•Updated 1 year ago

fetchRss2 file matches

@pdebie•Updated 1 year ago

proxyFetch42 file matches

@alp•Updated 1 year ago

ChatEnhancedCommandPalette.tsx4 matches

@c15r•Updated 38 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");Â