Readme
LLM code generation for vals! Make apps with a frontend, backend, and database.
It's a bit of work to get this running, but it's worth it.
- Fork this val to your own profile.
- Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in
tempValsParentFolderId
. - If you want to use OpenAI models you need to set the
OPENAI_API_KEY
env var. - If you want to use Anthropic models you need to set the
ANTHROPIC_API_KEY
env var. - Create a Val Town API token, open the browser preview of this val, and use the API token as the password to log in.
Code
HTTP
import VALLErun from "https://esm.town/v/janpaul123/VALLErun?v=9";
import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo?v=29";
// Set these to your own
export default VALLErun({
username: extractValInfo(import.meta.url).author,
// Make a folder, navigate to it, and get this from the URL.
tempValsParentFolderId: "cc6d9196-6754-11ef-b8a5-de64eea55b61",
});
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
trantion-excessplumfrog.web.val.run
Updated: August 31, 2024