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/$%7BsvgDataUrl%7D?q=openai&page=10&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 2242 results for "openai"(2625ms)

SON-GOKUAIToolsList.tsx4 matches

@DevGoku•Updated 6 days ago
11const aiTools: AITool[] = [
12 // AI Assistants & Chatbots
13 { name: "ChatGPT", url: "https://chatgpt.com/", category: "Assistant", description: "OpenAI's conversational AI assistant" },
14 { name: "Claude", url: "https://claude.ai/", category: "Assistant", description: "Anthropic's AI assistant for various tasks and conversations" },
15 { name: "Gemini", url: "https://gemini.google.com/", category: "Assistant", description: "Google's advanced AI assistant" },
27 // Image Generation & Editing
28 { name: "Midjourney", url: "https://www.midjourney.com/", category: "Images", description: "AI art and image generation platform" },
29 { name: "DALL·E 3", url: "https://openai.com/dall-e-3", category: "Images", description: "OpenAI's advanced image generation model" },
30 { name: "Stable Diffusion", url: "https://stability.ai/", category: "Images", description: "Open-source AI image generation" },
31 { name: "Lexica", url: "https://lexica.art/", category: "Images", description: "AI art search engine and generator" },
73 { name: "Runway", url: "https://runwayml.com/", category: "Video", description: "AI video editing and generation tools" },
74 { name: "Synthesia", url: "https://www.synthesia.io/", category: "Video", description: "AI video generation with virtual avatars" },
75 { name: "Sora", url: "https://openai.com/sora", category: "Video", description: "OpenAI's text-to-video generation model" },
76 { name: "Kling", url: "https://klingai.com/", category: "Video", description: "AI video generation platform" },
77 { name: "Hailuo", url: "https://hailuo.ai/", category: "Video", description: "AI video creation tool" },
318
319 // AI Research & Platforms
320 { name: "OpenAI", url: "https://openai.com/", category: "Research", description: "AI research and deployment company" },
321 { name: "Anthropic", url: "https://www.anthropic.com/", category: "Research", description: "AI safety research company" },
322 { name: "xAI", url: "https://x.ai/", category: "Research", description: "Elon Musk's AI company" },

stevensDemo.cursorrules4 matches

@jlau•Updated 1 week ago
100Note: When changing a SQLite table's schema, change the table's name (e.g., add _2 or _3) to create a fresh table.
101
102### OpenAI
103```ts
104import { OpenAI } from "https://esm.town/v/std/openai";
105const openai = new OpenAI();
106const completion = await openai.chat.completions.create({
107 messages: [
108 { role: "user", content: "Say hello in a creative way" },

stevensDemo.cursorrules4 matches

@skrishnan99•Updated 1 week ago
100Note: When changing a SQLite table's schema, change the table's name (e.g., add _2 or _3) to create a fresh table.
101
102### OpenAI
103```ts
104import { OpenAI } from "https://esm.town/v/std/openai";
105const openai = new OpenAI();
106const completion = await openai.chat.completions.create({
107 messages: [
108 { role: "user", content: "Say hello in a creative way" },

Galactaopenai.tsx4 matches

@defunkt•Updated 1 week ago
1import { OpenAI } from "https://esm.sh/openai@4.96.2"
2
3const MODEL = "gpt-4.1-2025-04-14"
4
5export default async function askOpenAI(message: string): Promise<string> {
6 const openai = new OpenAI()
7 const response = await openai.responses.create({
8 input: message,
9 model: MODEL,

untitled-936main.tsx1 match

@tysonwood0000x•Updated 1 week ago
1import ky from "https://esm.sh/ky";
2
3const response = await fetch("https://www.google.com?q=openai&hl=en&gl=us", {
4 headers: {
5 "User-Agent":

leximain.tsx4 matches

@legal•Updated 1 week ago
593
594export default async function(req: Request) {
595 const { OpenAI } = await import("https://esm.town/v/std/openai");
596 const { PDFExtract } = await import("npm:pdf.js-extract");
597
607 const action = url.searchParams.get("action");
608 const sourceUrl = import.meta.url.replace("esm.town", "val.town");
609 const openai = new OpenAI();
610 const MAX_TEXT_SUGGEST = 20000;
611 const MAX_TEXT_ANALYZE = 30000;
636 agentName: string,
637 ): Promise<object> {
638 log.push({ agent: agentName, type: "step", message: `Calling OpenAI gpt-4o...` });
639 try {
640 const response = await openai.chat.completions.create({
641 model: "gpt-4o",
642 messages: [{ role: "system", content: systemPrompt }, { role: "user", content: userMessage }],

ai_comments_to_tasksREADME.md1 match

@arthrod•Updated 1 week ago
102## Tech Stack
103
104- Backend: Hono + Val Town OpenAI (GPT-4o-mini)
105- Frontend: React + TailwindCSS with markdown rendering
106- Storage: None (stateless analysis)

ai_comments_to_tasksindex.ts4 matches

@arthrod•Updated 1 week ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { OpenAI } from "https://esm.town/v/std/openai";
3import { readFile, serveFile } from "https://esm.town/v/std/utils@85-main/index.ts";
4import { encode } from "https://esm.sh/gpt-tokenizer@2.1.2";
12});
13
14const openai = new OpenAI();
15
16// Default token limits - reduced chunk size for better granularity
123
124 try {
125 const completion = await openai.chat.completions.create({
126 messages: [
127 { role: "system", content: systemPrompt },
178
179 try {
180 const completion = await openai.chat.completions.create({
181 messages: [
182 { role: "system", content: systemPrompt },

untitled-9921index.ts1 match

@DevGoku•Updated 1 week ago
38 description: 'Advanced conversational AI for writing, coding, analysis, and creative tasks',
39 category: 'text-ai',
40 url: 'https://chat.openai.com',
41 tags: JSON.stringify(['conversation', 'writing', 'coding', 'analysis']),
42 pricing: 'freemium',

untitled-9921migrations.ts4 matches

@DevGoku•Updated 1 week ago
123 {
124 name: 'DALL-E 3',
125 description: 'OpenAI\'s advanced image generation model with exceptional prompt understanding',
126 category: 'image-gen',
127 url: 'https://openai.com/dall-e-3',
128 tags: JSON.stringify(['openai', 'text-to-image', 'creative', 'advanced']),
129 pricing: 'paid',
130 featured: true,
217 description: 'Advanced conversational AI for writing, coding, analysis, and creative tasks',
218 category: 'text-ai',
219 url: 'https://chat.openai.com',
220 tags: JSON.stringify(['conversation', 'writing', 'coding', 'analysis']),
221 pricing: 'freemium',

openai-client1 file match

@cricks_unmixed4u•Updated 1 week ago

openai_enrichment6 file matches

@stevekrouse•Updated 1 week ago
kwhinnery_openai
reconsumeralization
import { OpenAI } from "https://esm.town/v/std/openai"; import { sqlite } from "https://esm.town/v/stevekrouse/sqlite"; /** * Practical Implementation of Collective Content Intelligence * Bridging advanced AI with collaborative content creation */ exp