Back to Home
Chris31372 icon

better-chat

by Chris31372

Overview

An AI chat application designed for interacting with technical documentation using various AI models and tools, featuring per-user data isolation with Cloudflare Durable Objects.

Installation

Run Command
bun a:dev

Environment Variables

  • VITE_SERVER_URL
  • VITE_WEB_URL
  • ALCHEMY_STAGE
  • CORS_ORIGIN
  • BETTER_AUTH_URL
  • BETTER_AUTH_SECRET
  • RESEND_API_KEY
  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • GH_CLIENT_ID
  • GH_CLIENT_SECRET
  • API_ENCRYPTION_KEY
  • OPENAI_API_KEY
  • GOOGLE_GENERATIVE_AI_API_KEY
  • CLOUDFLARE_ACCOUNT_ID
  • CLOUDFLARE_DATABASE_ID
  • CLOUDFLARE_API_TOKEN
  • CUSTOM_WEB_DOMAIN
  • API_ROUTE_PATTERN

Security Notes

The application allows users to add custom MCP (Model Context Protocol) server URLs. This feature, if not rigorously validated and sandboxed by the underlying infrastructure (e.g., Cloudflare Workers), poses a significant risk of Server-Side Request Forgery (SSRF) or interaction with malicious external services. Attackers could potentially use this to exfiltrate data, perform port scanning, or exploit other vulnerabilities if the MCP server itself is compromised. While sensitive API keys are encrypted at rest and stored in environment variables, the open-ended nature of custom MCP server URLs warrants caution.

Similar Servers

Stats

Interest Score30
Security Score5
Cost ClassHigh
Avg Tokens3500
Stars1
Forks0
Last Update2025-12-06

Tags

AI ChatDocumentationMulti-modelCloudflareDurable Objects