npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rz-antigravity-rtl

v1.1.8

Published

Smart RTL patcher with UI settings for Antigravity Desktop, Antigravity IDE, and VS Code Extension.

Readme

RZ Antigravity RTL

High-Performance Right-to-Left (RTL) Engine & Typography Customizer for Antigravity App, Antigravity IDE & VS Code Extension (Windows & WSL)


A smart, automated CLI patcher bringing native-feeling Persian (Farsi), Arabic, Hebrew, and RTL support to Google Antigravity applications (Desktop App, Antigravity IDE, and the official Google Antigravity extension for VS Code / VS Code Insiders, across both Windows and WSL remote environments, as well as standalone web browser views).

Features an advanced bidirectional text engine, 22 curated offline webfonts, strict Monaco code editor isolation, and an interactive floating UI to configure typography and layout settings on the fly.


✨ Features

  • Full Multi-Environment Coverage:
    • Antigravity Desktop App: Direct ASAR patching with clean automatic backups.
    • Antigravity IDE: Patches both the main workbench and extension host.
    • VS Code Extension: Full support for Google Antigravity extension across VS Code and VS Code Insiders.
    • WSL Remote Support: Seamlessly discovers and patches Linux WSL instances (~/.antigravity-ide-server and ~/.vscode-server).
    • Web Browser Support: Automatically detects and applies typography and direction in web-based sessions (http://127.0.0.1:<port>/c/...).
  • Smart Bi-Directional Engine (BidiLens-Inspired):
    • Code-Snippet Isolation: Inline code tags (code, pre, kbd, samp, var, svg) are extracted before calculating element direction, ensuring sentences and list items remain properly right-aligned even when containing multiple English identifiers.
    • Technical Token Detection: Strips kebab-case names, file paths, URLs, shell commands, and CSS selectors before analyzing prose.
    • Instant Fast-Path: Purely English messages and code blocks exit in 0.001ms with near-zero CPU footprint.
  • Strict Code Editor Isolation: Only the chat interface (messages, prompt inputs, interactive questions) is RTL-enabled. The Monaco editor, code blocks, terminal, and file explorer remain strictly LTR and untouched.
  • Seamless Topbar & Mentions UI:
    • The RZ RTL toggle sits right between the three-dots menu and the Open IDE button with native margin alignment.
    • File/folder mentions (@file, @folder) preserve their original LTR character sequence with baseline-aligned icons.
  • Curated 22 Offline Webfonts:
    • Persian: Vazirmatn (Default), IRANSans X, IRANYekanX Pro, Kalameh, Noora, Pelak, Ravi, Yekan Bakh.
    • English: System (Default), Open Sans, Roboto, Fira Sans.
    • Code: Monospace (Default), Fira Code, JetBrains Mono.
  • Interactive Floating & Topbar Settings Panel:
    • Live numeric Line Height & Font Size sliders.
    • Draggable with 4-corner snap restricted safely to the chat pane.
    • Keyboard shortcut: Alt + R (Windows/Linux) or ⌥R (macOS).
  • Persian Keyboard Optimization: Maps Shift + 2 to type @ instead of ٬ in chat input fields.
  • Automated Backup & Instant Restore: Automatic safe backups created prior to patching, with a zero-friction --restore flag.

🚀 Installation & Quick Start

You don't need to manually configure or extract any files. Run the following command in your terminal:

npx rz-antigravity-rtl

An interactive menu will detect your installed applications and let you choose:

  1. All Applications (Desktop, IDE, VS Code & WSL) [Recommended]
  2. Antigravity Desktop App only
  3. Antigravity IDE only (Windows & WSL)
  4. VS Code Antigravity Extension only (Windows & WSL)
  5. WSL environments only

Command-Line Options

# Patch all installed environments (Desktop, IDE, VS Code & WSL)
npx rz-antigravity-rtl --all

# Patch only WSL remote environments (Antigravity IDE Server & VS Code Server)
npx rz-antigravity-rtl --wsl

# Patch only Antigravity IDE (Windows & WSL)
npx rz-antigravity-rtl --ide

# Patch only VS Code Extension (Windows & WSL)
npx rz-antigravity-rtl --vscode

# Patch only Antigravity Desktop App
npx rz-antigravity-rtl --app

# Restore original unpatched files
npx rz-antigravity-rtl --restore
npx rz-antigravity-rtl --wsl --restore
npx rz-antigravity-rtl --ide --restore
npx rz-antigravity-rtl --vscode --restore
npx rz-antigravity-rtl --app --restore

Platform-Specific Notes

Windows

Run in PowerShell or Command Prompt:

npx rz-antigravity-rtl

Linux & WSL

npx rz-antigravity-rtl

(If modifying system-level directories, prefix with sudo)

macOS

sudo npx rz-antigravity-rtl

[!WARNING] Application Updates: When Antigravity or VS Code updates, upstream files are overwritten. Simply run npx rz-antigravity-rtl --all once after an update to re-apply the patch.


📚 Technical Documentation

For detailed architecture diagrams and implementation internals, check out the docs/ directory:


📊 Analytics & Activity


👥 Contributors


🌟 Acknowledgements & Credits