Repository navigation
Immutable
release. Only release title and notes can be modified.
Zeal is now Zelith.
What's new
- Redesigned workspace UI with a two-pane target explorer.
- Bzlmod dependency browser and visual Bazel query editor.
- Live builds and history across worktrees.
Install the Apple Silicon DMG. Bazel or Bazelisk is required.
This build is ad-hoc signed and is not notarized by Apple. If macOS can’t verify the developer, see Apple’s Open Anyway instructions.
Migrate from Zeal v0.2.0 (data and BEP)
- Quit both apps. Install
zstdwithbrew install zstdif needed. - If
~/Library/Application Support/io.github.ohatakenji.zelithexists, rename it as a backup. - Paste this into macOS Terminal (zsh), then open Zelith when it finishes.
The script copies the old data and converts BEP from gzip to Zstandard. It keeps the original Zeal data.
(
set -eu -o pipefail
umask 077
echo "Checking data directories"
cd "$HOME/Library/Application Support"
old=io.github.ohatakenji.zeal
new=io.github.ohatakenji.zelith
[[ -d "$old" && ! -L "$old" ]] || { print -ru2 "Missing Zeal data: $old"; exit 1; }
[[ ! -e "$new" && ! -L "$new" ]] || { print -ru2 "Back up $new first"; exit 1; }
unsafe=$(find "$old" ! -type d ! -type f -print -quit)
[[ -z "$unsafe" ]] || { print -ru2 "Unsupported file: $unsafe"; exit 1; }
echo "Copying Zeal data"
tmp=$(mktemp -d .zelith-migration.XXXXXX)
trap 'rm -rf -- "$tmp"' EXIT
copy="$tmp/$new"
ditto "$old" "$copy"
echo "Migrating the history database"
if [[ -f "$copy/zeal.db" ]]; then
(cd "$copy" && /usr/bin/sqlite3 -batch -bail -init /dev/null zeal.db '.backup zelith.db')
rm -f "$copy"/zeal.db{,-wal,-shm,-journal}
fi
echo "Converting BEP to Zstandard"
for gz in "$copy"/invocations/*/attempt/*/bep.binpb.gz(N); do
dst="${gz%.gz}.zst"
[[ -f "$dst" ]] || gzip -dc < "$gz" | zstd -q -3 > "$dst"
done
echo "Installing Zelith data"
mv -n "$copy" .
[[ ! -e "$copy" ]] || { print -ru2 "Back up $new first"; exit 1; }
echo "Migration complete. Open Zelith."
)