You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7BsvgDataUrl%7D?q=react&page=22&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=react
Returns an array of strings in format "username" or "username/projectName"
Found 17069 results for "react"(1611ms)
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4import { PLANT_TYPES } from "../shared/plantTypes.ts";
5import { ErrorBoundary } from "./components/ErrorBoundary.tsx";
84**Example Openings (using this tone):**
85- "So there's this thing that happened in [specific technical context], which on its face seems like [surface interpretation], but if you think about the engineering constraints and organizational dynamics here..."
86- "I was reading about [specific technical incident/decision], and obviously the immediate reaction is [common response], but the really interesting question is why this keeps happening..."
87- "Here's a fun thing: [company/team] just [technical decision], which seems completely rational until you realize [underlying complexity]..."
88- "You know what's weird about [technical phenomenon]? Everyone treats it like [conventional wisdom], but if you actually look at the incentives..."