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/?q=image&page=599&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 6326 results for "image"(1571ms)

framemain.tsx4 matches

@nlnwUpdated 1 year ago
6const app = new Hono();
7
8async function renderImage(s: string, color: string) {
9 const fontArrayBuf = await fetch(
10 "https://cdn.jsdelivr.net/npm/roboto-font@0.1.0/fonts/Roboto/roboto-regular-webfont.ttf",
70 }
71 }
72 return c.body(await renderImage(text, color), 200, { "Content-Type": "image/png" });
73});
74
78 <meta property="fc:frame" content="vNext" />
79 <meta
80 property="fc:frame:image"
81 content="https://nlnw-frame.web.val.run/satori"
82 />
97 <meta property="fc:frame" content="vNext" />
98 <meta
99 property="fc:frame:image"
100 content={`https://nlnw-frame.web.val.run/satori?button=${buttonIndex}`}
101 />

frameREADME.md1 match

@nlnwUpdated 1 year ago
1Minimal val.town Farcaster Frame example. It supports dynamic image generation with Satori and ReSVG, and it's compatible with the Open Frames standard.

cdnmain.tsx2 matches

@pomdtrUpdated 1 year ago
4
5async function createScreenshot(code: string) {
6 const apiUrl = "https://sourcecodeshots.com/api/image";
7 const resp = await fetch(apiUrl, {
8 method: "POST",
107 return new Response(screenshot, {
108 headers: {
109 "Content-Type": "image/png",
110 },
111 });

json_viewerREADME.md1 match

@vladimyrUpdated 1 year ago
1# Inspector to browser json data in HTTP vals
2
3![Screenshot 2024-02-23 at 9.31.42 AM.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/50a08934-5f7f-41c4-2bfe-46b51612ae00/public)
4
5Live example: https://stevekrouse-weatherdescription.web.val.run/

http_clientREADME.md2 matches

@stevekrouseUpdated 1 year ago
3Attach a postman-like http client to your vals, with bookmarks and history support
4
5![2fa974c630d393c3b4f419de8a142a2f35a11ceebda42d195b07623889e5604e.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/72cd491e-9503-46c5-9c7c-3a78c975d600/public)
6
7## Usage
37```
38
39![ad7b95611871eb090ddadfa48f73d14692280e5389db1592403053d311aaa623.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/b8b5e323-a683-408c-5d8e-663554bca800/public)
40
41

umbrellaReminderREADME.md1 match

@mojomboUpdated 1 year ago
1# ☔️ Umbrella reminder if there's rain today
2
3![Screenshot 2023-09-14 at 12.31.32.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/d82916ca-f8d9-4b49-88c6-420ab67a7700/public)
4
5## Setup

supirmain.tsx3 matches

@turbo1912Updated 1 year ago
7 const result = await fal.subscribe("fal-ai/supir", {
8 input: {
9 image_url: "https://storage.googleapis.com/falserverless/gallery/NOCA_Mick-Thompson.resized.resized.jpg",
10 },
11 logs: true,
16 },
17 });
18 console.log(result.image.url);
19 console.log(
20 renderToString(
25 <body>
26 <h1>gorkem</h1>
27 <img src={result.image.url} />
28 </body>
29 </html>,

sqliteExplorerAppREADME.md1 match

@parkerdavisUpdated 1 year 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

http_clientREADME.md2 matches

@pomdtrUpdated 1 year ago
3Attach a postman-like http client to your vals, with bookmarks and history support
4
5![2fa974c630d393c3b4f419de8a142a2f35a11ceebda42d195b07623889e5604e.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/72cd491e-9503-46c5-9c7c-3a78c975d600/public)
6
7## Usage
37```
38
39![ad7b95611871eb090ddadfa48f73d14692280e5389db1592403053d311aaa623.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/b8b5e323-a683-408c-5d8e-663554bca800/public)
40
41

password_authREADME.md1 match

@parkerdavisUpdated 1 year ago
3Protect your vals behind a password. Use session cookies to persist authentication.
4
5![6ed0648ae8813e958dbe79468572cb52f578239c0fae55857a13660beebdc5fd.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/36c1dc4f-4e19-457b-ad89-0bf139754e00/public)
6
7## Demo

image-inpainting1 file match

@themichaellaiUpdated 4 hours ago

brainrot_image_gen1 file match

@dcm31Updated 1 week ago
Generate images for Italian Brainrot characters using FAL AI
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