Bodhi React SDK Integration
Integrates React and Vite applications with the Bodhi JS SDK to enable local LLM chat capabilities and seamless authentication.
This skill streamlines the process of adding local AI functionality to React projects using the Bodhi ecosystem. It provides comprehensive guidance on setting up the BodhiProvider, managing OAuth 2.0 authentication, implementing streaming chat interfaces, and troubleshooting connection modes between browser extensions and direct HTTP. It is particularly useful for developers building privacy-focused, local-first AI applications that require an OpenAI-compatible interface within the Bodhi Browser ecosystem.
주요 기능
010 GitHub stars
02Intelligent connection switching between Extension and Direct modes
03OpenAI-compatible chat completions with native streaming support
04Seamless React integration via @bodhiapp/bodhi-js-react preset packages
05Vite-optimized deployment patterns for environments like GitHub Pages
06Automated OAuth 2.0 PKCE authentication flow management
사용 사례
01Building a private, local-first AI chat interface in a React web app
02Migrating existing OpenAI-based applications to local models via Bodhi
03Deploying AI-powered web tools to GitHub Pages with proper sub-path configuration