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/$%7Burl%7D?q=image&page=572&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 6646 results for "image"(662ms)

twitterRecentMentionsmain.tsx1 match

@charmaine•Updated 7 months ago
32 username: tweet.user.screen_name,
33 name: tweet.user.name,
34 profile_image: tweet.user.profile_image_url_https,
35 media: tweet.entities?.media?.[0]?.media_url_https,
36 }));

socialDataUpdatemain.tsx3 matches

@charmaine•Updated 7 months ago
1// This val fetches recent tweets about @SnapAR or Lens Studio, removes duplicates,
2// and displays them as embedded tweets with preview images on a dark background.
3// Updated to use Social Data instead of Twitter API
4
6
7// This val fetches recent social media posts about @SnapAR or Lens Studio using socialDataSearch,
8// and displays them as embedded posts with preview images on a dark background.
9
10export default async function server(request: Request): Promise<Response> {
35 username: tweet.user.screen_name,
36 name: tweet.user.name,
37 profile_image: tweet.user.profile_image_url_https,
38 media: tweet.entities?.media?.[0]?.media_url_https,
39 }));

blob_adminREADME.md1 match

@calintamas•Updated 7 months ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![b7321ca2cd80899250589b9aa08bc3cae9c7cea276282561194e7fc537259b46.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/311a81bb-18d8-4583-b7e3-64bac326f700/public)
6
7Use this button to install the val:

sqliteExplorerAppREADME.md1 match

@molefrog•Updated 7 months 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

pushmain.tsx1 match

@jrmann100•Updated 7 months ago
92 appName: 'ValPush',
93 appIconUrl: '${iconURL}',
94 assetUrl: 'https://cdn.jsdelivr.net/gh/philfung/add-to-homescreen@1.9/dist/assets/img/', // Link to directory of library image assets.
95 maxModalDisplayCount: -1
96});

passionateBeigeButterflyREADME.md1 match

@stevekrouse•Updated 7 months 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

replaceEmojisWithImagesREADME.md1 match

@tmcw•Updated 7 months ago
2
3- `node-emoji` [github here](https://github.com/omnidan/node-emoji) - replaces all emojis with spans
4- emoji images for replacement are hosted at netlify (sourced from private repo)

replaceEmojisWithImagesmain.tsx1 match

@tmcw•Updated 7 months ago
1export async function replaceEmojisWithImages(
2 req: express.Request,
3 res: express.Response,

generateRAdioDjRssmain.tsx2 matches

@tmcw•Updated 7 months ago
5export const generateRAdioDjRss = async () => {
6 const rssItems = previousDjs.map((dj) => {
7 const djImgSrc = `https://r-a-d.io/api/dj-image/${
8 encodeURIComponent(
9 dj.djimage,
10 )
11 }`

hiraganaWordBuildermain.tsx18 matches

@ashryanio•Updated 7 months ago
60 const [isComplete, setIsComplete] = useState(false);
61 const [inputStatus, setInputStatus] = useState([]);
62 const [imageData, setImageData] = useState("");
63 const [isLoading, setIsLoading] = useState(false);
64 const [isTransitioning, setIsTransitioning] = useState(false);
88 };
89
90 const fetchImage = async (romaji) => {
91 setIsLoading(true);
92 try {
93 const response = await fetch(`/api/image/${romaji}`);
94 if (!response.ok) {
95 throw new Error("Failed to fetch image");
96 }
97 const data = await response.json();
98 if (data && data.image) {
99 const dataUrl = `data:image/png;base64,${data.image}`;
100 setImageData(dataUrl);
101 } else {
102 throw new Error("Invalid image data received");
103 }
104 } catch (error) {
105 console.error("Error fetching image:", error);
106 setImageData("");
107 } finally {
108 setIsLoading(false);
119 setInputStatus([]);
120 setIsComplete(false);
121 fetchImage(newWord.romaji);
122 setIsTransitioning(false);
123 }, 300);
178 </div>
179 )
180 : imageData
181 ? <img src={imageData} alt="Vocabulary word" className="w-40 h-40 object-cover rounded-lg shadow-md" />
182 : (
183 <div className="w-40 h-40 flex items-center justify-center bg-gray-200 rounded-lg">
184 <span className="text-gray-500">No image available</span>
185 </div>
186 )}
264 const url = new URL(request.url);
265
266 if (url.pathname.startsWith("/api/image/")) {
267 const romaji = url.pathname.split("/").pop();
268 try {
269 // This is a placeholder for the actual image retrieval from Val Town blob storage
270 // You'll need to implement the actual retrieval logic here
271 const vocabularyJson = await blob.getJSON(romaji);
275 });
276 } catch (error) {
277 console.error("Error fetching image:", error);
278 return new Response("Image not found", { status: 404 });
279 }
280 }

thilenius-webcam1 file match

@stabbylambda•Updated 7 hours ago
Image proxy for the latest from https://gliderport.thilenius.com

image-gen

@armadillomike•Updated 3 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