Back to APIs list

Vercel API examples & templates

Use these vals as a playground to view and fork Vercel API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
cron_space
appsidal
cron_space
An interactive, runnable TypeScript val by appsidal
get_instagram_media
darenhua
get_instagram_media
An interactive, runnable TypeScript val by darenhua
personaltraining
OgagaOnuta
personaltraining
Personal Trainer Fitness Tracker Overview The Personal Trainer Fitness Tracker was created using Val Town's Townie AI to streamline personal trainer-client interactions and enhance fitness tracking. The Personal Trainer Fitness Tracker is a web and mobile app designed to help personal trainers manage client progress, create workout routines, and track fitness metrics efficiently. The app features a dark theme, professional fonts, and a sleek black dumbbell icon for branding. Visit the live demo: Personal Trainer App Features Client Management : Add, edit, and track client profiles and fitness goals. Progress Tracking : Visual dashboards with performance analytics and wearable fitness tracker integration. Workout Program Designer : Customizable exercise routines with sets, reps, intensity, and scheduling. Nutrition & Lifestyle Logging : Optional meal tracking, hydration, and recovery monitoring. Communication & Engagement : In-app messaging, automated progress reminders, and motivational alerts. Dark Theme & Branding : Modern dark theme UI with a black dumbbell icon and professional fonts for a polished experience. Tech Stack Frontend : React (for web), React Native (for mobile) Backend : Node.js with Express.js Database : MongoDB / PostgreSQL Authentication : Firebase / JWT Hosting : AWS / Vercel / Netlify Installation Prerequisites Node.js installed MongoDB or PostgreSQL database setup Steps Clone the repository: git clone https://github.com/yourusername/personal-trainer-app.git Navigate into the project directory: cd personal-trainer-app Install dependencies: npm install Set up environment variables (create a .env file and add credentials for the database, authentication, etc.). Run the development server: npm run dev Open the app in your browser at http://localhost:3000 . Contributing Contributions are welcome! Feel free to fork this repository and submit pull requests. License This project is licensed under the MIT License. Contact For questions or support, contact [ogagaonuta@gmail.com] or open an issue on GitHub.
healthChatbot
sganta048
healthChatbot
🧠 Mental Health Chatbot A simple AI-powered chatbot designed to provide mental health support, encouragement, and mindfulness resources . While it's not a substitute for professional help, it serves as a friendly companion to assist users in moments of need. πŸš€ Live Demo : Health Chatbot ✨ Features βœ”οΈ Conversational AI – Engages users in supportive discussions. βœ”οΈ Mindfulness & Coping Strategies – Provides relaxation techniques and self-care tips. βœ”οΈ Resource Recommendations – Suggests articles, hotlines, and professional support links. βœ”οΈ Anonymous & Judgment-Free – A safe space to talk and reflect. πŸ”§ Tech Stack Frontend: HTML, CSS, JavaScript Backend: Python (Flask or FastAPI) AI Model: OpenAI API / Custom NLP Model Deployment: Vercel / Streamlit / Hugging Face Spaces πŸš€ Installation & Setup Clone the repository git clone https://github.com/SwethaReddyGanta/mental-health-chatbot.git cd mental-health-chatbot Create a virtual environment python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate Install dependencies pip install -r requirements.txt Run the chatbot locally python app.py The chatbot should be accessible at http://localhost:5000/ 🌍 Contributing Want to improve this chatbot? Feel free to fork this repo, submit PRs , or suggest ideas! πŸ›‘οΈ Disclaimer This chatbot is not a substitute for professional mental health services . If you or someone you know is struggling, please seek help from a licensed professional or a trusted support system. πŸ“¬ Contact πŸ’Œ Let's connect! Find me on LinkedIn or reach out via email. πŸ’™ "Your mental health matters. You are not alone."
attendance
rayyan
attendance
@jsxImportSource npm:hono/jsx
ai
goode_bye
ai
Remix of: yawnxyz/ai
inventory
toowired
inventory
Remix of: ejfox/inventory
ai_bounty_finder
thatsmeadarsh
ai_bounty_finder
// define the apps you want to use
Send_Errors_to_Email
bmitchinson
Send_Errors_to_Email
Send errors to email Get a POST request, send an email with the given subject. Used to suplement console.error , since vercel charges 20 dollars a month to send my logs elsewhere. Wish there was a cheaper option for error specific alerting native to vercel. Further described on the val itself! https://bmitchinson-tangiblelimecockroach.web.val.run
api_v1
maxharper26
api_v1
Remix of: stevekrouse/sqlite
counter
yawnxyz
counter
// Export app.fetch for Val Town, otherwise export app β€” this is only for hono apps
email_channel
campsite
email_channel
Email a Campsite channel This val creates an email address that posts forwarded emails to a Campsite channel. It uses GPT-4 to extract a readable version of the forwarded email from the raw body. If you don't want to use GPT-4, omit the OPENAI_API_KEY and the raw body will be included in the post. Other providers are available via Vercel's AI SDK . For help with creating integrations, check out the Campsite API docs . You'll need to create an integration and get an API key.
ai
yawnxyz
ai
An http and class wrapper for Vercel's AI SDK Usage: Groq: https://yawnxyz-ai.web.val.run/generate?prompt="tell me a beer joke"&provider=groq&model=llama3-8b-8192 Perplexity: https://yawnxyz-ai.web.val.run/generate?prompt="what's the latest phage directory capsid & tail article about?"&provider=perplexity Mistral: https://yawnxyz-ai.web.val.run/generate?prompt="tell me a joke?"&provider=mistral&model="mistral-small-latest" async function calculateEmbeddings(text) { const url = `https://yawnxyz-ai.web.val.run/generate?embed=true&value=${encodeURIComponent(text)}`; try { const response = await fetch(url); const data = await response.json(); return data; } catch (error) { console.error('Error calculating embeddings:', error); return null; } }
VALLErun
arash2060
VALLErun
Remix of: janpaul123/VALLErun
starlightFaker
kylem
starlightFaker
Remix of: kylem/loremIpsumMarkdownGenerator
aiBasicExample
kora
aiBasicExample
Remix of: yawnxyz/aiBasicExample