Back to APIs list

db API examples & templates

Use these vals as a playground to view and fork db API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
bedtimeStoryColors
dthyresson
bedtimeStoryColors
An interactive, runnable TypeScript val by dthyresson
Script
pleasedLavenderAlbatross
ganeshkumartk
pleasedLavenderAlbatross
// This approach creates a simple React component that embeds the MicroReact widget
HTTP
satisfactoryBlushCatshark
maxm
satisfactoryBlushCatshark
An interactive, runnable TypeScript val by maxm
Script
Thinking
Get
Thinking
* ThinkingFlow: Six Hats Thinking - MVP Simulation (AJAX Version) * Implements Edward de Bono's Six Thinking Hats methodology using a multi-agent system. * Features: Agents for White, Red, Black, Yellow, Green, Blue hats. * Allows users to specify hat sequence (e.g., "W,R,B,Y,G,B") or use default. * Simulates workflow visualization via structured text logs. * Uses OpenAI via @std/openai for agent responses. * Based on previous multi-agent simulation structures. * * Last Updated: 2025-04-18 (Based on ThinkingFlow prompt)
HTTP
docFeedbackForm
parkerdavis
docFeedbackForm
Remix of: stevekrouse/docFeedbackForm
HTTP
missingRosePony
jakub_tel
missingRosePony
Remix of: stevekrouse/btcPriceAlert
Cron
btcPriceAlert
browniebroke
btcPriceAlert
Remix of: stevekrouse/btcPriceAlert
Cron
pythonLearningApp
mrshorts
pythonLearningApp
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
CyberMetax
CyberK14
CyberMetax
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
january2024
petermillspaugh
january2024
petemillspaugh.com clippings: #1 – January 2024 Process for sending out a newsletter: Publish newsletter on the Web Fork this val and update subject, webUrl, targetSendDate Uncomment call to insertIntoNewslettersTable Add to @petermillspaugh/newsletters list Val
Script
productiveIndigoJay
melissanf
productiveIndigoJay
AI-Powered Content Generator 🚀 Overview This is an AI-powered tool that helps users generate blog post ideas and outlines based on a given topic. Users can easily copy or share their generated content. Features ✅ User Input – Enter a topic to get relevant blog ideas. ✅ AI-Powered Suggestions – Generates three blog post ideas or a detailed outline. ✅ Copy & Share – One-click copy button and a shareable link for easy sharing. How to Use 1️⃣ Enter a topic in the input field (e.g., "Remote Work Productivity"). 2️⃣ Generate blog ideas with AI. 3️⃣ Copy the results or share the link with others. Tech Stack Townie AI – AI-based automation OpenAI API – For generating blog content Built-in Databases – To store and retrieve topics (if needed) How to Deploy & Share Run the app on Townie AI Copy the generated link (Townie AI auto-deploys apps). Share it on social media or with your audience. Troubleshooting 🔹 Issue: Blog ideas not generating? ➡️ Click "Logs" in Townie AI and check the error message. 🔹 Issue: Copy button not working? ➡️ Ensure the event listener is correctly set for the copy function. 💡 Contributions & Feedback Have suggestions? Feel free to reach out or improve this project! 🚀
HTTP
getShorpyRSS
ryanbateman
getShorpyRSS
An interactive, runnable TypeScript val by ryanbateman
Script
feedback
lawrencewu
feedback
An interactive, runnable TypeScript val by lawrencewu
Script
storeEmailLinks
kbremner
storeEmailLinks
// Extract URLs from text using regex
Email
hardballcity_util_demo
stevekrouse
hardballcity_util_demo
An interactive, runnable TypeScript val by stevekrouse
Script
dailySlackRoundup
Scripted
dailySlackRoundup
Remix of: mikker/dailySlackRoundup
Script