1export function myApi(name) {
2 return "hi " + name;
3}
2let { formResponses } = await import("https://esm.town/v/andreterron/formResponses");
3
4export async function form_handler(req: Request) {
5 const data: any = Object.fromEntries((await req.formData()).entries());
6 //
1import { searchTweets } from "https://esm.town/v/andreterron/searchTweets";
2
3export async function searchPostsForTheActuallyBot(accessToken: string): Promise<{
4 id: string;
5 text: string;
1import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=41";
2
3export async function postTweet({ accessToken, text, reply }: {
4 accessToken: string;
5 text: string;
1export async function web(req: Request) {
2 return Response.json({
3 method: req.method,
1export function myApi(name) {
2 return "hi " + name;
3}
1import { monitoringGitHubRepository } from "https://esm.town/v/tzq/monitoringGitHubRepository";
2
3export async function monitoringZSearch() {
4 monitoringGitHubRepository("2063436123/ZSearch");
5}
3import { newRSSItems } from "https://esm.town/v/stevekrouse/newRSSItems?v=6";
4
5export async function tootLatestPosts({ lastRunAt }: Interval) {
6 return Promise.all(
7 (await newRSSItems({
1import { fetch } from "https://esm.town/v/std/fetch";
2
3export async function wttrGetForecast({
4 location,
5 languageCode = "en",
6import { unusedQuotes } from "https://esm.town/v/canpolat/unusedQuotes";
7
8export async function createQuotePost({ instance, communityId, auth }: {
9 instance: string;
10 communityId: number;
14 const { LemmyHttp } = await import("npm:lemmy-js-client@0.18.1");
15 let client = new LemmyHttp(`https://${instance}`, {
16 fetchFunction: fetch,
17 });
18 const quote = unusedQuotes.pop();
A helper function to build a file's email
Simple functional CSS library for Val Town
import { OpenAI } from "https://esm.town/v/std/openai";
export default async function(req: Request): Promise<Response> {
if (req.method === "OPTIONS") {
return new Response(null, {
headers: {
"Access-Control-Allow-Origin": "*",
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.