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/$2?q=image&page=15&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 8501 results for "image"(2160ms)

Aiytindex.ts6 matches

@shaileshahndleUpdated 2 days ago
100 icons: [
101 {
102 src: "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%231f2937'/><text y='70' x='50' text-anchor='middle' font-size='60'>🎬</text></svg>",
103 sizes: "192x192",
104 type: "image/svg+xml"
105 },
106 {
107 src: "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%231f2937'/><text y='70' x='50' text-anchor='middle' font-size='60'>🎬</text></svg>",
108 sizes: "512x512",
109 type: "image/svg+xml"
110 }
111 ],
113 screenshots: [
114 {
115 src: "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 844'><rect width='390' height='844' fill='%23111827'/><text y='100' x='195' text-anchor='middle' fill='white' font-size='24'>Mobile Video Editor</text></svg>",
116 sizes: "390x844",
117 type: "image/svg+xml",
118 form_factor: "narrow"
119 }

Aiytindex.html1 match

@shaileshahndleUpdated 2 days ago
13
14 <!-- Favicon -->
15 <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎬</text></svg>">
16
17 <!-- TailwindCSS -->

personalShopperkroger-products.md4 matches

@charmaineUpdated 2 days ago
134 "heatSensitive": true
135 },
136 "images": [
137 {
138 "id": "string",
143 "id": "7df2d0a3-8349-44d4-9512-1dab89e675a9",
144 "size": "medium",
145 "url": "https://www.kroger.com/product/images/medium/front/0001111041700"
146 }
147 ]
223 "heatSensitive": true
224 },
225 "images": [
226 {
227 "id": "string",
232 "id": "7df2d0a3-8349-44d4-9512-1dab89e675a9",
233 "size": "medium",
234 "url": "https://www.kroger.com/product/images/medium/front/0001111041700"
235 }
236 ]

personalShopper.cursorrules2 matches

@charmaineUpdated 2 days ago
187## Val Town Platform Specifics
188- **Redirects:** Use `return new Response(null, { status: 302, headers: { Location: "/place/to/redirect" }})` instead of `Response.redirect` which is broken
189- **Images:** Avoid external images or base64 images. Use emojis, unicode symbols, or icon fonts/libraries instead
190- For AI-generated images, use: `https://maxm-imggenurl.web.val.run/the-description-of-your-image`
191- **Storage:** DO NOT use the Deno KV module for storage
192- **Browser APIs:** DO NOT use the `alert()`, `prompt()`, or `confirm()` methods

untitled-73index.html1 match

@devthom_studiosUpdated 2 days ago
29 .map-container {
30 position: relative;
31 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'%3E%3Cpath d='M150,200 Q200,150 250,200 T350,200 Q400,180 450,200 T550,200 Q600,220 650,200 T750,200 Q800,180 850,200' stroke='%23ffffff' stroke-width='2' fill='none' opacity='0.3'/%3E%3Cpath d='M100,300 Q150,250 200,300 T300,300 Q350,280 400,300 T500,300 Q550,320 600,300 T700,300 Q750,280 800,300' stroke='%23ffffff' stroke-width='2' fill='none' opacity='0.3'/%3E%3C/svg%3E");
32 background-size: cover;
33 }

Townieuser-summary.ts2 matches

@charmaineUpdated 2 days ago
18 SUM(cache_write_tokens) as total_cache_write_tokens,
19 SUM(price) as total_price,
20 SUM(num_images) as total_images
21 FROM ${USAGE_TABLE}
22 WHERE our_api_token = 1
101 total_cache_write_tokens: userData.cache_write_tokens,
102 total_price: userData.price,
103 total_images: 0,
104 used_inference_data: true
105 });

TownieuseChatLogic.ts4 matches

@charmaineUpdated 2 days ago
7 branchId: string | undefined;
8 selectedFiles: string[];
9 images: (string | null)[];
10 soundEnabled: boolean;
11}
17 // bearerToken,
18 selectedFiles,
19 images,
20 soundEnabled,
21}: UseChatLogicProps) {
40 branchId,
41 selectedFiles,
42 images: images
43 .filter((img): img is string => {
44 const isValid = typeof img === "string" && img.startsWith("data:");
45 if (!isValid && img !== null) {
46 console.warn(
47 "Invalid image format:",
48 img?.substring(0, 50) + "..."
49 );

TownieTODOs.md2 matches

@charmaineUpdated 2 days ago
29 - [x] File write as a code embed
30 - [x] str_replace as a diff view
31- [x] make image drop area invisible and bigger
32- [x] Give it all the code (except maybe .txt files) as initial context (like cursor sonnet max)
33- [x] I seem to have lost the delete file tool and instructions, try to find them back in history or re-create?
55- [x] Create branch
56- [x] URL input + pathname
57- [x] Image upload controls
58- [x] Preview refresh button
59- [x] Audio controls

Towniesystem_prompt.txt2 matches

@charmaineUpdated 2 days ago
155
156- **Redirects:** Use `return new Response(null, { status: 302, headers: { Location: "/place/to/redirect" }})` instead of `Response.redirect` which is broken
157- **Images:** Avoid external images or base64 images. Use emojis, unicode symbols, or icon fonts/libraries instead
158- **AI Image:** To inline generate an AI image use: `<img src="https://maxm-imggenurl.web.val.run/the-description-of-your-image" />`
159- **Storage:** DO NOT use the Deno KV module for storage
160- **Browser APIs:** DO NOT use the `alert()`, `prompt()`, or `confirm()` methods

Towniestyles.css11 matches

@charmaineUpdated 2 days ago
782 background-color: var(--highlight);
783}
784.card-image {
785 display: flex;
786 align-items: center;
809}
810
811.image-placeholder,
812.image-thumbnail {
813 flex-shrink: 0;
814 width: 40px;
817 object-fit: cover;
818}
819.image-placeholder {
820 background-color: var(--muted);
821}
828}
829
830.image-row {
831 display: flex;
832 gap: var(--space-1);
833}
834.input-image {
835 position: relative;
836 border: 1px solid var(--muted);
837 border-radius: 6px;
838}
839.remove-image-button {
840 position: absolute;
841 top: 0;
850 opacity: 0;
851}
852.input-image:hover .remove-image-button {
853 opacity: 1;
854}
855
856.image-drop-overlay {
857 position: fixed;
858 top: 0;
867 justify-content: center;
868}
869.image-drop-inner {
870 padding: var(--space-2);
871 background-color: var(--background);
872}
873
874.transition, .input-box, .icon-button, .button, .remove-image-button {
875 transition-property: color, background-color, border-color, opacity;
876 transition-duration: 200ms;
placeholdji

placeholdji2 file matches

@jjgUpdated 3 days ago
Placeholder image service with emojis 🖼️

image_proxy

@oopsUpdated 1 week 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