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?q=image&page=97&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 9828 results for "image"(2217ms)

TownieChatRouteSingleColumn.tsx15 matches

@diana123•Updated 1 week ago
9import { useUsageStats } from "../hooks/useUsageStats.ts";
10import { Messages } from "./Messages.tsx";
11import { InputBox, ImageDropContainer } from "./InputBox.tsx";
12import { PreviewFrame } from "./PreviewFrame.tsx";
13import { BranchSelect } from "./BranchSelect.tsx";
66 refetch: () => void;
67}) {
68 const [images, setImages] = useState<(string|null)[]>([]);
69 const [selectedFiles, setSelectedFiles] = useState<string[]>([]);
70 const { audio, user } = useContext(AppContext);
85 branchId,
86 selectedFiles,
87 images,
88 soundEnabled: audio,
89 });
109
110 return (
111 <ImageDropContainer
112 running={running}
113 images={images}
114 setImages={setImages}>
115 <div className="single-column-container">
116 <div className="single-sticky-header">
120 rel="norefferer"
121 className="block-link text-link lockup">
122 {project.imageUrl ? (
123 <img src={project.imageUrl} className="image-thumbnail" />
124 ) : user?.profileImageUrl ? (
125 <img
126 src={user.profileImageUrl}
127 className="avatar"
128 alt={user.username}
131 />
132 ) : (
133 <div className="image-placeholder" />
134 )}
135 <div>{project.name}</div>
178 onSubmit={e => {
179 handleSubmit(e);
180 setImages([]);
181 }}
182 onCancel={handleStop}
183 running={running}
184 error={error}
185 images={images}
186 setImages={setImages}
187 />
188 )}
190 </div>
191 </div>
192 </ImageDropContainer>
193 );
194}

Chatroomnew-file-9976.tsx1 match

@Achol•Updated 1 week ago
1createImageBitmap

reactHonoStarterindex.html1 match

@archie•Updated 1 week ago
6 <title>React Hono Val Town Starter</title>
7 <link rel="stylesheet" href="/frontend/style.css">
8 <link rel="icon" href="/frontend/favicon.svg" type="image/svg+xml">
9 </head>
10 <body>

untitled-779main.tsx2 matches

@aphiri•Updated 1 week ago
609 <div class="form-row">
610 <div class="form-group">
611 <label for="victimAge">Age</label>
612 <input type="number" id="victimAge" min="0" max="120">
613 </div>
614 <div class="form-group">

untitled-779new-file-116.tsx2 matches

@aphiri•Updated 1 week ago
609 <div class="form-row">
610 <div class="form-group">
611 <label for="victimAge">Age</label>
612 <input type="number" id="victimAge" min="0" max="120">
613 </div>
614 <div class="form-group">

reactHonoStarterindex.html1 match

@ETLS•Updated 1 week ago
6 <title>React Hono Val Town Starter</title>
7 <link rel="stylesheet" href="/frontend/style.css">
8 <link rel="icon" href="/frontend/favicon.svg" type="image/svg+xml">
9 </head>
10 <body>

templateTwitterAlertREADME.md3 matches

@emeldaagala•Updated 1 week ago
9## Example
10This val tracks mentions of "Val Town" and related terms, excluding noise like retweets and irrelevant accounts. Notifications are sent to a Discord webhook but can be easily reconfigured for other platforms.
11<img src="https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/85912106-f625-443e-5321-6e2699453200/public" width="500"/>
12To see exactly how we use this template at Val Town: https://www.val.town/x/stevekrouse/twitterAlert
13
16### 1. Fork this Val
17To use this template, fork this val on the top right corner of this page.
18![Screenshot 2025-01-10 at 1.22.10 PM.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/c4ae349d-7e28-4378-8646-21c8958e1f00/public)
19
20### 2. View Source Code
21<em>The `CODE` box shows you the the full source code of this val, you may need to scroll down to see it.</em>
22![image.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/6a4dabb4-3b27-4cea-fce3-95a1a1c3cd00/public)
23
24### 3. Customize Query

bookFileUpload.tsx1 match

@realmbadiwe98•Updated 1 week ago
167 <strong>Troubleshooting tips:</strong>
168 <ul className="list-disc list-inside mt-1">
169 <li>For PDFs: Ensure the file is not password-protected or image-only</li>
170 <li>For EPUB: Try converting to PDF or TXT if processing fails</li>
171 <li>For DOCX: Try saving as TXT or PDF format</li>

bookfileProcessors.ts1 match

@realmbadiwe98•Updated 1 week ago
215
216 if (!fullText.trim()) {
217 throw new Error('No readable text found in PDF. The file might be image-based or corrupted.');
218 }
219

bookREADME.md2 matches

@realmbadiwe98•Updated 1 week ago
88### PDF Files
89- **"PDF.js library not loaded"**: Refresh the page and try again
90- **"No readable text found"**: The PDF might be image-based (scanned) or corrupted
91- **"Password-protected PDFs"**: Not supported - please remove password protection first
92
100
101### General Issues
102- **"No readable content found"**: Ensure the file contains actual text (not just images)
103- **File too large**: Large files (>50MB) may take longer to process or fail
104- **Browser compatibility**: Works best in modern browsers (Chrome, Firefox, Safari, Edge)

pdf-image1 file match

@stevekrouse•Updated 1 day ago

thilenius-webcam1 file match

@stabbylambda•Updated 4 days ago
Image proxy for the latest from https://gliderport.thilenius.com
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