Proposal: PocketBase add-on

Đang mở
#527 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@akanyane đang làm issue này rồi.

Từ ngày 6/11/2026.

  • #572 của @akanyane — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, sqlite, typescript, vite
Lĩnh vực
cli, database

Hướng nghiên cứu

This is a proposal, so first confirm a maintainer accepts the add-on before writing code. If accepted, use the existing Convex and PowerSync add-ons as the model for the new add-on's files, the src/lib/pocketbase.ts client, a pb_migrations/ migration for a todos collection, the .gitignore entry, and a /demo/pocketbase route. Done means the add-on installs and the demo runs against a local PocketBase server.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Proposal

Add a built-in PocketBase add-on for React (--add-ons pocketbase).

PocketBase is an open source backend in a single binary: embedded SQLite, auth, realtime subscriptions, file storage and an admin UI. It's a popular choice for side projects and self-hosted apps, and right now the CLI has no self-hosted backend option in the database category (Neon, Convex and PowerSync are all hosted services).

Scope

It follows the same shape as the existing Convex / PowerSync add-ons:

  • pocketbase JS SDK dependency + src/lib/pocketbase.ts client reading VITE_POCKETBASE_URL
  • a pb_migrations/ JS migration that creates a todos collection on ./pocketbase serve
  • pb_data/ added to .gitignore
  • a /demo/pocketbase realtime todo route using the standard demo-* styles
  • category database, exclusive with database / orm, React + Vite only

The user downloads the PocketBase binary themselves (same manual-backend model as the Strapi add-on).

I have a working implementation ready and tested against a real PocketBase v0.40.6 server. Would you be open to this? Happy to adjust scope or naming.

Ngôn ngữ chính
TypeScript
Star
1.3k
Fork
188
Merge trung bình
5 giờ 30 phút
Pull request đã merge (30 ngày)
42

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TanStack/cli

Tất cả issue của TanStack/cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.