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=1&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 3853 results for "database"(589ms)
3435/**
36* Store a chat message in the database
37*/
38export async function storeChatMessage(
6import { Hono } from "npm:hono";
7import { type Memory } from "../shared/types.ts";
8import { createMemory, deleteMemory, getAllMemories, updateMemory } from "./database/queries.ts";
910const app = new Hono();