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/$%7Bart_info.art.src%7D?q=database&page=190&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 7780 results for "database"(5978ms)

Appproducts.ts1 match

@Zee_paulโ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getAllProducts, getProductById, getProductsByCategory, searchProducts } from "../database/queries.ts";
3import type { ApiResponse, Product } from "../../shared/types.ts";
4

AppREADME.md4 matches

@Zee_paulโ€ขUpdated 2 weeks ago
22```
23โ”œโ”€โ”€ backend/
24โ”‚ โ”œโ”€โ”€ database/
25โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema setup
26โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database query functions
27โ”‚ โ”œโ”€โ”€ routes/
28โ”‚ โ”‚ โ”œโ”€โ”€ products.ts # Product API endpoints
50- **Backend**: Hono (TypeScript API framework)
51- **Frontend**: React with TypeScript
52- **Database**: SQLite
53- **Styling**: TailwindCSS
54- **Real-time**: Server-Sent Events for chat

Robbieindex.ts2 matches

@Robbieโ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { readFile, serveFile } from "https://esm.town/v/std/utils@85-main/index.ts";
3import { runMigrations } from "./database/migrations.ts";
4
5// Import route modules
16});
17
18// Initialize database on startup
19await runMigrations();
20

Robbieexchange.ts1 match

@Robbieโ€ขUpdated 2 weeks ago
6 getExchangeTransactions,
7 updateTransactionStatus
8} from "../database/queries.ts";
9import type {
10 ExchangeQuote,

Robbiechat.ts1 match

@Robbieโ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { createChatMessage, getChatMessages } from "../database/queries.ts";
3import type { CreateChatMessageRequest } from "../../shared/types.ts";
4

Robbiepredictions.ts1 match

@Robbieโ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { createPrediction, getAllPredictions } from "../database/queries.ts";
3import type { CreatePredictionRequest } from "../../shared/types.ts";
4

Robbiemigrations.ts1 match

@Robbieโ€ขUpdated 2 weeks ago
103 }
104
105 console.log("Database migrations completed");
106}

RobbieREADME.md5 matches

@Robbieโ€ขUpdated 2 weeks ago
16## Tech Stack
17
18- **Backend**: Hono.js API with SQLite database
19- **Frontend**: React with TailwindCSS
20- **Data**: CoinGecko API for cryptocurrency prices
25```
26โ”œโ”€โ”€ backend/
27โ”‚ โ”œโ”€โ”€ database/
28โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema
29โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database operations
30โ”‚ โ”œโ”€โ”€ routes/
31โ”‚ โ”‚ โ”œโ”€โ”€ crypto.ts # Crypto price endpoints
54- `POST /api/chat` - Send chat message
55
56## Database Schema
57
58### predictions

sqliteExplorerAppREADME.md1 match

@tobeofuseโ€ขUpdated 2 weeks 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

Artreonindex.ts2 matches

@UnzipMeโ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { readFile, serveFile } from "https://esm.town/v/std/utils@85-main/index.ts";
3import { runMigrations } from "./database/migrations.ts";
4import artistsRouter from "./routes/artists.ts";
5import portfolioRouter from "./routes/portfolio.ts";
13});
14
15// Initialize database
16await runMigrations();
17

bookmarksDatabase

@s3thiโ€ขUpdated 4 months ago

sqLiteDatabase1 file match

@ideofunkโ€ขUpdated 7 months ago