ubugeeei

ubugeeei / tsgo-rs

Public

tsgo bindings for rust and js/ts via napi-rs

11
1
100% credibility
Found Mar 31, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

Rust and Node.js bindings for high-performance interaction with the typescript-go TypeScript language server over stdio, enabling type-aware linting and analysis tools.

How It Works

1
📰 Discover fast TypeScript insights

You hear about a tool that brings lightning-fast type checking to your JavaScript projects, making code smarter without slowing down.

2
📦 Grab the easy package

Download the ready-made kit that connects smoothly to your existing setup.

3
🔗 Point to your code folder

Simply tell it where your project lives so it can read your files.

4
See types light up instantly

Magic happens as it instantly understands your code's types and relationships.

5
✏️ Add your custom checks

Write simple rules to catch issues using those smart type insights.

6
▶️ Run checks on your files

Hit go and watch it scan everything super quickly.

🎉 Perfect code, blazing fast

Enjoy precise suggestions and error spotting that keeps your project top-notch without any wait.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is tsgo-rs?

tsgo-rs provides Rust and JS/TS bindings via napi-rs to typescript-go, Microsoft's experimental stdio interface for the TypeScript type checker. It lets you spawn workers, manage snapshots of project graphs, and query types/symbols over fast msgpack or JSON-RPC transports. Developers get reproducible type queries pinned to exact upstream commits, with LSP overlays and virtual files for tooling workflows.

Why is it gaining traction?

It avoids forking typescript-go by sticking to official stdio/LSP endpoints, delivering zero-cost performance via Rust hot paths exposed to JS/TS. Benchmarks show msgpack consistently beating JSON-RPC, and built-in orchestration handles multi-process caching. The typescript-oxlint layer lets you write type-aware Oxlint rules in familiar ESLint style, bridging Rust speed to JS plugin authoring.

Who should use this?

Rust toolchain builders needing fast TypeScript analysis without bundling tsc. JS/TS devs crafting custom linters or IDE plugins tired of slow type checks. Oxlint users extending rules with project-level type awareness via simple config.

Verdict

Early project with 11 stars and 1.0% credibility—treat APIs as 0.x unstable—but excellent docs, benchmarks, and regression tests make it reliable for perf-focused experiments. Grab it if typescript-go fits your stack; otherwise, watch for npm releases.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.