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/$%7Bsuccess?q=fetch&page=4&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 8124 results for "fetch"(813ms)

ThreadmarkLISTFetcher1 file match

@willthereader•Updated 7 months ago

BrowserbaseFetcherFromURL1 file match

@willthereader•Updated 7 months ago

Fetch2 file matches

@niek•Updated 7 months ago

fetchTwitterUserInfoBroken1 file match

@shawnbasquiat•Updated 8 months ago

fetchIpfsPosts1 file match

@stevedylandev•Updated 8 months ago

FetchBasic1 file match

@hunty•Updated 8 months ago

fetchWikipediaContent2 file matches

@pmo•Updated 8 months ago

Fetch2 file matches

@komolkin•Updated 9 months ago

Fetch2 file matches

@hunty•Updated 9 months ago

fetchCongressTradeReports1 file match

@trickster•Updated 9 months ago

Towniesend-message.ts3 matches

@valdottown•Updated 42 mins ago
79 }
80
81 // If there are selected files, fetch their content and add them to the messages
82 if (selectedFiles && selectedFiles.length > 0) {
83 const vt = new ValTown({ bearerToken });
99 fileContents += `## File: ${filePath}\n\`\`\`\n${fileWithLinesNumbers(content)}\n\`\`\`\n\n`;
100 } catch (error) {
101 console.error(`Error fetching file ${filePath}:`, error);
102 fileContents += `## File: ${filePath}\nError: Could not fetch file content\n\n`;
103 }
104 }

TownieuseAuth.tsx1 match

@valdottown•Updated 47 mins ago
15 // replace all this with oauth when it's ready
16 try {
17 const res = await fetch("/api/user", {
18 headers: {
19 "Authorization": "Bearer " + valTownAPIKey,