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=api&page=398&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 4166 results for "api"(508ms)

cerebras_coderindex.html3 matches

@Umaryaseen•Updated 2 months ago
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>CerebrasCoder</title>
7 <link rel="preconnect" href="https://fonts.googleapis.com" />
8 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
9 <link
10 href="https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap"
11 rel="stylesheet"
12 />
21 <meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
22 <meta property="og:type" content="website">
23 <meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
24
25

cerebras_coderindex1 match

@Umaryaseen•Updated 2 months ago
211 } catch (error) {
212 Toastify({
213 text: "We may have hit our Cerebras Usage limits. Try again later or fork this and use your own API key.",
214 position: "center",
215 duration: 3000,

cerebras_codergenerate-code1 match

@Umaryaseen•Updated 2 months ago
16 };
17 } else {
18 const client = new Cerebras({ apiKey: Deno.env.get("CEREBRAS_API_KEY") });
19 const completion = await client.chat.completions.create({
20 messages: [

cerebras_coderstarter-prompts.js1 match

@Gggycvhh•Updated 2 months ago
11 },
12 {
13 "prompt": "weather dashboard for nyc using open-meteo API for NYC with icons",
14 "title": "Weather App",
15 "code": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>NYC Weather</title>\n <link href=\"https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css\" rel=\"stylesheet\">\n <style>\n .weather-icon {\n font-size: 48px;\n margin-bottom: 16px;\n }\n </style>\n</head>\n<body class=\"h-screen bg-blue-100 flex justify-center items-center p-4\">\n <div class=\"bg-white p-8 rounded-md shadow-md w-full max-w-sm md:p-12 lg:p-16 xl:p-20\">\n <h1 class=\"text-2xl font-bold mb-4 text-center text-blue-500\">NYC Weather</h1>\n <div id=\"weather\" class=\"mb-4 p-4 text-center\">\n <div id=\"temperature\" class=\"text-4xl font-bold mb-4\"></div>\n <div id=\"condition\" class=\"text-xl font-medium mb-4\"></div>\n <div id=\"humidity\" class=\"text-lg font-light mb-2\">Humidity: <span id=\"humidity-value\"></span>%</div>\n <div id=\"wind\" class=\"text-lg font-light mb-2\">Wind: <span id=\"wind-value\"></span> mph</div>\n <i id=\"weather-icon\" class=\"weather-icon text-blue-500\"></i>\n </div>\n </div>\n <p class=\"fixed bottom-0 left-0 right-0 text-center p-4 text-gray-600 md:p-6 lg:p-8 xl:p-10\">\n Built on <a class=\"text-blue-600\" href=\"https://cerebrascoder.com\">Cerebras Coder</a>\n </p>\n\n <script>\n // Sample weather data\n const weatherData = {\n temperature: 75,\n condition: 'Sunny',\n humidity: 60,\n wind: 10,\n icon: 'sun'\n };\n\n document.getElementById('temperature').innerText = `${weatherData.temperature}°F`;\n document.getElementById('condition').innerText = weatherData.condition;\n document.getElementById('humidity-value').innerText = weatherData.humidity;\n document.getElementById('wind-value').innerText = weatherData.wind;\n\n // Map weather icon\n const weatherIcons = {\n 'sun': '&#9728;',\n 'cloud': '&#9728;',\n 'rain': '&#9731;',\n 'snow': '&#9732;'\n };\n\n document.getElementById('weather-icon').innerHTML = weatherIcons[weatherData.icon] || '';\n </script>\n</body>\n</html>",

cerebras_coderREADME.md2 matches

@Gggycvhh•Updated 2 months ago
8
91. Sign up for [Cerebras](https://cloud.cerebras.ai/)
102. Get a Cerebras API Key
113. Save it in your project env variable called `CEREBRAS_API_KEY`

cerebras_coderindex.html3 matches

@Gggycvhh•Updated 2 months ago
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>CerebrasCoder</title>
7 <link rel="preconnect" href="https://fonts.googleapis.com" />
8 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
9 <link
10 href="https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap"
11 rel="stylesheet"
12 />
21 <meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
22 <meta property="og:type" content="website">
23 <meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
24
25

cerebras_coderindex1 match

@Gggycvhh•Updated 2 months ago
211 } catch (error) {
212 Toastify({
213 text: "We may have hit our Cerebras Usage limits. Try again later or fork this and use your own API key.",
214 position: "center",
215 duration: 3000,

cerebras_codergenerate-code1 match

@Gggycvhh•Updated 2 months ago
16 };
17 } else {
18 const client = new Cerebras({ apiKey: Deno.env.get("CEREBRAS_API_KEY") });
19 const completion = await client.chat.completions.create({
20 messages: [

eki_sydneyindex.html15 matches

@mbo•Updated 2 months ago
18
19 <h3>Campbelltown Station</h3>
20 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
21 <p>Design a stamp that represents Campbelltown's rich history and vibrant community.</p>
22 <p><a href="#application">Apply to design this station's stamp</a></p>
23
24 <h3>Macarthur Station</h3>
25 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
26 <p>Create a stamp that captures Macarthur's modern development and educational focus.</p>
27 <p><a href="#application">Apply to design this station's stamp</a></p>
28
29 <h3>Leumeah Station</h3>
30 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
31 <p>Design a stamp that reflects Leumeah's sporting heritage and community spirit.</p>
32 <p><a href="#application">Apply to design this station's stamp</a></p>
33
34 <h3>Minto Station</h3>
35 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
36 <p>Create a stamp showcasing Minto's industrial heritage and cultural diversity.</p>
37 <p><a href="#application">Apply to design this station's stamp</a></p>
38
39 <h3>Ingleburn Station</h3>
40 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
41 <p>Design a stamp that represents Ingleburn's military history and growing community.</p>
42 <p><a href="#application">Apply to design this station's stamp</a></p>
43
44 <h3>Macquarie Fields Station</h3>
45 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
46 <p>Create a stamp that captures the area's natural beauty and suburban charm.</p>
47 <p><a href="#application">Apply to design this station's stamp</a></p>
48
49 <h3>Glenfield Station</h3>
50 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
51 <p>Design a stamp that showcases Glenfield's role as a major transport hub.</p>
52 <p><a href="#application">Apply to design this station's stamp</a></p>
53
54 <h3>Casula Station</h3>
55 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
56 <p>Create a stamp that reflects Casula's artistic community and Powerhouse presence.</p>
57 <p><a href="#application">Apply to design this station's stamp</a></p>
58
59 <h3>Liverpool Station</h3>
60 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
61 <p>Design a stamp that represents Liverpool's status as Sydney's third CBD.</p>
62 <p><a href="#application">Apply to design this station's stamp</a></p>
63
64 <h3>Warwick Farm Station</h3>
65 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
66 <p>Create a stamp that captures the area's racing heritage and riverside location.</p>
67 <p><a href="#application">Apply to design this station's stamp</a></p>
68
69 <h3>Cabramatta Station</h3>
70 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
71 <p>Design a stamp that celebrates Cabramatta's vibrant Vietnamese culture and food scene.</p>
72 <p><a href="#application">Apply to design this station's stamp</a></p>
73
74 <h3>Green Square Station</h3>
75 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
76 <p>Create a stamp that reflects Green Square's urban renewal and creative industries.</p>
77 <p><a href="#application">Apply to design this station's stamp</a></p>
78
79 <h3>Mascot Station</h3>
80 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
81 <p>Design a stamp that represents Mascot's aviation heritage and business district.</p>
82 <p><a href="#application">Apply to design this station's stamp</a></p>
83
84 <h3>International Airport Station</h3>
85 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
86 <p>Create a stamp that captures the excitement of international travel.</p>
87 <p><a href="#application">Apply to design this station's stamp</a></p>
88
89 <h3>Domestic Airport Station</h3>
90 <iframe src="/api/placeholder/600/450" alt="Map placeholder"></iframe>
91 <p>Design a stamp that represents domestic air travel and connection.</p>
92 <p><a href="#application">Apply to design this station's stamp</a></p>

test_projectstyles.css1 match

@charmaine•Updated 2 months ago
1/* Import a sleek, professional font (e.g. Open Sans, Roboto, Inter) */
2@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
3
4/* Base reset */

PassphraseAPI2 file matches

@wolf•Updated 11 hours ago

openapi2 file matches

@stevekrouse•Updated 2 days ago
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com
fiberplane
Purveyors of Hono tooling, API Playground enthusiasts, and creators of 🪿 HONC 🪿 (https://honc.dev)