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/image-url.jpg%20%22Image%20title%22?q=fetch&page=711&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 9076 results for "fetch"(1792ms)

htmxCounterExamplemain.tsx1 match

@yawnxyz•Updated 11 months ago
75});
76
77export default app.fetch;

openAIStreamingREADME.md2 matches

@maxm•Updated 11 months ago
10assistant > Here are a few fun Val ideas you could build on Val Town:
11
121. **Random Joke Generator:** Fetch a random joke from an API and display it.
132. **Daily Weather Update:** Pull weather data for your location using an API and create a daily summary.
143. **Mini Todo List:** Create a simple to-do list app with add, edit, and delete functionalities.
154. **Chuck Norris Facts:** Display a random Chuck Norris fact sourced from an API.
165. **Motivational Quote of the Day:** Fetch and display a random motivational quote each day.
17
18Which one sounds interesting to you?

lastloginHonoREADME.md1 match

@pomdtr•Updated 11 months ago
35 );
36});
37export default app.fetch;
38```

random_change_github_statusmain.tsx1 match

@arrudaricardo•Updated 11 months ago
16
17while (!message) {
18 const adviceResponse = await fetch("https://api.adviceslip.com/advice");
19 const adviceJson: AdviceResponse = await adviceResponse.json();
20 const newMessage = adviceJson.slip.advice + "@ x.arruda.dev/v";

buildclubProjectSearchmain.tsx3 matches

@yawnxyz•Updated 11 months ago
65const defaultEmbeddingColumn = "Embeddings";
66
67async function fetchAirtableData(baseId, tableName, nameColumn, contentColumn, embeddingColumn) {
68 const base = new Airtable({ apiKey: airtableApiKey }).base(baseId);
69 const records = await base(tableName).select().all();
86
87 try {
88 const documents = await fetchAirtableData(baseId, tableName, nameColumn, contentColumn, embeddingColumn);
89 console.log('documents:', documents)
90 await semanticSearch.addDocuments({documents, fields: 'embeddingsContent'});
132});
133
134export default app.fetch;
135

airtablesemanticsearchmain.tsx4 matches

@yawnxyz•Updated 11 months ago
18const defaultEmbeddingColumn = "Embeddings";
19
20async function fetchAirtableData(baseId, tableName, contentColumn, embeddingColumn) {
21 const base = new Airtable({ apiKey: airtableApiKey }).base(baseId);
22 const records = await base(tableName).select().all();
41
42 try {
43 const documents = await fetchAirtableData(baseId, tableName, contentColumn, embeddingColumn);
44 await semanticSearch.addDocuments(documents);
45
63
64 try {
65 const documents = await fetchAirtableData(baseId, tableName, contentColumn, embeddingColumn);
66 await semanticSearch.addDocuments(documents);
67
74});
75
76export default app.fetch;

imageDownSizermain.tsx2 matches

@yawnxyz•Updated 11 months ago
8
9function esmTown(url) {
10 return fetch(url, {
11 headers: {
12 "User-Agent":
17
18const app = new Hono();
19export default app.fetch;
20
21app.get("/", async (c) =>

tealRattlesnakemain.tsx1 match

@pomdtr•Updated 11 months ago
14});
15
16export default app.fetch;

blob_adminmain.tsx2 matches

@Daniel•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/hono@4.0.8/jsx **/
2
3import { modifyFetchHandler } from "https://esm.town/v/andreterron/codeOnValTown?v=50";
4import view_route from "https://esm.town/v/pomdtr/blob_admin_blob";
5import create_route from "https://esm.town/v/pomdtr/blob_admin_create";
153});
154
155export default modifyFetchHandler(passwordAuth(app.fetch));

telegrammain.tsx1 match

@austinm911•Updated 11 months ago
25
26async function telegramRequest(path, body, authorization?: string) {
27 const response = await fetch("https://stevekrouse-telegramValTownAPI.web.val.run/" + path, {
28 method: "POST",
29 body: JSON.stringify(body),

proxyFetch2 file matches

@vidar•Updated 4 hours ago

TAC_FetchBasic2 file matches

@A7_OMC•Updated 19 hours ago