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%20%22Optional%20title%22?q=image&page=3&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 6454 results for "image"(1475ms)

imagetopdf1 file match

@shubham02•Updated 3 months ago

MultiImageCompressor1 file match

@robbert_h•Updated 3 months ago

imageConverterAppGlassUI1 file match

@gitmanish01•Updated 3 months ago

replaceEmojisWithImages2 file matches

@tr3ntg•Updated 3 months ago

textToSixImageGenerator1 file match

@Nandu•Updated 3 months ago

reactImageStackerApp1 file match

@jjg•Updated 4 months ago

opengraphImageCreator1 file match

@itseieio•Updated 4 months ago

opengraphImageCreator1 file match

@stevekrouse•Updated 4 months ago

gpt4o_images1 file match

@bao•Updated 4 months ago

image2pdf1 file match

@kvrt•Updated 5 months ago

mastodon-pogodanew-file-2457.tsx3 matches

@tomasz•Updated 12 mins ago
4
5import L from "npm:leaflet";
6import leafletImage from "npm:leaflet-image";
7import { useEffect, useRef } from "npm:react";
8import { MapContainer, Marker, Popup, TileLayer, useMap } from "npm:react-leaflet";
35 // Poczekaj aż kafelki się załadują
36 setTimeout(() => {
37 leafletImage(map, async (err, canvas) => {
38 if (err) {
39 console.error("leaflet-image error:", err);
40 return;
41 }
65 InitialEmbedWarningFieldTitle: string;
66 InitialEmbedWarningFieldValue: string;
67 InitialEmbedImageUrl: string;
68 InitialEmbedThumbnailUrl: string;
69 InitialEmbedFooterText: string;
87 fieldWarningText: string;
88 fieldJumpTitle: string;
89 imageUrl: string;
90 thumbnailUrl: string;
91 color: string;
98 fieldWarningTitle: string;
99 fieldWarningText: string;
100 imageUrl: string;
101 thumbnailUrl: string;
102 color: string;
114}
115
116interface EnglishAlphabetImageUrls {
117 alphabetIndexImages: Record<string, string>;
118}
119
203}
204
205// Load alphabet image URLs
206async function loadAlphabetImageUrls() {
207 try {
208 const imageUrls = await blob.getJSON("englishalphabetimageurls") as EnglishAlphabetImageUrls;
209 if (!imageUrls) {
210 // If not found, initialize from the provided JSON file
211 const imageUrlsString = await blob.get("englishalphabetimageurls.json") as string;
212 const imageUrlsJson = JSON.parse(imageUrlsString);
213 await blob.setJSON("englishalphabetimageurls", imageUrlsJson);
214 return imageUrlsJson.alphabetIndexImages;
215 }
216 return imageUrls.alphabetIndexImages;
217 } catch (error) {
218 console.error("Error loading alphabet image URLs:", error);
219 throw error;
220 }
352 },
353 ],
354 image: {
355 url: initialEmbedData.InitialEmbedImageUrl || "https://media.tenor.com/I6kN-6X7nhAAAAAi/loading-buffering.gif",
356 },
357 thumbnail: {
405 mapData: HellLetLooseMapData,
406 appSettings: AppSettings,
407 alphabetImages: Record<string, string>,
408) {
409 try {
430 color: embedColor,
431 thumbnail: {
432 url: alphabetImages[firstCharacter] || `https://i.imgur.com/POhK1wg.png`, // Default to "A" if not found
433 },
434 };
631 },
632 ],
633 image: {
634 url: bookendData.bottomBookend.imageUrl,
635 },
636 thumbnail: {
694 },
695 ],
696 image: {
697 url: bookendData.topBookend.imageUrl,
698 },
699 thumbnail: {
803 }
804
805 const hasAlphabetImages = await blob.getJSON("englishalphabetimageurls");
806 if (!hasAlphabetImages) {
807 console.log("Loading alphabet image URLs from file...");
808 const alphabetImagesContent = await Deno.readTextFile("englishalphabetimageurls.json");
809 await blob.setJSON("englishalphabetimageurls", JSON.parse(alphabetImagesContent));
810 }
811
826 const appSettings = await loadConfigurations();
827 const mapData = await loadMapData();
828 const alphabetImages = await loadAlphabetImageUrls();
829 const initialEmbedData = await loadInitialEmbedData();
830 const bookendData = await loadCompletedVoteBookendEmbedData();
841 mapData,
842 appSettings,
843 alphabetImages,
844 );
845
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