Overview
The opencode-vibe project is an exciting rebuild of the OpenCode web application utilizing Next.js 16, focusing on creating a robust and engaging real-time chat UI. With its innovative streaming message display and seamless Server-Sent Events (SSE) synchronization, this application boasts a modern, intuitive user experience. The Catppuccin-themed interface adds a touch of aesthetic appeal, making it visually pleasing for users. Designed for developers eager to embrace cutting-edge technology, it operates on a monorepo structure that combines various essential components.
The application is tailored to simplify the interactions between running OpenCode processes, allowing for auto-discovery and streamlined communication. Developers can expect a few rough edges, as the project utilizes a canary version of Next.js 16, providing a glimpse into the future of web applications.
Features
- World Stream Architecture: Utilizes the createWorldStream() function to ensure push-based reactive state management, enhancing user interaction.
- Multi-Server Discovery: Automatically finds all running OpenCode processes through lsof, eliminating the need for manual configuration.
- Cross-Process Messaging: Enables sending messages from the web UI that appear in the terminal user interface, allowing for versatile communication.
- Real-Time Streaming: Messages are streamed in as the AI generates them, providing dynamic and immediate updates to users.
- SSE Sync: All application updates are pushed via Server-Sent Events, ensuring that users receive real-time information.
- Slash Commands: Offers convenient actions such as /fix, /test, and /refactor via simple command inputs for quick functionality.
- File References: Users can fuzzy-search and attach files as context by typing @, simplifying document management within the application.
- Catppuccin Theme: Features both Latte (light) and Mocha (dark) themes with proper syntax highlighting, enhancing readability and user engagement.