You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7BsvgDataUrl%7D?q=function&page=2&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=function
Returns an array of strings in format "username" or "username/projectName"
Found 30501 results for "function"(2421ms)
9const WARDROBE_KEY = "wardrobe_items"; // NEW ← pick any key name you like
1011export default async function(req: Request): Promise<Response> {
12// --- always hydrate the in‑memory array from storage first -------------
13wardrobe = (await blob.getJSON<WardrobeItem[]>(WARDROBE_KEY)) ?? [];
11## 📋 Current Features (Phase 1)
1213### Core Functionality
1415- **Check-in Records**: Create and store location-based check-ins using ATProto standard