Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$2?q=api&page=1454&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 17515 results for "api"(5379ms)

resumeConfigmain.tsx3 matches

@ajaxUpdated 11 months ago
63 {
64 "reference":
65 "Thomas is an extremely talented engineer with a very broad range of skills and experience. From being a thought leader in the front-end community via backbonetutorials.com and cdnjs.com, to designing and implementing the API for cdnjs.com, working with Thomas has been fantastic learning experience. Thomas is truly a full stack develop, and his work output is incredible. If there is any opportunity to work with Thomas, I take it. He is the definition of an A player.",
66 "name": "Ryan Kirkman, Senior Software Engineer at Nerdwallet",
67 },
257 ],
258 "summary":
259 "An international directory of civilian drone / UAV operators for hire. Services include aerial photography, aerial video, mapping, surveying, precision agriculture, real estate photography, remote inspections and infrared imaging. Our plan is to be the place to go when looking for UAV/Drone services. The website is built in Backbone.js and API is built with Node.js and Postgres. ",
260 "website": "http://www.dronehire.org",
261 "name": "Drone Hire",
279 {
280 "summary":
281 "Ephox is a worldwide company who is heavily involved with the development of TinyMce and enterprise editors. My primary role included building front-end widgets and applications. Worked on a major product using Backbone.js as a base. Heavily involved in UI/UX design and wire-framing. Also spend a lot of time designing API specifications and documentation.",
282 "website": "http://ephox.com",
283 "name": "Ephox",

modifyImageREADME.md1 match

@uUpdated 11 months ago
1Code from https://deno.com/blog/build-image-resizing-api
2
3Useful for compressing an image before sending to chatgpt4v, for example
19 "dog bites man",
20 "discord bot",
21 "github api",
22 "chat server integration",
23 ];

compareEmbeddingsmain.tsx1 match

@janpaul123Updated 11 months ago
16 ["animal that barks", "discord bot"],
17 ["man bites dog", "discord bot"],
18 ["github api", "discord bot"],
19 ["chat server integration", "discord bot"],
20];

valtownsemanticsearchmain.tsx1 match

@janpaul123Updated 11 months ago
16<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
17 <ShortName>VAL VIBES: Val Town Semantic Search</ShortName>
18 <Description>Semantic search for vals using the Github API</Description>
19 <Url type="text/html" method="get" template="https://janpaul123-valtownsemanticsearch.web.val.run/search?q={searchTerms}"/>
20 <Url type="application/opensearchdescription+xml" template="https://janpaul123-valtownsemanticsearch.web.val.run/opensearch.xml"/>

cmdk_commandmain.tsx7 matches

@pomdtrUpdated 11 months ago
1#!/usr/bin/env -S deno serve --allow-all --env --watch
2
3import { fetchAPI } from "https://esm.town/v/pomdtr/fetchAPI?v=4";
4import { Hono } from "npm:hono";
5
8
9app.get("/", async (c) => {
10 const resp = await fetchAPI("/v1/me", {
11 token,
12 });
51app.get("/vals/list", async (c) => {
52 const userID = c.req.query("user");
53 const resp = await fetchAPI(`/v1/users/${userID}/vals`, {
54 token,
55 paginate: true,
103app.get("/vals/view", async (c) => {
104 const valID = c.req.query("val");
105 const resp = await fetchAPI(`/v1/vals/${valID}`, {
106 token,
107 });
128 const { name, code, privacy, type, val } = await c.req.json();
129
130 await fetchAPI(`/v1/vals/${val}`, {
131 method: "PATCH",
132 token,
200 const { name, code, privacy, type } = await c.req.json();
201
202 const resp = await fetchAPI("/v1/vals", {
203 method: "POST",
204 token,
271app.post("/vals/delete", async (c) => {
272 const { reload, val } = await c.req.json();
273 const resp = await fetchAPI(`/v1/vals/${val}`, {
274 method: "DELETE",
275 token,

fetchAPImain.tsx4 matches

@pomdtrUpdated 11 months ago
1import { API_URL } from "https://esm.town/v/std/API_URL";
2
3export async function fetchAPI(
4 path: string,
5 options?: RequestInit & {
11 if (options?.paginate) {
12 const data = [];
13 let url = new URL(`${API_URL}${path}`);
14 url.searchParams.set("limit", "100");
15
42 }
43
44 return fetch(`${API_URL}${path}`, {
45 ...options,
46 headers: {

uploadImagemain.tsx1 match

@chriswmartinUpdated 11 months ago
24}
25async function getUploadURL(): Promise<string> {
26 const data = await (await fetch("https://www.val.town/api/trpc/generateImageUploadUrl", {
27 "headers": {
28 "content-type": "application/json",

blob_adminREADME.md1 match

@tarasUpdated 11 months ago
9[![](https://stevekrouse-button.express.val.run/Install)](https://www.val.town/v/stevekrouse/blob_admin_app/fork)
10
11It uses [basic authentication](https://www.val.town/v/pomdtr/basicAuth) with your [Val Town API Token](https://www.val.town/settings/api) as the password (leave the username field blank).
12
13# TODO

textToImagePlaygroundREADME.md1 match

@iamseeleyUpdated 11 months ago
1## 🖼️ text to image playground using [fal.ai](https://fal.ai) model apis
2
3Migrated from folder: image_gen/textToImagePlayground

RandomQuoteAPI

@FreelzyUpdated 17 hours ago

HAPI7 file matches

@dIgitalfulusUpdated 23 hours ago
Kapil01
apiv1