尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Bosebase is an alternative to Pocketbase and Supabase, and it is completely open source. Supports commercial use. PocketBase alternatives, Supabase alternatives, Design based on first principles
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Bosbase is a permanently open-source and free backend platform designed as a modern alternative to PocketBase and Supabase. It delivers a full-featured backend solution while embracing the AI era with AI-driven development tools and flexible extensibility.
Bosbase is completely free for personal use and for large-scale enterprise deployments. It's fully community-managed with no licensing fees or hidden costs.
Bosbase is built on the foundation of PocketBase — huge thanks to the PocketBase project for the inspiration! We extended and redesigned it from first principles to better support large-scale commercial deployments, PostgreSQL as the primary database (with pgvector for vector capabilities), zero-downtime hot-reload for complex business logic, WASM plugins, and AI-assisted operations.
/api/llm/v1 and a BosBase token, with streaming and usage tracking per channel and model.AI agents connect to /api/mcp (MCP Streamable HTTP) with a BosBase token and get a persistent brain:
memory_context briefs it for the task, memory_remember saves what it learned with deduplication, and memory_extract lets the server extract memories from a transcript with an LLM.[[wikilinks]], backlinks, renames that rewrite links, daily notes and version history.chat_room, chat_send, chat_read with long polling), and apps follow the same rooms through the realtime subscriptions.claude mcp add --transport http bosbase https://your-host/api/mcp --header "Authorization: Bearer <token>"
See the MCP guide and the MCP API reference.
Bosbase is permanently open source and free. It's completely free for personal use and for large-scale enterprise deployments. It's fully community-managed, ensuring transparency and long-term sustainability.
Bosbase helps enterprises and developers reduce backend costs while enabling powerful AI-native features.
Create a docker-compose.yml file with the following services, then run docker compose up -d:
services:
bosbase-node:
image: bosbase/bosbase:latest
restart: unless-stopped
environment:
SASSPB_POSTGRES_URL: postgres://postgres:postgres@postgres-db:5432/pbosbase?sslmode=disable
BS_ENCRYPTION_KEY: 0123456789abcdef0123456789abcdef
# OPENAI_BASE_URL: ${OPENAI_BASE_URL:-https://api.chatanywhere.org/v1}
# REDIS_URL: ${REDIS_URL:-192.168.1.60:6379}
# REDIS_PASSWORD: ${REDIS_PASSWORD:-}
WASM_ENABLE: ${WASM_ENABLE:-true}
WASM_INSTANCE_NUM: ${WASM_INSTANCE_NUM:-2}
SCRIPT_CONCURRENCY: ${SCRIPT_CONCURRENCY:-2}
FUNCTION_CONN_NUM: ${FUNCTION_CONN_NUM:-10}
EXECUTE_PATH: ${EXECUTE_PATH:-/pb/functions}
# BOOSTER_PATH: ${BOOSTER_PATH:-/pb/booster-wasm}
# BOOSTER_POOL_MAX: ${BOOSTER_POOL_MAX:-2}
# BOOSTER_WASMTIME_MEMORY_GUARD_SIZE: ${BOOSTER_WASMTIME_MEMORY_GUARD_SIZE:-65536}
# BOOSTER_WASMTIME_MEMORY_RESERVATION: ${BOOSTER_WASMTIME_MEMORY_RESERVATION:-0}
# BOOSTER_WASMTIME_MEMORY_RESERVATION_FOR_GROWTH: ${BOOSTER_WASMTIME_MEMORY_RESERVATION_FOR_GROWTH:-1048576}
PB_DATA_MAX_OPEN_CONNS: ${PB_DATA_MAX_OPEN_CONNS:-30}
PB_DATA_MAX_IDLE_CONNS: ${PB_DATA_MAX_IDLE_CONNS:-15}
PB_AUX_MAX_OPEN_CONNS: ${PB_AUX_MAX_OPEN_CONNS:-10}
PB_AUX_MAX_IDLE_CONNS: ${PB_AUX_MAX_IDLE_CONNS:-3}
PB_QUERY_TIMEOUT: ${PB_QUERY_TIMEOUT:-300s}
ports:
- "8090:8090"
- "2678:2678"
volumes:
- ./bosbase-data:/pb/pb_data
- ./pb_hooks:/pb_hooks
depends_on:
postgres-db:
condition: service_healthy
networks:
- basenode
command: ["sh", "-c", "sleep 5 && /pb/bosbase serve --http=0.0.0.0:8090 --encryptionEnv BS_ENCRYPTION_KEY"]
healthcheck:
test: ["CMD-SHELL", "wget --quiet --tries=1 --spider http://localhost:8090/api/health || exit 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
postgres-db:
image: pgvector/pgvector:pg16
restart: unless-stopped
environment:
POSTGRES_DB: pbosbase
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- ./postgres-data:/var/lib/postgresql/data
networks:
- basenode
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d pbosbase"]
interval: 2s
timeout: 5s
retries: 10
start_period: 10s
networks:
basenode:
name: basenode
Access the admin dashboard at http://localhost:8090/_/.
API endpoint: http://localhost:8090
[email protected]bosbasepassFeel free to explore and test features!
For production-grade self-hosting (including PostgreSQL setup, reverse proxy with SSL, backups, monitoring, etc.), see the dedicated guide:
Includes one-click install scripts for Ubuntu/Rocky Linux, Docker Compose configurations, Caddy/NGINX reverse proxy, and more.
Questions, feedback, or issues? Reach out at [email protected]
The backend HTTP, SSE, and WebSocket interface documentation is available in the local apidocs/ directory:
apidocs/API_REFERENCE.mdapidocs/api-reference/README.mdThese documents describe request bodies, field meanings, types, examples, response formats, and endpoint usage for direct API integration.
Bosbase provides ready-to-use templates and SDKs for popular frameworks:
bosbase/bosbase-nextjs — Next.js template with Bosbase JavaScript SDK integration
bosbase/bosbase_flutter — Flutter template with Bosbase Dart SDK
Both templates include:
See the individual repositories for detailed setup instructions and examples.
Copy the SDK Docs Path to Your Project
To keep documentation handy (e.g., for reference or offline use):
js-sdk for JavaScript/TypeScript, python-sdk for Python, etc.) from https://github.com/orgs/bosbase/repositories.docs/ folder (or README.md + any markdown docs) from the SDK repo into your project's docs/sdk/ directory (create it if needed).Configure Bosbase Connection
Use the following credentials and endpoint for testing/demo purposes (from the official Bosbase try instance). For production, deploy your own Bosbase instance and update these values.
Note on API endpoint to AI: Bosbase supports AI-assisted development through its SDKs (see AI Development Guides in https://docs.bosbase.com/docs/sdk). The base API endpoint above handles all requests, including any AI-related features or integrations (no separate AI-specific endpoint is required; use the standard SDK methods for collections, auth, etc.). For AI-specific examples, refer to the guides in the docs (e.g., for JS SDK: https://docs.bosbase.com/docs/sdk/js-docs/ai-development-guide).
Bosbase would not exist without PocketBase — thank you for the amazing foundation!
MIT License — see LICENSE for details.
Bosbase is permanently open source and free. It's completely free for personal use and for large-scale enterprise deployments. It's fully community-managed with:
We believe in open-source software that remains free forever, empowering developers and businesses of all sizes to build amazing products without backend licensing costs.