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=1099&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 15357 results for "api"(4078ms)

lovableVioletPeafowlmain.tsx4 matches

@stevekrouse•Updated 5 months ago
210 } catch (error) {
211 Toastify({
212 text: "We may have hit our Cerebras Usage limits. Try again later or fork this and use your own API key.",
213 position: "center",
214 duration: 4000,
1022 };
1023 } else {
1024 const client = new Cerebras({ apiKey: Deno.env.get("CEREBRAS_API_KEY") });
1025 const completion = await client.chat.completions.create({
1026 messages: [
1146 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1147 <title>CerebrasCoder</title>
1148 <link rel="preconnect" href="https://fonts.googleapis.com" />
1149 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1150 <link
1151 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"
1152 rel="stylesheet"
1153 />

lovableVioletPeafowlREADME.md2 matches

@stevekrouse•Updated 5 months ago
6
71. Sign up for [Cerebras](https://cloud.cerebras.ai/)
82. Get a Cerebras API Key
93. Save it in a [Val Town environment variable](https://www.val.town/settings/environment-variables) called `CEREBRAS_API_KEY`
10
11# Todos

cerebras_coderREADME.md2 matches

@mtarapata•Updated 5 months ago
6
71. Sign up for [Cerebras](https://cloud.cerebras.ai/)
82. Get a Cerebras API Key
93. Save it in a [Val Town environment variable](https://www.val.town/settings/environment-variables) called `CEREBRAS_API_KEY`
10
11# Todos

cerebras_codermain.tsx3 matches

@mtarapata•Updated 5 months ago
1022 };
1023 } else {
1024 const client = new Cerebras({ apiKey: Deno.env.get("CEREBRAS_API_KEY") });
1025 const completion = await client.chat.completions.create({
1026 messages: [
1146 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1147 <title>CerebrasCoder</title>
1148 <link rel="preconnect" href="https://fonts.googleapis.com" />
1149 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1150 <link
1151 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"
1152 rel="stylesheet"
1153 />

cerebras_coderREADME.md2 matches

@deepmojo•Updated 5 months ago
6
71. Sign up for [Cerebras](https://cloud.cerebras.ai/)
82. Get a Cerebras API Key
93. Save it in a [Val Town environment variable](https://www.val.town/settings/environment-variables) called `CEREBRAS_API_KEY`
10
11# Todos

cerebras_codermain.tsx3 matches

@deepmojo•Updated 5 months ago
1022 };
1023 } else {
1024 const client = new Cerebras({ apiKey: Deno.env.get("CEREBRAS_API_KEY") });
1025 const completion = await client.chat.completions.create({
1026 messages: [
1146 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1147 <title>CerebrasCoder</title>
1148 <link rel="preconnect" href="https://fonts.googleapis.com" />
1149 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1150 <link
1151 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"
1152 rel="stylesheet"
1153 />

neatBlackSwiftmain.tsx4 matches

@stevekrouse•Updated 5 months ago
1025 };
1026 } else {
1027 const client = new Cerebras({ apiKey: Deno.env.get("CEREBRAS_API_KEY") });
1028 const thinkingCompletion = await client.chat.completions.create({
1029 messages: [
1033 another AI to code websites. You DO NOT code yourself. You just explain the plan.
1034 You can include inline code if you want to explain how to do something.
1035 Be sure to use APIs that don't require keys and that you know well. Explain the structure of the API.
1036 `,
1037 },
1170 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1171 <title>CerebrasCoder</title>
1172 <link rel="preconnect" href="https://fonts.googleapis.com" />
1173 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1174 <link
1175 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"
1176 rel="stylesheet"
1177 />

neatBlackSwiftREADME.md2 matches

@stevekrouse•Updated 5 months ago
6
71. Sign up for [Cerebras](https://cloud.cerebras.ai/)
82. Get a Cerebras API Key
93. Save it in a [Val Town environment variable](https://www.val.town/settings/environment-variables) called `CEREBRAS_API_KEY`
10
11# Todos

EnkakuAuthenticatedAPIAdminREADME.md1 match

@paul_lecam•Updated 5 months ago
1Migrated from folder: Enkaku/EnkakuAuthenticatedAPIAdmin

EnkakuAuthenticatedAPIClientREADME.md1 match

@paul_lecam•Updated 5 months ago
1Migrated from folder: Enkaku/EnkakuAuthenticatedAPIClient

HN-fetch-call2 file matches

@ImGqb•Updated 1 day ago
fetch HackerNews by API

token-server1 file match

@kwhinnery_openai•Updated 2 days ago
Mint tokens to use with the OpenAI Realtime API for WebRTC
Kapil01
apiv1