Skip to content

mmurakaru/offline.cat

Repository files navigation

offline.cat

Free, offline, privacy-first CAT tool. Runs entirely on your device — browser or desktop. No server, no account, no lock-in.

Why on-device?

offline.cat runs translation on your machine, not a cloud service. This means:

  • Private - data never leaves the device
  • Fast - no server round-trip
  • Offline - works anywhere, no internet required
  • Free - no API keys, no tokens, no billing

The web build uses Chrome's built-in Translator API. Requires Chrome 138+ with on-device language packs installed.

The desktop build embeds llama.cpp and ships a catalog of small open-weight models (Gemma 4, Qwen 3.5, Phi-4-mini, and more). Download for macOS / Windows / Linux from Releases.

Built-in APIs (web)

Docs

Getting started

Install the dependencies:

npm install

Development

Start the web dev server with HMR:

npm run dev

Your application will be available at http://localhost:5173.

For the desktop app (requires Rust + cmake, see src-tauri/README.md):

npm run tauri:dev

Building for production

Create a production build:

npm run build

Static hosting

Deploy to Cloudflare Pages:

npx wrangler pages deploy build/client

Or connect the repo to the Cloudflare Pages dashboard with:

  • Build command: npm run build
  • Output directory: build/client

Releasing

  1. Bump the version in package.json, src-tauri/tauri.conf.json, and src-tauri/Cargo.toml.
  2. Commit, tag, and push:
git add package.json src-tauri/tauri.conf.json src-tauri/Cargo.toml
git commit -m "release v<version>"
git tag v<version>
git push origin v<version>

The tag push triggers .github/workflows/release.yml, which builds and publishes signed desktop installers per platform plus latest.json for the auto-updater.

Docker Deployment

To build and run using Docker:

docker build -t offline-cat .

# Run the container
docker run -p 3000:3000 offline-cat

About

Free, offline, privacy-first CAT tool. Runs entirely on your device.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages