zerobyte/packages/core
Eric Hess d2f65716fe
feat(mirrors): add selective snapshot sync to mirror repositories (#755)
* feat(mirrors): add selective snapshot sync to mirror repositories

Allow users to sync missing snapshots from the source repository to a
mirror. A new sync button per mirror opens a dialog showing which
snapshots are missing, with checkboxes to select which ones to copy.

- Add GET /:shortId/mirrors/:mirrorShortId/status endpoint to compare
  snapshots between source and mirror repositories
- Add POST /:shortId/mirrors/:mirrorShortId/sync endpoint accepting
  selected snapshotIds in the request body
- Extend restic copy command to accept multiple snapshotIds
- Add sync preview dialog with snapshot selection to the frontend

* refactor: stylistic changes

---------

Co-authored-by: Nicolas Meienberger <github@thisprops.com>
2026-04-16 21:28:48 +02:00
..
src feat(mirrors): add selective snapshot sync to mirror repositories (#755) 2026-04-16 21:28:48 +02:00
test chore(core package): re-organize files 2026-04-16 19:07:11 +02:00
.gitignore refactor: extract restic in core package (#651) 2026-03-11 21:56:07 +01:00
bun.lock refactor: extract restic in core package (#651) 2026-03-11 21:56:07 +01:00
package.json chore(deps): update dependency typescript to v6 (#732) 2026-04-04 17:34:25 +02:00
README.md chore: migrate toolchain to vite-plus (#762) 2026-04-09 17:57:19 +02:00
tsconfig.json feat(agent): add standalone agent runtime (#761) 2026-04-08 20:47:15 +02:00
vitest.config.ts test: move test runner from Bun to Vitest (#727) 2026-04-01 20:05:54 +02:00

core

To install dependencies:

vp install

To run:

bun run index.ts

This project was created using bun init in bun v1.3.10. Bun is a fast all-in-one JavaScript runtime.