9);
1011export async function trigger(req: Request): Promise<Response> {
12const url = new URL(req.url);
13
11});
1213function getStripeCustomer(customerId: string) {
14return stripe.customers.retrieve(customerId);
15}
valreadmegeneratormain.tsx4 matches
4import React, { useRef, useState, useEffect } from "https://esm.sh/react@18.2.0";
56function App() {
7const [username, setUsername] = useState("");
8const [valName, setValName] = useState("");
158}
159160function client() {
161createRoot(document.getElementById("root")).render(<App />);
162}
163if (typeof document !== "undefined") { client(); }
164165export default async function server(request: Request): Promise<Response> {
166const url = new URL(request.url);
167const parts = url.pathname.split('/').filter(Boolean);
248});
249} catch (error) {
250console.error('Error in server function:', error);
251return new Response(`Error: ${error.message}`, { status: 500 });
252}
10const SOLUTION_WORDS = ["WILLY", "YOUTH", "MARRY", "METER"];
1112function Modal({ isOpen, onClose, children }) {
13if (!isOpen) return null;
1422}
2324function WinModal({ isOpen, onPlay }) {
25return (
26<Modal isOpen={isOpen}>
36}
3738function ProposalModal({ isOpen }) {
39return (
40<Modal isOpen={isOpen}>
47}
4849function App() {
50const [games, setGames] = useState(SOLUTION_WORDS.map(word => ({
51word,
188}
189190function GameBoard(
191{
192word,
272}
273274function Keyboard({ usedLetters, onKeyPress, disabled }) {
275const rows = [
276["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"],
339}
340341function client() {
342createRoot(document.getElementById("root")).render(<App />);
343}
345if (typeof document !== "undefined") { client(); }
346347export default async function server(request: Request): Promise<Response> {
348const { blob } = await import("https://esm.town/v/std/blob");
349const wordList = await (await blob.get("quordle")).text();
393}
394@keyframes bounce {
3950%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
39650% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
397}
398.animate-bounce { animation: bounce 1s infinite; }
23`;
2425function Hero() {
26return (
27<div className="hero">
32}
3334function HowItWorks() {
35return (
36<div className="how-it-works">
53}
5455function App() {
56const [ycCompanies, setYcCompanies] = useState<YCCompany[]>([]);
57const [mergedData, setMergedData] = useState<any[]>([]);
217}
218219function client() {
220createRoot(document.getElementById("root")!).render(<App />);
221}
225}
226227export default async function server(request: Request): Promise<Response> {
228const companies = await fetch("https://stevekrouse-yc_database.web.val.run").then(res => res.json());
229const url = new URL(request.url);
simpletextmain.tsx1 match
84};
8586export default async function(req: Request): Promise<Response> {
87const url = new URL(req.url);
88const pageKeys = (await blob.list()).filter(e => e.key.split("/")[0] === nameSpacePrefix).map(e => e.key);
XKCDComicOfTheDaymain.tsx1 match
2import { load } from "npm:cheerio";
34export default async function(req: Request): Promise<Response> {
5const response = await fetchText("https://xkcd.com/");
6const $ = load(response);
cronJobToCheckCISAKEVmain.tsx2 matches
5const BLOB_KEY = "seen_cves";
67async function checkNewVulnerabilities() {
8const response = await fetch(KEV_URL);
9const data = await response.json();
30}
3132export default async function kevCron() {
33return await checkNewVulnerabilities();
34}
1export default async function server(request: Request): Promise<Response> {
2try {
3const response = await fetch("https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json");
cisaKEVToRSSmain.tsx4 matches
3const RSS_FEED_URL = "https://hrbrmstr-cisakevtorss.web.val.run"; // Update this to your actual RSS feed URL
45function escapeXML(str: string): string {
6return str.replace(/&/g, "&")
7.replace(/</g, "<")
11}
1213function removeInvalidXMLChars(str: string): string {
14return str
15.replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F]/g, "") // Control characters
19}
2021function generateRSS(data: any): string {
22const { title, catalogVersion, dateReleased, vulnerabilities } = data;
2368}
6970export async function handler(req: Request): Promise<Response> {
71try {
72const response = await fetch(CISA_JSON_URL);