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=590&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 6019 results for "image"(1123ms)

docFeedbackFormREADME.md1 match

@stevekrouseUpdated 1 year ago
7This feedback form was linked on our docs site.
8
9![Screenshot 2023-09-07 at 14.24.25@2x.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/eec56deb-a070-4d34-f040-c9e55e065e00/public)
10
11This val renders an HTML form, including pre-fills the user's email address if they've submitted the form in the past (via a cookie), and pre-fills the URL by grabbing it out of the query params.

californiaBusinessNotificationsREADME.md3 matches

@tmcwUpdated 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

harpersREADME.md1 match

@visnupUpdated 1 year ago
1An interesting Harper's message of the day when I open a shell.
2
3![Screenshot 2023-08-22 at 10.20.15 AM.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/1d6273c2-64cf-480b-4156-d95de2e71a00/public)
4
5## Setup

referencesNotifyREADME.md1 match

@andreterronUpdated 1 year ago
1# Email notifications when your vals are referenced
2
3![Screenshot 2023-08-18 at 1.32.34 PM.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/297cac96-6d64-4931-df52-868aa3710700/public)
4
5### Setup

actuallyItsXBotREADME.md1 match

@andreterronUpdated 1 year ago
3An annoying bot that corrects people about the new name of the app previously known as Twitter. [Follow it on 𝕏](https://twitter.com/intent/user?screen_name=ActuallyItsX)!
4
5![Screenshot 2023-08-17 at 4.48.03 PM.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/d9a10722-b464-476f-ba04-ad441f4f1600/public)
6
7The Twitter → 𝕏 transition is pretty painful, and this bot is here to make things even worse!

reasonPhraseREADME.md2 matches

@tmcwUpdated 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:

socialImageUsageREADME.md1 match

@tylergawUpdated 1 year ago
1Usage example of https://www.val.town/v/tylergaw.socialImage

socialImageREADME.md11 matches

@tylergawUpdated 1 year ago
1# Simple image generator
2
3A bit of a toy image creator that can be used anywhere images can be, but is intended for social share images in `og:image` or `twitter:image` meta tags.
4
5## Usage examples
7**In a live web page**
8
9- Live example https://tylergaw-socialimageusage.web.val.run/
10- Live example Val https://www.val.town/v/tylergaw.socialImageUsage
11
12## Code examples
14**Default**
15
16This will set the `og:image` of a web page to a png image of an orange 1200x600 pixel rectangle
17
18```html
19<meta property="og:image" content="https://tylergaw-socialimage.web.val.run/">
20```
21
22Works the same way as an embedded image
23
24```html
25<img src="https://tylergaw-socialimage.web.val.run/">
26```
27
33- `bg`: Sets the background color. Default `orange`. See Color format examples below for details
34- `color`: Sets the background color. Default `black`. See Color format examples below for details
35- `w`: Sets the width of the image. Default `1200`
36- `h`: Sets the height of the image. Default `600`
37- `text`: Sets the text displayed. Default `Wellow horld`
38
39```html
40<meta property="og:image" content="https://tylergaw-socialimage.web.val.run/?bg=pink&w=1000&h=400">
41```
42

dallemailREADME.md2 matches

@andreterronUpdated 1 year ago
1# Email DALL·E 2 image requests
2
3Send an email to andreterron.dallemail@valtown.email, it will forward it to DALL·E 2, and email you back the resulting image.
4
5![](https://i.imgur.com/sfbjyZ3.png)

importGistsREADME.md1 match

@maasUpdated 1 year ago
4
5
6![import-gists.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/95b91359-aadc-4a52-38e5-9d1f5bdef100/public)
7
8

brainrot_image_gen1 file match

@dcm31Updated 6 days ago
Generate images for Italian Brainrot characters using FAL AI

modifyImage2 file matches

@stevekrouseUpdated 6 days ago
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