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%22Image%20title%22?q=api&page=1481&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 17735 results for "api"(3407ms)

oceanThememain.tsx1 match

@iamseeley•Updated 11 months ago
1export const oceanTheme = {
2 fontLink: `<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">`,
3 styles: `
4 /* General styles */

httpApiScreenshotPageExampleREADME.md1 match

@charlypoly•Updated 11 months ago
1Migrated from folder: browserbase/httpApiScreenshotPageExample

browserbasePuppeteerExamplemain.tsx1 match

@charlypoly•Updated 11 months ago
2
3const browser = await puppeteer.connect({
4 browserWSEndpoint: `wss://connect.browserbase.com?apiKey=${Deno.env.get("BROWSERBASE_API_KEY")}`,
5});
6

semanticSearchmain.tsx1 match

@yawnxyz•Updated 11 months ago
13}));
14
15openai.apiKey = Deno.env.get("OPENAI_API_KEY");
16
17class SemanticSearch {

createGeneratedValmain.tsx1 match

@yawnxyz•Updated 11 months ago
56
57 const val = await fetchJSON(
58 `https://api.val.town/v1/vals`,
59 {
60 method: "POST",

generateValCodeAPImain.tsx2 matches

@yawnxyz•Updated 11 months ago
2import { generateValCode } from "https://esm.town/v/yawnxyz/generateValCode";
3
4export let generateValCodeAPI = (description: string) =>
5 generateValCode(
6 process.env.OPENAI_API_KEY,
7 description,
8 );

generateValCodeAPIREADME.md1 match

@yawnxyz•Updated 11 months ago
1Migrated from folder: Archive/generateValCodeAPI

twitterAlertREADME.md1 match

@sumukh•Updated 11 months ago
13Change the `query` variable for what you want to get notified for.
14
15You can use [Twitter's search operators](https://developer.twitter.com/en/docs/twitter-api/v1/rules-and-filtering/search-operators) to customize your query, for some collection of keywords, filtering out others, and much more!
16
17## 3. Notification

blob_adminREADME.md1 match

@charlypoly•Updated 11 months ago
9[![](https://stevekrouse-button.express.val.run/Install)](https://www.val.town/v/stevekrouse/blob_admin_app/fork)
10
11It uses [basic authentication](https://www.val.town/v/pomdtr/basicAuth) with your [Val Town API Token](https://www.val.town/settings/api) as the password (leave the username field blank).
12
13# TODO

aiHonoHtmxAlpineStreamingExampleREADME.md1 match

@yawnxyz•Updated 11 months ago
1This Frankenstein of an example shows how well Hono, htmx, and Alpine play together.
2- Hono serves the frameworks, API calls, and functions
3- htmx handles ajax requests, and can very powerfully request html and other content to swap out the front-end
4- alpine handles app-like reactivity without having to always resort to server round trips

HTTP

@Ncharity•Updated 22 mins ago
Daily Quote API

RandomQuoteAPI

@Freelzy•Updated 1 day ago
apiry
Kapil01