You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$1?q=fetch&page=11&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=fetch
Returns an array of strings in format "username" or "username/projectName"
Found 11209 results for "fetch"(830ms)
21});
2223// HTTP vals expect an exported "fetch handler"
24// This is how you "run the server" in Val Town with Hono
25export default app.fetch;
47<h3 class="text-xl pb-2">Example frame previews</h3>
48<p>
49Frames data is fetched, cached, and displayed with val.town, then fetched and rendered on an e-ink
50display.
51</p>