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/image-url.jpg%20%22Image%20title%22?q=database&page=113&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 7463 results for "database"(5350ms)

saintforgeAIforms.ts1 match

@saint•Updated 1 week ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import type { ApiResponse, FormSubmission, NotificationRequest } from "../../shared/types.ts";
3import { getTemplateByName, createRecipient } from "../database/queries.ts";
4import { EmailService } from "../services/emailService.ts";
5import { RecipientService } from "../services/recipientService.ts";

saintforgeAIwebhooks.ts1 match

@saint•Updated 1 week ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import type { ApiResponse, WebhookPayload, NotificationRequest } from "../../shared/types.ts";
3import { getTemplateByName } from "../database/queries.ts";
4import { EmailService } from "../services/emailService.ts";
5import { RecipientService } from "../services/recipientService.ts";

saintforgeAInotifications.ts2 matches

@saint•Updated 1 week ago
3import {
4 getTemplateByName
5} from "../database/queries.ts";
6import {
7 getNotificationHistory,
8 getNotificationStats
9} from "../database/queries.ts";
10import { EmailService } from "../services/emailService.ts";
11import { RecipientService } from "../services/recipientService.ts";

Plantswapindex.ts2 matches

@catalina906•Updated 1 week ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { readFile } from "https://esm.town/v/std/utils@85-main/index.ts";
3import { runMigrations } from "./database/migrations.ts";
4import auth from "./routes/auth.ts";
5import plants from "./routes/plants.ts";
14});
15
16// Initialize database on startup
17await runMigrations();
18

saintforgeAItemplates.ts1 match

@saint•Updated 1 week ago
7 updateTemplate,
8 deleteTemplate
9} from "../database/queries.ts";
10import { TemplateService } from "../services/templateService.ts";
11

Plantswapauth.ts1 match

@catalina906•Updated 1 week ago
9 deleteSession,
10 updateUser
11} from "../database/queries.ts";
12
13const auth = new Hono();

saintforgeAIrecipients.ts1 match

@saint•Updated 1 week ago
7 updateRecipient,
8 deleteRecipient
9} from "../database/queries.ts";
10import { RecipientService } from "../services/recipientService.ts";
11

saintforgeAIrecipientService.ts1 match

@saint•Updated 1 week ago
1import type { Recipient, RecipientCriteria, NotificationType } from "../../shared/types.ts";
2import { findRecipientsByCriteria } from "../database/queries.ts";
3
4export class RecipientService {

saintforgeAIemailService.ts1 match

@saint•Updated 1 week ago
1import { email } from "https://esm.town/v/std/email";
2import type { EmailTemplate, Recipient, NotificationHistory } from "../../shared/types.ts";
3import { logNotification } from "../database/queries.ts";
4
5export class EmailService {

saintforgeAIqueries.ts1 match

@saint•Updated 1 week ago
248}
249
250// Helper functions to parse database rows
251function parseRecipient(row: any): Recipient {
252 return {

bookmarksDatabase

@s3thi•Updated 3 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 6 months ago