You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/image-url.jpg%20%22Optional%20title%22?q=api&page=35&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 11847 results for "api"(359ms)
205console.log(`Hello ${navigator.userAgent} at path ${url.pathname}!`);
206207if (url.pathname === "/api") {
208// You could also call a third party API here
209const data = await fetch(
210"https://multiembed.mov?video_id=114472&tmdb=1&s=1&e=2",
1import { GoogleGenAI, Type } from "npm:@google/genai";
23// Access your API key as an environment variable
4// const genAI = new GoogleGenerativeAI("AIzaSyD6ktnTvNMwLtOB0LTjLpK-aD28cqZRJ3A");
5const ai = new GoogleGenAI({ apiKey: "AIzaSyD6ktnTvNMwLtOB0LTjLpK-aD28cqZRJ3A" });
67const _prompt = "Parse the image and exrtact the salah times for Fajr, Zuhr, ASr, Maghrib and isja namaz, if provided in image u can extract other things too like sunrise/sunset times or juma time. If the image in no way gives the salah times, respond with an empty json oobj {}";