apiProxy2 file matches
capitalMultipliers2 file matches
fiberplaneHonoZodStarter10 file matches
Hono-Zod-OpenAPI with Fiberplane API Playground integration
researchAgent2 file matches
This is a lightweight wrapper around Perplexity's web search API
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=api&page=5&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 15070 results for "api"(1311ms)
17}
1819// Middleware to check bearer token for API access
20async function requireBearerToken(c: any, next: any) {
21const authHeader = c.req.header("Authorization");
165166// Get current user info
167app.get("/api/user", async (c) => {
168const user = await getCurrentUser(c);
169if (!user) {
181182// Update user location
183app.put("/api/user/location", async (c) => {
184const user = await getCurrentUser(c);
185if (!user) {
199200// Get all guidance for current user
201app.get("/api/guidance", async (c) => {
202const user = await getCurrentUser(c);
203if (!user) {
210211// Search guidance
212app.get("/api/guidance/search", async (c) => {
213const user = await getCurrentUser(c);
214if (!user) {
226227// Create guidance
228app.post("/api/guidance", async (c) => {
229const user = await getCurrentUser(c);
230if (!user) {
247248// Update guidance
249app.put("/api/guidance/:id", async (c) => {
250const user = await getCurrentUser(c);
251if (!user) {
261262// Delete guidance
263app.delete("/api/guidance/:id", async (c) => {
264const user = await getCurrentUser(c);
265if (!user) {
275276// Get all selections for current user
277app.get("/api/selections", async (c) => {
278const user = await getCurrentUser(c);
279if (!user) {
286287// Get selection by item name
288app.get("/api/selections/item/:itemName", async (c) => {
289const user = await getCurrentUser(c);
290if (!user) {
303304// Create or update selection
305app.post("/api/selections", async (c) => {
306const user = await getCurrentUser(c);
307if (!user) {
325326// Update selection
327app.put("/api/selections/:id", async (c) => {
328const user = await getCurrentUser(c);
329if (!user) {
339340// Delete selection
341app.delete("/api/selections/:id", async (c) => {
342const user = await getCurrentUser(c);
343if (!user) {