Public
Like
GokuAi
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v7View latest version
A complete ChatGPT-like interface built with React and Hono, featuring:
- Modern ChatGPT-style UI with dark theme
- Real-time chat interface
- Message history
- Typing indicators
- Responsive design
- OpenAI GPT integration
├── backend/
│ └── index.ts # Main Hono server with API routes
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main chat application
│ │ ├── ChatMessage.tsx # Individual message component
│ │ └── ChatInput.tsx # Message input component
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
├── shared/
│ └── types.ts # Shared TypeScript types
└── README.md
- Chat Interface: Clean, modern design matching ChatGPT's appearance
- Message History: Persistent conversation history
- Real-time Responses: Streaming-like response display
- Responsive Design: Works on desktop and mobile
- Dark Theme: Modern dark theme similar to ChatGPT
- Set your OpenAI API key in environment variables as
OPENAI_API_KEY
- The app will be available at the HTTP endpoint
Simply start typing in the chat input and press Enter or click Send to get AI responses.