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/image-url.jpg%20%22Image%20title%22?q=react&page=1044&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 10913 results for "react"(1819ms)

valtownsemanticsearchmain.tsx2 matches

@janpaul123•Updated 11 months ago
1/** @jsxImportSource npm:preact **/
2import codeOnValTown from "https://esm.town/v/andreterron/codeOnValTown?v=50";
3import semanticSearchBlobs from "https://esm.town/v/janpaul123/semanticSearchBlobs";
4import semanticSearchNeon from "https://esm.town/v/janpaul123/semanticSearchNeon";
5import semanticSearchTurso from "https://esm.town/v/janpaul123/semanticSearchTurso";
6import { render } from "npm:preact-render-to-string";
7
8const githubQuery = (query: string) => encodeURIComponent(`${query} repo:pomdtr/val-town-mirror path:vals/`);

linkInBioTemplatemain.tsx2 matches

@saezheneia•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

resumeJSONmain.tsx1 match

@iamseeley•Updated 11 months ago
87 "CSS",
88 "Tailwind CSS",
89 "React",
90 "Next.js",
91 "Vite"

statusmain.tsx3 matches

@adrianmg•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { sqlite } from "https://esm.town/v/std/sqlite?v=6";
3import { html } from "https://esm.town/v/stevekrouse/html";
4import { SparklineSVG } from "https://esm.town/v/stevekrouse/sparklineSVGReact";
5import { renderToString } from "npm:react-dom/server";
6
7function StatusRow({ rows }) {

purpleKangaroomain.tsx2 matches

@willthereader•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4
5// This uses by personal API key, you'll need to provide your own if

chocolateCanidmain.tsx2 matches

@willthereader•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { OpenAI } from "https://esm.town/v/std/openai";
3import { Hono } from "npm:hono@3";
4import { renderToString } from "npm:react-dom/server";
5
6const openai = new OpenAI();

coralCarpmain.tsx2 matches

@willthereader•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4const openai = new OpenAI();
5import { Hono } from "npm:hono@3";

emeraldRaccoonmain.tsx2 matches

@willthereader•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4const openai = new OpenAI();
5import { Hono } from "npm:hono@3";

valTownChatGPTmain.tsx2 matches

@willthereader•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4const openai = new OpenAI();
5import { Hono } from "npm:hono@3";

translatemain.tsx1 match

@yawnxyz•Updated 11 months ago
33 <script src="https://cdn.tailwindcss.com/"></script>
34 <script type="module">
35 import { html, Component, render } from "https://cdn.cbd.int/htm/preact/standalone.module.js";
36 import { ofetch } from "https://esm.sh/ofetch/dist/index.mjs";
37 import { z } from "https://esm.sh/zod";

reactHonoStarter4 file matches

@Jjjiii•Updated 1 hour ago

reactHonoExample9 file matches

@purplesquirrelmedia•Updated 4 hours ago
effector
Write business logic with ease Meet the new standard for modern TypeScript development. Type-safe, reactive, framework-agnostic library to manage your business logic.
officialrajdeepsingh
Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh