跪拜 Guibai
← All articles
VibeCoding

Juejin Usage 1.0.0 Rebuilt on Tauri: Smaller, Faster, and Cursor Login Fixed

By XCaptain ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Desktop apps that track coding activity get a lighter client and a fix for Cursor's encrypted login state, so usage data stays accurate. For anyone maintaining a desktop app, this is a concrete example of a migration that preserves data and feature parity while trimming resource use.

Summary

Juejin Usage 1.0.0 is built on Tauri instead of Electron. The new client carries the same feature set: a local usage dashboard, tray icon, desktop pet, system notifications, account linking, and auto-update. It uses the same application identifier, so installing over the old version keeps local data and login state. The window dismisses to tray, and position and theme are restored.

The release also fixes a handful of issues. The biggest one: newer Cursor versions encrypt the login state, which broke reading of the local subscription quota card and usage sync. The client now reads both `cursor-safe-storage` ciphertext and legacy plaintext JWT from platform keychains (macOS keychain, Windows DPAPI, Linux peanuts keyring) and shows the Premium weekly quota. Other fixes cover heatmap rendering, desktop pet slider lag, and a missing cumulative usage record in Every Code. The installer shrinks by loading only the SVGs actually used.

Takeaways
— Juejin Usage 1.0.0 uses Tauri instead of Electron, resulting in a smaller installer, faster startup, and lower memory use.
— The new client keeps the same application ID, allowing an over-install that preserves local data and login state.
— Upgrade path: old client 0.1.16 prompts users to download and open the installer; macOS drag to Applications, Windows run the wizard.
— Fixed Cursor login compatibility: reads cursor-safe-storage ciphertext and legacy plaintext JWT from macOS keychain, Windows DPAPI, and Linux peanuts keyring.
— Fixed heatmap rendering, desktop pet slider lag, and a missing Every Code cumulative usage record.
— Desktop artifact size reduced by loading only the SVG components actually used for subscription icons.
— Synced latest official channel model prices from models.dev.
Conclusions

The Cursor encryption fix shows that moving to Tauri involves more than swapping the runtime; it requires handling platform-specific credential storage formats to keep existing login flows working.

Concepts & terms
Tauri
A framework for building desktop apps using system webviews and a Rust backend, producing smaller executables and lower memory usage compared to Electron.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗