No description
Find a file
Andras Schmelczer 7dc0f4316e
Some checks failed
Check / build (pull_request) Has been cancelled
E2E tests / build (pull_request) Has been cancelled
Publish CLI / publish-docker (pull_request) Has been cancelled
Publish server Docker image / publish-docker (pull_request) Has been cancelled
Remove history-ui workspace and supporting server endpoints
Splits history-ui out of asch/fix-everything into its own branch. This
commit removes from asch/fix-everything: the Svelte workspace under
frontend/history-ui, the three dedicated server endpoints (list_vaults,
fetch_vault_history, fetch_document_versions) and their router wiring,
the SPA asset embedding in index.rs, the rust-embed/mime_guess deps,
the build.rs dist-dir creation, the matching response types and
database methods (list_vaults, get_vault_stats, get_vault_history,
get_document_versions, VaultStats, VaultHistoryRow), and the TS mirror
types in sync-client.

Note: Cargo.lock, frontend/package-lock.json, and sync-server/.sqlx/
will need regeneration via `cargo build`, `npm install`, and
`cargo sqlx prepare` to clean up stale entries. The history-ui mentions
in CLAUDE.md and scripts/update-api-types.sh predate this branch (also
present on main) and were left as-is.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 11:44:05 +01:00
.forgejo/workflows Migrate to forgejo 2026-03-28 10:31:25 +00:00
.vscode Format & lint 2026-04-25 17:55:46 +01:00
docs Format 2026-03-25 20:07:55 +00:00
frontend Remove history-ui workspace and supporting server endpoints 2026-05-09 11:44:05 +01:00
scripts actually works 2026-05-08 16:40:32 +01:00
sync-server Remove history-ui workspace and supporting server endpoints 2026-05-09 11:44:05 +01:00
.editorconfig Fix and apply editorconfig 2025-12-07 16:42:23 +00:00
.gitignore WIP 2026-04-06 13:01:47 +01:00
CLAUDE.md claude 2026-05-04 13:07:18 +01:00
manifest.json Bump versions to 0.14.0 2025-12-14 23:31:40 +00:00
package-lock.json Format & lint 2026-04-25 17:55:46 +01:00
README.md Bump deps, improve e2e test and pick up changes in the plugin 2026-03-28 11:17:18 +00:00
rustfmt.toml No more eclint 2026-03-25 20:01:01 +00:00

VaultLink self-hosted Obsidian plugin for file syncing

Check E2E tests Publish server Docker image Publish CLI Publish Obsidian plugin

Develop

Set up Node.JS 25 with nvm

  • curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
  • nvm install 25
  • nvm use 25
  • Optionally, set the system-wide default: nvm alias default 25

Set up Rust

  • Install rustup: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Install wasm-pack: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
  • cargo install cargo-insta sqlx-cli

Install Obsidian on Linux

apt install flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub md.obsidian.Obsidian
flatpak run md.obsidian.Obsidian

Run in development mode

Start the server:

cargo install sqlx-cli
cd sync-server
cargo run config-e2e.yml
cd frontend
npm install
npm run dev

Scripts

Before pushing

scripts/check.sh --fix

Update HTTP API TS bindings

scripts/update-api-types.sh

Publish new version

scripts/bump-version.sh patch

Run E2E tests

scripts/e2e.sh 8

And to clean up the logs & database files, run scripts/clean-up.sh

Projects