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=277&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 2788 results for "image"(669ms)

activitypubmain.tsx2 matches

@tmcw•Updated 1 year ago
51 followers: `https://${DOMAIN}/u/bot/followers`,
52 icon: {
53 type: "Image",
54 mediaType: "image/jpeg",
55 url: "https://macwright.com/graphics/about.jpg",
56 },

retroVisitCounterREADME.md1 match

@maxm•Updated 1 year ago
5How special!
6
7Want a retro visitor counter for your myspace page or geocities website? Fork this val and add the image link to your website:
8
9```

nyChargingStationsREADME.md1 match

@tmcw•Updated 1 year ago
1# NYC Charging Stations Data Analysis
2
3![CleanShot 2023-09-21 at 12.07.43@2x.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/646cccab-ca23-486d-d084-8a805e73ac00/public)
4
5https://tmcw-nychargingstations.web.val.run/

dsnyEventsFeedREADME.md1 match

@tmcw•Updated 1 year ago
1# DSNY Events Feed
2
3![CleanShot 2023-09-21 at 11.14.30@2x.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/cfee7c3d-ed4d-482f-4eb3-a84159998900/public)
4
5This turns the [DSNY's SAFE Disposal Events](https://www.nyc.gov/assets/dsny/site/services/harmful-products/safe-disposal) feed in JSON into an iCal file that you can subscribe to from your calendar:

smileyPNGREADME.md1 match

@maxm•Updated 1 year ago
3This tiny smiley face is rendered by this val: ![](https://maxm-smileypng.web.val.run/-.png)
4
5The image response is cached by the CDN, so make sure to change the image name if you make code changes. Any name with a `.png` extension will work: https://maxm-smileypng.web.val.run/-.png

californiaBusinessNotificationsREADME.md3 matches

@tmcw•Updated 1 year ago
1# California business records change notifications
2
3![California business records search that this val will use for automated notifications](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/2a60f563-6ffd-42f2-d321-89c3243f5c00/public)
4
5There's nothing I like more than a little open data and transparency! This Val shows you how to use the [California Secretary of State Business Search](https://bizfileonline.sos.ca.gov/search/business) as a faux-API and get notifications when records change. This lets you know when a business updates their records, changes their good-standing status, and so on.
135. Now, in the network tab of your developer tools, you should see a request that ends with `false`. You'll find a number in that URL. Plug that number into the val at the spot at the top.
14
15![Browser inspector tools showing the number you need to copy for this API request](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/e44b01b2-69a2-4288-1f48-977441ad6000/public)
16
17(We're almost there!)
20
21
22![CleanShot 2023-08-28 at 10.35.45@2x.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/4e9b2f15-6daf-4ebe-606f-6ead679b6800/public)
23
24

reasonPhraseREADME.md2 matches

@tmcw•Updated 1 year ago
4
5
6![hello.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/f31792d8-1766-40ed-8463-acbadc91b300/public)
7
8
37The HTTP 1.1 specification adds a little color about the [reason-phrase](https://www.rfc-editor.org/rfc/rfc9112.html#name-status-line):
38
39![quote.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/a54d79c1-5371-4786-0d88-d2b67320b800/public)
40
41So, with a HTTP server, you can customize your reason phrase! Here's an example with a val on Val Town:

canvasTextREADME.md2 matches

@tmcw•Updated 1 year ago
1# Generate an image
2
3![](https://tmcw-canvastext.web.val.run/)
4
5This image is generated by the Val below and exposed to the internet with the [Web API](https://docs.val.town/api/web).

buttonREADME.md1 match

@stevekrouse•Updated 1 year ago
1# SVG Button Link for Markdown
2
3Pioneered by [@easrng](/u/easrng), this val allows you to create an SVG image via the Express API, which we can embed in Val Town markdown, and wrap so it acts like a button.
4
5## Usage

brainrot_image_gen1 file match

@dcm31•Updated 2 days ago
Generate images for Italian Brainrot characters using FAL AI

modifyImage2 file matches

@stevekrouse•Updated 3 days ago