2 KiB
2 KiB
VaultLink self-hosted Obsidian plugin for file syncing
Develop
Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bashnvm install 22nvm use 22- Optionally set the system-wide default:
nvm alias default 22
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 cargo-edit
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
Scripts
Update HTTP API TS bindings
scripts/update-api-types.sh
Publish new version
scripts/bump-version.sh patch
Run E2E tests
scripts/e2e.sh
And to clean up the logs & database files, run scripts/clean-up.sh
Todos
- Don't show server traces on auth failure
- Better server logs
- Allow setting config.yml path for server
- Single apply button in settings
- vritual list for logs view