You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/?q=react&page=23&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 16859 results for "react"(1675ms)
23├── frontend/
24│ ├── index.html # Main HTML template
25│ ├── index.tsx # React frontend entry point
26│ ├── components/
27│ │ ├── App.tsx # Main app component
36371. The backend runs on Hono with WebSocket support for real-time features
382. Frontend uses React with WebSocket client for real-time updates
393. SQLite stores user sessions and game state
404. USPS-themed styling with postal colors and typography
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useRef } from 'https://esm.sh/react@18.2.0';
3import type { User } from '../../shared/types.ts';
4import { NameEntry } from './NameEntry.tsx';