Skip to content

robflowk/babel-shift

Repository files navigation

Babel Shift

Babel Shift is a Tauri v2 desktop app for editing large translation catalogs without pushing the full dataset into the React runtime. Rust owns parsing, mutation, pagination, and save-hook execution; the frontend renders a virtualized matrix and a focused details panel for long-form translation work.

Stack

  • Tauri v2
  • Rust with extensible translation adapters for Generic JSON and Properties Bundle files
  • React 19 + TypeScript + Vite
  • Tailwind CSS v4
  • Zustand for frontend state
  • react-virtuoso for virtualized rendering

Install

One-liner for macOS and Linux (available once the first release is published):

curl -fsSL https://raw.githubusercontent.com/robflowk/babel-shift/main/install.sh | sh

Downloads the latest release, verifies it against the release's SHA256SUMS, and installs to /Applications (macOS) or ~/.local/bin (Linux AppImage). Pin a version with BABEL_SHIFT_VERSION=v0.1.0. Windows: use the installer from the releases page (winget planned).

Development

pnpm install
pnpm tauri dev

Current Architecture

  • src/components: UI shell, virtualized translation grid, focused editor panel, and status toasts
  • src/hooks: React hooks that coordinate deferred filtering and keyboard shortcuts
  • src/store: Zustand state for the workspace and IPC-backed mutations
  • src-tauri/src/parser.rs: translation adapter trait and JSON / Properties Bundle parsing logic
  • src-tauri/src/commands.rs: Tauri command handlers for load/query/update/save flows
  • src-tauri/src/hooks.rs: on-save formatter execution wrapper
  • src-tauri/src/state.rs: shared application state stored behind Tauri-managed locks

License

Babel Shift is source-available under the PolyForm Noncommercial License 1.0.0.

  • Free for noncommercial use — personal projects, hobby work, research, education, and nonprofit organizations. Use it, modify it, share it.
  • Commercial use requires a separate license from the author. A simple, fairly priced commercial license is planned but does not exist yet — if you want to use Babel Shift commercially today, open an issue or reach out.
  • No enforcement, ever. There are no license keys, no activation, no phone-home, and no telemetry in this app, and there never will be. Whether you comply is between you and your conscience — this project runs on honesty.

About

a vibe-coded tool for i18n files, because i was annoyed by the existing solutions on the market.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors