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/$%7Bart_info.art.src%7D?q=image&page=104&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 9532 results for "image"(3811ms)

Apptypes.ts1 match

@Zee_paulUpdated 6 days ago
7 price: number;
8 category: string;
9 image_url?: string;
10 stock: number;
11 created_at: string;

RobbieCryptoList.tsx1 match

@RobbieUpdated 6 days ago
35 <div className="flex items-center space-x-3">
36 <img
37 src={crypto.image}
38 alt={crypto.name}
39 className="w-8 h-8 rounded-full"

Robbiecrypto.ts1 match

@RobbieUpdated 6 days ago
24 price_change_percentage_24h: coin.price_change_percentage_24h || 0,
25 market_cap: coin.market_cap,
26 image: coin.image
27 }));
28

Robbietypes.ts1 match

@RobbieUpdated 6 days ago
8 price_change_percentage_24h: number;
9 market_cap: number;
10 image: string;
11}
12

sqliteExplorerAppREADME.md1 match

@tobeofuseUpdated 6 days ago
3View and interact with your Val Town SQLite data. It's based off Steve's excellent [SQLite Admin](https://www.val.town/v/stevekrouse/sqlite_admin?v=46) val, adding the ability to run SQLite queries directly in the interface. This new version has a revised UI and that's heavily inspired by [LibSQL Studio](https://github.com/invisal/libsql-studio) by [invisal](https://github.com/invisal). This is now more an SPA, with tables, queries and results showing up on the same page.
4
5![image.webp](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/c8e102fd-39ca-4bfb-372a-8d36daf43900/public)
6
7## Install

ArtreonPortfolio.tsx15 matches

@UnzipMeUpdated 6 days ago
12 const [portfolio, setPortfolio] = useState<PortfolioItem[]>([]);
13 const [loading, setLoading] = useState(true);
14 const [selectedImage, setSelectedImage] = useState<PortfolioItem | null>(null);
15
16 useEffect(() => {
152 key={item.id}
153 className="bg-white rounded-lg shadow-md overflow-hidden card-hover cursor-pointer"
154 onClick={() => setSelectedImage(item)}
155 >
156 <img
157 src={item.image_url}
158 alt={item.title}
159 className="w-full h-64 object-cover"
183 </div>
184
185 {/* Image Modal */}
186 {selectedImage && (
187 <div
188 className="fixed inset-0 bg-black bg-opacity-75 flex items-center justify-center z-50 p-4"
189 onClick={() => setSelectedImage(null)}
190 >
191 <div
194 >
195 <div className="p-4 border-b flex justify-between items-center">
196 <h3 className="text-xl font-semibold">{selectedImage.title}</h3>
197 <button
198 onClick={() => setSelectedImage(null)}
199 className="text-gray-500 hover:text-gray-700"
200 >
205 </div>
206 <img
207 src={selectedImage.image_url}
208 alt={selectedImage.title}
209 className="w-full max-h-96 object-contain"
210 onError={(e) => {
211 e.currentTarget.src = `https://maxm-imggenurl.web.val.run/${encodeURIComponent(selectedImage.title + ' ' + selectedImage.category)}`;
212 }}
213 />
214 <div className="p-4">
215 <p className="text-gray-700 mb-4">{selectedImage.description}</p>
216 <div className="flex justify-between items-center">
217 <span className="bg-purple-100 text-purple-800 px-3 py-1 rounded">
218 {selectedImage.category}
219 </span>
220 {selectedImage.is_for_sale && selectedImage.price && (
221 <div className="text-right">
222 <div className="text-green-600 font-semibold text-lg">
223 ${(selectedImage.price / 100).toFixed(2)}
224 </div>
225 <button

ArtreonApp.tsx1 match

@UnzipMeUpdated 6 days ago
166 <div key={item.id} className="bg-white rounded-lg shadow-md overflow-hidden card-hover">
167 <img
168 src={item.image_url}
169 alt={item.title}
170 className="w-full h-48 object-cover"

Artreonindex.html1 match

@UnzipMeUpdated 6 days ago
14
15 <!-- Favicon -->
16 <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>">
17
18 <style>

Artreonportfolio.ts1 match

@UnzipMeUpdated 6 days ago
45
46 // Basic validation
47 if (!data.artist_id || !data.title || !data.description || !data.image_url || !data.category) {
48 return c.json({ error: "Missing required fields" }, 400);
49 }

Artreonqueries.ts2 matches

@UnzipMeUpdated 6 days ago
59export async function createPortfolioItem(data: CreatePortfolioItemRequest): Promise<PortfolioItem> {
60 const result = await sqlite.execute(`
61 INSERT INTO portfolio_items (artist_id, title, description, image_url, category, price, is_for_sale)
62 VALUES (?, ?, ?, ?, ?, ?, ?)
63 `, [
65 data.title,
66 data.description,
67 data.image_url,
68 data.category,
69 data.price || null,

image_generator1 file match

@affulitoUpdated 5 days ago
placeholdji

placeholdji2 file matches

@jjgUpdated 1 week ago
Placeholder image service with emojis 🖼️
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