Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat(vault): export and import the vault as a CAR file

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

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

Chưa có ai nhận issue này.

Đá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
56/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, python
Lĩnh vực
backend, database

Hướng nghiên cứu

Start by locating the vault's blockstore and index entry points, then read the existing CAR pinning work that shares @helia/car. Add a round-trip test using fixture blocks: export the vault, import it into a fresh profile, and verify the same items appear; also check duplicate imports and that corrupt files leave the vault unchanged.

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

Mô tả

enhancement helia storage tier-2

Summary

A backup and restore action for everything in the local vault.

Estimated size: M

Motivation

Browser storage can be cleared or evicted; users need a safety net that does not depend on a pinning service.

Proposal

  • Export all indexed CIDs to a single CAR plus a small manifest (names, types, dates).
  • Import reads the CAR into the blockstore and restores index entries, skipping duplicates.

Acceptance criteria

  • A vault exported in one browser profile imports into another and shows the same items.
  • Importing twice does not create duplicates.
  • Corrupt files fail with a clear error and change nothing.

Out of scope

  • Encryption of exports.

Technical notes and risks

  • Shares @helia/car with the CAR pinning issue, but neither depends on the other.

Dependencies

  • None; can be picked up independently.

Testing plan

  • Round-trip test with fixture blocks.

Part of #43. Ground rules for the content layer: no secrets in the repo, content-layer failures must never block or discard quantum execution, and tests and docs ship with every PR.

Ngôn ngữ chính
Python
Star
2
Fork
4
Merge trung bình
6 giờ 54 phút
Pull request đã merge (30 ngày)
7

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 QMeshPy/distributed-quantum

Tất cả issue của QMeshPy/distributed-quantum

Issue tương tự

Thêm issue về Python

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.