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/?q=image&page=577&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 6019 results for "image"(1406ms)

3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![Screenshot 2023-12-13 at 12.51.53.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/1fea7162-8c9d-4e93-b153-9bcf971ef800/public)
6
7To use it on your own Val Town Blob Storage, [fork it](https://www.val.town/v/stevekrouse/blob_admin/fork) to your account.

HTHTMXmain.tsx1 match

@wilhelmUpdated 1 year ago
20 <link
21 rel="icon"
22 href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⚙️</text></svg>"
23 />
24 <title>{title}</title>

setSFTidbytImagemain.tsx3 matches

@squarethecircleUpdated 1 year ago
2import process from "node:process";
3
4export async function setSFTidbytImage({ image, key }: {
5 image: string;
6 key: string;
7}) {
17 body: JSON.stringify({
18 "deviceID": deviceId,
19 "image": image,
20 "installationID": key,
21 "background": false,

ImgGeneratormain.tsx4 matches

@raymanUpdated 1 year ago
2import { formatTitle } from "https://esm.town/v/rayman/FormatTitle";
3
4// Dimensions for the image
5const width = 1200;
6const height = 626;
7
8const post = {
9 title: "Draw and save images with Canvas",
10};
11
36
37// Send back as a response
38const buffer = canvas.toBuffer("image/png");
39
40export default () => {
41 return new Response(buffer, { headers: { "Content-Type": "image/png" } });
42};

ImgGenmain.tsx1 match

@raymanUpdated 1 year ago
4 const img = await text2png("Just give me the PNG", "magenta", 30); // returns a `Blob`
5 return new Response(img, {
6 headers: { "Content-type": "image/png" },
7 });
8}

favmain.tsx1 match

@yieldrayUpdated 1 year ago
88 {
89 headers: {
90 "content-type": "image/svg+xml",
91 },
92 },

imagescriptExamplexmain.tsx4 matches

@tmcwUpdated 1 year ago
1export let imagescriptExamplex = (async () => {
2 const { Image } = await import(
3 "https://deno.land/x/imagescript@1.2.15/mod.ts"
4 );
5 const circle = await Image.renderSVG(`<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10">
6 <circle x="5" y="5" r="3" />
7 </svg>`);

untitled_tanHareREADME.md1 match

@vezUpdated 1 year ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![Screenshot 2023-12-13 at 12.51.53.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/1fea7162-8c9d-4e93-b153-9bcf971ef800/public)
6
7To use it on your own Val Town Blob Storage, [fork it](https://www.val.town/v/stevekrouse/blob_admin/fork) to your account.

aoc_2023_13main.tsx1 match

@robsimmonsUpdated 1 year ago
84
85# The way we reflect is that we actually assert that the reflected
86# image to the left/top of the mirror exists on top of the
87# right/bottom part. In any case where the mirror is incorrectly
88# placed, this will result in a contradiction and invalidate the

htmlBuildermain.tsx1 match

@xkontiUpdated 1 year ago
57
58 addFavicon(href: string): Page {
59 this.links.push(`<link rel="icon" href="${href}" type="image/x-icon">`);
60 return this;
61 }

brainrot_image_gen1 file match

@dcm31Updated 6 days ago
Generate images for Italian Brainrot characters using FAL AI

modifyImage2 file matches

@stevekrouseUpdated 6 days ago
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