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/$2?q=database&page=21&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 7054 results for "database"(2893ms)

Victoriaqueries.ts3 matches

@Victoria1234โ€ขUpdated 2 days ago
22 ]
23 );
24 console.log("Voice note successfully inserted into database");
25 } catch (error) {
26 console.error("Error inserting voice note into database:", error);
27 throw error;
28 }
63 };
64 } catch (error) {
65 console.error("Error getting voice note from database:", error);
66 throw error;
67 }

Victoriamigrations.ts2 matches

@Victoria1234โ€ขUpdated 2 days ago
19 )`);
20
21 console.log('Database migrations completed successfully');
22 } catch (error) {
23 console.error('Database migration failed:', error);
24 throw error;
25 }

Victoriaindex.ts2 matches

@Victoria1234โ€ขUpdated 2 days ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { runMigrations } from "./database/migrations.ts";
3import voiceNotesRoutes from "./routes/voicenotes.ts";
4import staticRoutes from "./routes/static.ts";
11});
12
13// Run database migrations on startup
14try {
15 await runMigrations();

voicemessagesvoicenotes.ts3 matches

@Victoria1234โ€ขUpdated 2 days ago
10 getAllVoiceNotes,
11 deleteVoiceNote
12} from "../database/queries.ts";
13import { TABLE_NAME } from "../database/migrations.ts";
14import type { VoiceNote, VoiceNoteResponse, TranscriptionResponse } from "../../shared/types.ts";
15
176 }
177
178 // Delete from database
179 await deleteVoiceNote(id);
180

voicemessagesREADME.md4 matches

@Victoria1234โ€ขUpdated 2 days ago
27```
28โ”œโ”€โ”€ backend/
29โ”‚ โ”œโ”€โ”€ database/
30โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema
31โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database operations
32โ”‚ โ”œโ”€โ”€ routes/
33โ”‚ โ”‚ โ”œโ”€โ”€ voicenotes.ts # Voice note CRUD operations
51
52- **Backend**: Hono (TypeScript API framework)
53- **Database**: SQLite for voice note metadata
54- **Storage**: Val Town Blob storage for audio files
55- **AI**: OpenAI Whisper for transcription

voicemessagesqueries.ts3 matches

@Victoria1234โ€ขUpdated 2 days ago
22 ]
23 );
24 console.log("Voice note successfully inserted into database");
25 } catch (error) {
26 console.error("Error inserting voice note into database:", error);
27 throw error;
28 }
63 };
64 } catch (error) {
65 console.error("Error getting voice note from database:", error);
66 throw error;
67 }

voicemessagesmigrations.ts2 matches

@Victoria1234โ€ขUpdated 2 days ago
19 )`);
20
21 console.log('Database migrations completed successfully');
22 } catch (error) {
23 console.error('Database migration failed:', error);
24 throw error;
25 }

voicemessagesindex.ts2 matches

@Victoria1234โ€ขUpdated 2 days ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { runMigrations } from "./database/migrations.ts";
3import voiceNotesRoutes from "./routes/voicenotes.ts";
4import staticRoutes from "./routes/static.ts";
11});
12
13// Run database migrations on startup
14try {
15 await runMigrations();

voicemessagesvoicenotes.ts3 matches

@Darkpearlzzโ€ขUpdated 2 days ago
10 getAllVoiceNotes,
11 deleteVoiceNote
12} from "../database/queries.ts";
13import { TABLE_NAME } from "../database/migrations.ts";
14import type { VoiceNote, VoiceNoteResponse, TranscriptionResponse } from "../../shared/types.ts";
15
176 }
177
178 // Delete from database
179 await deleteVoiceNote(id);
180

voicemessagesREADME.md4 matches

@Darkpearlzzโ€ขUpdated 2 days ago
27```
28โ”œโ”€โ”€ backend/
29โ”‚ โ”œโ”€โ”€ database/
30โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema
31โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database operations
32โ”‚ โ”œโ”€โ”€ routes/
33โ”‚ โ”‚ โ”œโ”€โ”€ voicenotes.ts # Voice note CRUD operations
51
52- **Backend**: Hono (TypeScript API framework)
53- **Database**: SQLite for voice note metadata
54- **Storage**: Val Town Blob storage for audio files
55- **AI**: OpenAI Whisper for transcription

bookmarksDatabase

@s3thiโ€ขUpdated 3 months ago

sqLiteDatabase1 file match

@ideofunkโ€ขUpdated 6 months ago