Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@blocknote/xl-ai-server

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocknote/xl-ai-server

A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.

latest
npmnpm
Version
0.31.0
Version published
Maintainers
3
Created
Source

BlockNote AI Server

The BlockNote AI Server is a simple demo node.js (Hono) Proxy server you can use to pass requests to third party LLM provider without exposing your LLM API keys on the client.

The server exposes the endpoint /ai?url=<URL-TO-FETCH>&provider=<PROVIDERNAME> which can handle LLM requests (e.g.: created with the AI SDK). These are forwarded to URL-TO-FETCH with API keys loaded from environment variables.

Requirements

Requirements:

  • mkcert for local testing over https (instructions)

Configuration

Configure your environment variables according to .env.example.

Running (dev mode):

mkcert localhost
pnpm run dev

Client Usage

use createBlockNoteAIClient from @blocknote/xl-ai to create an API client to connect to the BlockNote AI Server / proxy.

Keywords

react

FAQs

Package last updated on 20 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts