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=image&page=60&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 6581 results for "image"(588ms)

cssNeuroNoiseGlslShaderV2moi.md1 match

@dcm31Updated 1 week ago
2title: "cssNeuroNoiseGlslShaderV2"
3description: "valtown version of a cool thing I found"
4imageUrl: "https://chatgpt.com/backend-api/public_content/enc/eyJpZCI6Im1fNjgxNTI5NTIxOGI4ODE5MWFjZGFiMGU3NjhmYjcxOTE6ZmlsZV8wMDAwMDAwMDU3Y2M2MWY3YTNkOWI1ZmQ1YjlmNTg4NCIsInRzIjoiNDg1MDYwIiwicCI6InB5aSIsInNpZyI6IjEwNjFjYTkxY2JjZjg1ODRhYzVlNzIyNWRkOWYyOWQwMGU1NzUzNWFmMWViMWFmNjAyODcwYWQ5Y2NkMTBjNTEiLCJ2IjoiMCIsImdpem1vX2lkIjpudWxsfQ=="
5url: "https://dcm31--98beda90278311f0b46e569c3dd06744.web.val.run"
6author: "dcm31"

puddlemain.tsx1 match

@iliazeusUpdated 1 week ago
48 title: z.string().max(100),
49 text: z.string().max(20 * 1024).optional(),
50 image: z.string().url().startsWith("data:").max(200 * 1024).optional(),
51 audio: z.string().url().startsWith("data:").max(200 * 1024).optional(),
52 video: z.string().url().startsWith("data:").max(200 * 1024).optional(),

pondiversegetCreations2 matches

@todepondUpdated 1 week ago
13 for (const row of res.rows) {
14 console.log("delete", row.id);
15 blob.delete("pondiverse_image" + row.id);
16 }
17
54 // for (let creation of response.rows) {
55 // creation.url = `https://pondiverse.val.run/get-creation?id=${creation.id}`;
56 // creation.image = `https://pondiverse.val.run/get-creation-image?id=${creation.id}`;
57 // }
58

pondiversegetCreation1 match

@todepondUpdated 1 week ago
14 // This makes forking harder sorry
15 // creation.uri = `https://pondiverse.val.run/get-creation?id=${creation.id}`;
16 // creation.image = `https://pondiverse.val.run/get-creation-image?id=${creation.id}`;
17 return Response.json(creation);
18}

pondiversegetCreation1 match

@iliazeusUpdated 1 week ago
13
14 creation.uri = `https://pondiverse.val.run/get-creation?id=${creation.id}`;
15 creation.image = `https://pondiverse.val.run/get-creation-image?id=${creation.id}`;
16 return Response.json(creation);
17}

pondiversegetCreations2 matches

@iliazeusUpdated 1 week ago
13 for (const row of res.rows) {
14 console.log("delete", row.id);
15 blob.delete("pondiverse_image" + row.id);
16 }
17
46 for (let creation of response.rows) {
47 creation.uri = `https://pondiverse.val.run/get-creation?id=${creation.id}`;
48 creation.image = `https://pondiverse.val.run/get-creation-image?id=${creation.id}`;
49 }
50

pondiverseupdateTable1 match

@iliazeusUpdated 1 week ago
9 data TEXT,
10 type TEXT,
11 image TEXT,
12 time DATETIME NOT NULL
13 )`,

pondiversemain3 matches

@iliazeusUpdated 1 week ago
1import addCreation from "./addCreation";
2import getCreation from "./getCreation";
3import getCreationImage from "./getCreationImage";
4import getCreations from "./getCreations";
5import updateTable from "./updateTable";
13 case "/get-creation":
14 return getCreation(req);
15 case "/get-creation-image":
16 return getCreationImage(req);
17 case "/get-creations":
18 return getCreations(req);

pondiversegetCreationImage1 match

@iliazeusUpdated 1 week ago
9 let response;
10 try {
11 response = await blob.get("pondiverse_image" + id);
12 } catch (e) {
13 return new Response(null, { status: 404 });

pondiverseaddCreation5 matches

@iliazeusUpdated 1 week ago
9 // - data (string)
10 // - type (string)
11 // - image (data url string)
12
13 // sanity checks:
15 // - data, hmm this needs to be long i guess.. maybe some crazy upper limit sanity check though
16 // - type, not too long
17 // - image, not toooo large a file size
18 let body;
19 try {
26 const data = body.data;
27 const type = body.type;
28 const image = body.image;
29
30 // Sanity checks
38 }
39
40 if (image.length > 20 * 1024 * 1024) {
41 return Response.json({ ok: false, error: "Thumbnail too large" });
42 }
57 );
58
59 await blob.set("pondiverse_image" + id.lastInsertRowid, image);
60 return Response.json({ ok: true });
61}

image-gen

@armadillomikeUpdated 1 day ago

gpt-image-test1 file match

@CaptainJackUpdated 2 days ago
测试 gpt image 的不同 api 能否满足图片生成要求
Chrimage
Atiq
"Focal Lens with Atig Wazir" "Welcome to my photography journey! I'm Atiq Wazir, a passionate photographer capturing life's beauty one frame at a time. Explore my gallery for stunning images, behind-the-scenes stories, and tips & tricks to enhance your own