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//%22$%7Bconfig.siteUrl%7D/%22?q=fetch&page=2&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 18997 results for "fetch"(2209ms)

13 });
14
15 const response = await fetch(
16 "https://http-proxy.val.run/?finalUrl=https%3A%2F%2Fegs-platform-service.store.epicgames.com%2Fapi%2Fv2%2Fpublic%2Fdiscover%2Fhome%3Fcount%3D10%26country%3DPT%26locale%3Den%26platform%3Dandroid%26start%3D0%26store%3DEGS",
17 );

epic-games-ios-free-gamesmain.ts1 match

@gmcabritaUpdated 3 hours ago
13 });
14
15 const response = await fetch(
16 "https://http-proxy.val.run/?finalUrl=https%3A%2F%2Fegs-platform-service.store.epicgames.com%2Fapi%2Fv2%2Fpublic%2Fdiscover%2Fhome%3Fcount%3D10%26country%3DPT%26locale%3Den%26platform%3Dios%26start%3D0%26store%3DEGS",
17 );

PixelPixelApiMonitormain.ts3 matches

@selfire1Updated 4 hours ago
3 const channel = "C060TG0KLQJ";
4
5 const middlewareApiResponse = await fetch(
6 "https://api.pixelpixel.site/api/v1",
7 );
17 }
18
19 const horizonApiResponse = await fetch(
20 "https://preview-horizon-backend.pixelpixel.site/",
21 );
29
30 async function sendSlackMessage(text: string) {
31 return await fetch("https://slack.com/api/chat.postMessage", {
32 headers: {
33 Authorization: `Bearer ${SLACK_TOKEN}`,

webgpu_2main.tsx1 match

@saolsenUpdated 4 hours ago
11
12async function main() {
13 const grid_shader = await (await fetch(`${module_path}/grid.wgsl`)).text();
14
15 const adapter = await navigator.gpu?.requestAdapter();
107
108 if (!pageResult.success) {
109 console.error("Failed to fetch page data:", pageResult.error);
110 return c.json({
111 success: false,
112 error: "Failed to fetch page data",
113 details: pageResult.error
114 }, 500);
154 // STEP 1: Collect agent data for the single agent
155 console.log("=== STEP 1: Collecting Agent Data ===");
156 console.log(`Fetching complete agent data for agent ${agentId}...`);
157
158 let agentDataCollection = [];
161
162 try {
163 console.log(`🔍 Fetching complete page data for agent ${agentId}`);
164
165 // Get complete page data for this agent
167
168 if (!agentPageResult.success) {
169 console.error(`❌ Failed to fetch page data for agent ${agentId}:`, agentPageResult.error);
170 dataCollectionSuccess = false;
171 dataCollectionError = `Failed to fetch agent ${agentId}: ${agentPageResult.error}`;
172 } else {
173 // Extract properties from the complete page data
113**Process Flow:**
1141. Extracts page ID from webhook payload
1152. Fetches Notion page data
1163. Extracts assigned person ID from "Assigned" property
1174. Queries agents database for matching agents
155```
156
157500 - Failed to fetch page data:
158```json
159{
160 "success": false,
161 "error": "Failed to fetch page data",
162 "details": "Notion API error message"
163}
65 if (!blobResult.success) {
66 console.error(
67 `❌ Failed to fetch agent blob for ${pageId}:`,
68 blobResult.error,
69 );
72 pageId: pageId,
73 success: false,
74 error: "Failed to fetch agent blob",
75 details: blobResult.error,
76 });

untitled-7818main.ts1 match

@arocUpdated 8 hours ago
356});
357
358export default app.fetch;

chatterindex.html1 match

@yawnxyzUpdated 9 hours ago
19 window.deferLoadingAlpine = function (start) { window._startAlpine = start; };
20 </script>
21 <!-- Offline-first vendor (populated by deno task vendor:fetch) -->
22 <script src="/frontend/vendor/dexie.min.js"></script>
23 <script type="module" src="frontend/init.js"></script>

qbatbluesky-oauth.ts1 match

@wilhelmUpdated 10 hours ago
86
87 private async getUserProfile(session: OAuthSession, agent: Agent): Promise<BlueskyUser> {
88 // Skip profile fetching for now, just use basic session info
89 return {
90 did: session.did,

FetchBasic2 file matches

@bengoldUpdated 2 weeks ago

fetch1 file match

@raifyUpdated 2 weeks ago