researchAgent2 file matches
This is a lightweight wrapper around Perplexity's web search API
You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/?q=api&page=2&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=api
Returns an array of strings in format "username" or "username/projectName"
Found 4129 results for "api"(425ms)
2import { useState, useActionState } from "https://esm.sh/react@19.1.0";
3import { BrowserOAuthClient, OAuthSession } from "https://esm.sh/@atproto/oauth-client-browser@0.3.15"
4import { Agent } from "https://esm.sh/@atproto/api@0.15.5"
5import { runSchemaMap } from "../../shared/run_lexicon.ts";
6
7import "https://deno.land/std@0.224.0/dotenv/load.ts";
89console.log("THIS IS THE VALTOWN API: ${Deno.env.get("valtown")}")
1011// Create the memories_demo table