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/$%7Burl%7D?q=database&page=355&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 4024 results for "database"(796ms)

cerebras_coderindex2 matches

@rollout•Updated 2 months ago
1import { generateCode } from "./backend/generate-code";
2import { createTables } from "./database/migrations";
3import { createProject, getCode, getNextVersionNumber, insertVersion } from "./database/queries";
4
5async function servePublicFile(path: string): Promise<Response> {

VALLEREADME.md1 match

@anupd912•Updated 2 months ago
1# VALL-E
2
3LLM code generation for vals! Make apps with a frontend, backend, and database.
4
5It's a bit of work to get this running, but it's worth it.

Translation_Trends_Monitor_2025main.tsx1 match

@AyaMekki8•Updated 2 months ago
27 {
28 keyword: 'Translation Memory',
29 staticDefinition: 'Database of previously translated text segments that helps translators maintain consistency and improve translation efficiency.',
30 proficiencyLevel: 'Intermediate'
31 },

buildBlogmain.tsx1 match

@Klaksy•Updated 2 months ago
280 } catch (error) {
281 console.error("Failed to create table:", error);
282 return new Response("Database initialization error", { status: 500 });
283 }
284

cerebras_coderindex2 matches

@SKULLFUNKIE13•Updated 2 months ago
1import { generateCode } from "./backend/generate-code";
2import { createTables } from "./database/migrations";
3import { createProject, getCode, getNextVersionNumber, insertVersion } from "./database/queries";
4
5async function servePublicFile(path: string): Promise<Response> {

jobPostingAppmain.tsx1 match

@Marcyatieno•Updated 2 months ago
173 const userId = crypto.randomUUID(); // Generates a unique identifier
174
175 // Store user in database
176 await sqlite.execute(
177 `INSERT OR IGNORE INTO ${KEY}_users_${SCHEMA_VERSION} (id) VALUES (?)`,

sqliteBrowserREADME.md1 match

@geoffreylitt•Updated 2 months ago
30- [ ] add triggers to sidebar
31- [ ] add upload from SQL, CSV and JSON
32- [ ] add ability to connect to a non-val town Turso database
33- [x] fix wonky sidebar separator height problem (thanks to @stevekrouse)
34- [x] make result tables scrollable

sqliteExplorerAppREADME.md1 match

@geoffreylitt•Updated 2 months ago
30- [ ] add triggers to sidebar
31- [ ] add upload from SQL, CSV and JSON
32- [ ] add ability to connect to a non-val town Turso database
33- [x] fix wonky sidebar separator height problem (thanks to @stevekrouse)
34- [x] make result tables scrollable

friendlyApricotFinchmain.tsx2 matches

@abdel2000•Updated 2 months ago
112 } catch (importError) {
113 console.error('SQLite import error:', importError);
114 return new Response('Database module unavailable', {
115 status: 500,
116 headers: { 'Content-Type': 'text/plain' }
131 } catch (tableCreateError) {
132 console.error('Table creation error:', tableCreateError);
133 return new Response('Database initialization failed', {
134 status: 500,
135 headers: { 'Content-Type': 'text/plain' }

studentRecordBackendmain.tsx2 matches

@user04•Updated 2 months ago
294 }
295 } catch (error) {
296 console.error('Database initialization error:', error);
297 return new Response(JSON.stringify({
298 error: 'Database initialization failed',
299 details: error.message
300 }), {

bookmarksDatabase

@s3thi•Updated 2 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 5 months ago