Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#52 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
56/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
javascript, python
Domínio
backend, database

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
2
Forks
4
Merge médio
6h 14min
PRs com merge (30d)
18

Preparar o ambiente

  • Inclui um Dockerfile ou arquivo Docker Compose
  • Sem modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de QMeshPy/distributed-quantum

Todas as issues de QMeshPy/distributed-quantum

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.