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=552&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 6694 results for "image"(933ms)

blob_adminmain.tsx5 matches

@tionisUpdated 5 months ago
440 {profile && (
441 <div className="flex items-center space-x-4">
442 <img src={profile.profileImageUrl} alt="Profile" className="w-8 h-8 rounded-full" />
443 <span>{profile.username}</span>
444 <a href="/auth/logout" className="text-blue-400 hover:text-blue-300">Logout</a>
583 alt="Blob content"
584 className="max-w-full h-auto"
585 onError={() => console.error("Error loading image")}
586 />
587 </div>
635 <li>Create public shareable links for blobs</li>
636 <li>View and manage public folder</li>
637 <li>Preview images directly in the interface</li>
638 </ul>
639 </div>
693 const { ValTown } = await import("npm:@valtown/sdk");
694 const vt = new ValTown();
695 const { email: authorEmail, profileImageUrl, username } = await vt.me.profile.retrieve();
696 // const authorEmail = me.email;
697
761
762 c.set("email", email);
763 c.set("profile", { profileImageUrl, username });
764 await next();
765};

patientGreenSkinkREADME.md1 match

@pomdtrUpdated 5 months ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![Screenshot 2024-11-22 at 15.43.43@2x.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/d075a4ee-93ec-4cdd-4823-7c8aee593f00/public)
6
7Versions 0-17 of this val were done with Hono and server-rendering.

patientGreenSkinkmain.tsx5 matches

@pomdtrUpdated 5 months ago
440 {profile && (
441 <div className="flex items-center space-x-4">
442 <img src={profile.profileImageUrl} alt="Profile" className="w-8 h-8 rounded-full" />
443 <span>{profile.username}</span>
444 <a href="/auth/logout" className="text-blue-400 hover:text-blue-300">Logout</a>
583 alt="Blob content"
584 className="max-w-full h-auto"
585 onError={() => console.error("Error loading image")}
586 />
587 </div>
635 <li>Create public shareable links for blobs</li>
636 <li>View and manage public folder</li>
637 <li>Preview images directly in the interface</li>
638 </ul>
639 </div>
693 const { ValTown } = await import("npm:@valtown/sdk");
694 const vt = new ValTown();
695 const { email: authorEmail, profileImageUrl, username } = await vt.me.profile.retrieve();
696 // const authorEmail = me.email;
697
761
762 c.set("email", email);
763 c.set("profile", { profileImageUrl, username });
764 await next();
765};

slidesmain.tsx3 matches

@curtcoxUpdated 5 months ago
1const imageCyclerPage = (text: string) =>
2 `<!DOCTYPE html>
3<html>
4<head>
5 <title>Image Cycler</title>
6 <style>
7 body {
111
112 // Return the fetched content with the original content type
113 return new Response(imageCyclerPage(text), {
114 headers: {
115 "Content-Type": "text/html",

glifInventorymain.tsx10 matches

@jamiedubsUpdated 5 months ago
6const KEY = "glifInventory";
7const INVENTORY_TABLE = `${KEY}_inventory_${SCHEMA_VERSION}`;
8const DEFAULT_IMAGE_URL = "https://res.cloudinary.com/dzkwltgyd/image/upload/v1733165766/image-input-block-production/apjbm5nfc6yoevwnisxh.jpg";
9
10// Inventory Database Initialization
16 item_name TEXT NOT NULL,
17 item_type TEXT NOT NULL,
18 image_url TEXT NOT NULL,
19 description TEXT,
20 quantity INTEGER NOT NULL DEFAULT 1,
51 .min(1, "Item name is required")
52 .max(100, "Item name must be 100 characters or less"),
53 image: z.string()
54 .url("Valid image URL is required")
55 .max(500, "Image URL must be 500 characters or less")
56 .optional(),
57 type: z.string()
111 id: row.id,
112 name: row.item_name,
113 image: row.image_url,
114 type: row.item_type,
115 description: row.description,
129 await sqlite.execute(
130 `INSERT INTO ${INVENTORY_TABLE} (
131 id, address, item_name, item_type, image_url,
132 description, quantity, weight, rarity, durability
133 ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
140 item.name,
141 item.type,
142 item.image || DEFAULT_IMAGE_URL,
143 item.description || null,
144 item.quantity || 1,
393 "item": {
394 "name": "Magic Sword",
395 "image": "https://example.com/sword.png",
396 "type": "tool",
397 "description": "A powerful magical sword",
400 }
401}'</code></pre>
402 <p>Note: The "image" field is optional. If not provided, a default image will be used.</p>
403
404 <h3 class="route">POST /remove</h3>

blob_adminREADME.md1 match

@cameronpakUpdated 5 months ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![Screenshot 2024-11-22 at 15.43.43@2x.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/d075a4ee-93ec-4cdd-4823-7c8aee593f00/public)
6
7Versions 0-17 of this val were done with Hono and server-rendering.

blob_adminmain.tsx5 matches

@cameronpakUpdated 5 months ago
440 {profile && (
441 <div className="flex items-center space-x-4">
442 <img src={profile.profileImageUrl} alt="Profile" className="w-8 h-8 rounded-full" />
443 <span>{profile.username}</span>
444 <a href="/auth/logout" className="text-blue-400 hover:text-blue-300">Logout</a>
583 alt="Blob content"
584 className="max-w-full h-auto"
585 onError={() => console.error("Error loading image")}
586 />
587 </div>
635 <li>Create public shareable links for blobs</li>
636 <li>View and manage public folder</li>
637 <li>Preview images directly in the interface</li>
638 </ul>
639 </div>
693 const { ValTown } = await import("npm:@valtown/sdk");
694 const vt = new ValTown();
695 const { email: authorEmail, profileImageUrl, username } = await vt.me.profile.retrieve();
696 // const authorEmail = me.email;
697
761
762 c.set("email", email);
763 c.set("profile", { profileImageUrl, username });
764 await next();
765};

blob_adminREADME.md1 match

@eowczarekUpdated 5 months ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![Screenshot 2024-11-22 at 15.43.43@2x.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/d075a4ee-93ec-4cdd-4823-7c8aee593f00/public)
6
7Versions 0-17 of this val were done with Hono and server-rendering.

blob_adminmain.tsx5 matches

@eowczarekUpdated 5 months ago
440 {profile && (
441 <div className="flex items-center space-x-4">
442 <img src={profile.profileImageUrl} alt="Profile" className="w-8 h-8 rounded-full" />
443 <span>{profile.username}</span>
444 <a href="/auth/logout" className="text-blue-400 hover:text-blue-300">Logout</a>
583 alt="Blob content"
584 className="max-w-full h-auto"
585 onError={() => console.error("Error loading image")}
586 />
587 </div>
635 <li>Create public shareable links for blobs</li>
636 <li>View and manage public folder</li>
637 <li>Preview images directly in the interface</li>
638 </ul>
639 </div>
693 const { ValTown } = await import("npm:@valtown/sdk");
694 const vt = new ValTown();
695 const { email: authorEmail, profileImageUrl, username } = await vt.me.profile.retrieve();
696 // const authorEmail = me.email;
697
761
762 c.set("email", email);
763 c.set("profile", { profileImageUrl, username });
764 await next();
765};

image2pdfmain.tsx9 matches

@kvrtUpdated 5 months ago
19
20 const formData = new FormData();
21 formData.append('image', file);
22
23 try {
44 textAlign: 'center'
45 }}>
46 <h1>🖼️ Image to PDF Converter</h1>
47 <input
48 type="file"
49 accept="image/jpeg,image/png,image/gif"
50 onChange={handleFileChange}
51 />
104 if (request.method === 'POST') {
105 const formData = await request.formData();
106 const imageFile = formData.get('image') as File;
107
108 if (!imageFile) {
109 return new Response('No image uploaded', { status: 400 });
110 }
111
112 const arrayBuffer = await imageFile.arrayBuffer();
113 const pdfDoc = await PDFDocument.create();
114 const page = pdfDoc.addPage();
122 );
123
124 page.drawImage(img, {
125 x: (pageWidth - img.width * imgScale) / 2,
126 y: (pageHeight - img.height * imgScale) / 2,
142 <html>
143 <head>
144 <title>Image to PDF Converter</title>
145 <script src="https://esm.town/v/std/catch"></script>
146 </head>

thilenius-webcam1 file match

@stabbylambdaUpdated 1 day ago
Image proxy for the latest from https://gliderport.thilenius.com

image-gen

@armadillomikeUpdated 4 days ago
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