Jodit AI Adapter Service¶
Universal AI adapter service for Jodit Editor AI Assistant Pro using Vercel AI SDK.
This service provides a secure, server-side proxy for AI providers (OpenAI, DeepSeek, Claude, etc.) that can be used with Jodit Editor's AI Assistant Pro plugin. It handles API key management, authentication, and request routing to various AI providers.
Features¶
- Secure API Key Management - API keys stored server-side, not exposed to clients
- Authentication - Validates API keys (36 characters, UUID format) and referer headers
- Multi-Provider Support - OpenAI, DeepSeek, Anthropic, Google (extensible)
- Streaming Support - Real-time streaming responses using Server-Sent Events (SSE)
- Tool Calling - Full support for function/tool calling
- Rate Limiting - Configurable rate limiting with in-memory or Redis backend
- Distributed Support - Redis-based rate limiting for multi-instance deployments
- Production Ready - Docker support, TypeScript, comprehensive error handling
- Logging - Winston-based logging with different levels
- Testing - Jest with comprehensive test coverage
Documentation¶
- Quick Start - Install, configure, and run in minutes
- Configuration - Environment variables and configuration file
- API Reference - All available endpoints
- Architecture - System architecture and design
- Rate Limiting - Rate limiting configuration
- Client Integration - Jodit Editor integration examples
- Usage Tracking - Track AI usage and costs
License¶
MIT License - see LICENSE for details.