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 8427 results for "database"(4477ms)
73<div className="">✷ Hono + React + Tailwind</div>
74<div className="">✷ React Router + React Query</div>
75<div className="">✷ Built-in database (blob storage)</div>
76<div className="">✷ Farcaster mini app manifest + webhook + embed metadata</div>
77<div className="">✷ Farcaster notifications (storing tokens, sending recurring notifications, ...)</div>
21## Further resources
2223- [React Hono Example](https://www.val.town/x/stevekrouse/reactHonoExample) is a bigger example project, with a SQLite database table, queries, client-side CSS, a favicon, and shared code that runs on both client and server.