Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A `typescript-go` toolchain for compiler-powered plugins + type-safe execution + 800x faster linter + codegraph reducing 90% AI tokens
| Date | Stars |
|---|---|
| 2026-07-24 | 291 |
| 2026-07-25 | 292 |
| 2026-07-28 | 292 |
| 2026-07-30 | 292 |
| 2026-08-06 | 292 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
35.0
growth rate 0.00%/day
# `ttsc`

[](https://github.com/samchon/ttsc/blob/master/LICENSE) [](https://www.npmjs.com/package/ttsc) [](https://www.npmjs.com/package/ttsc) [](https://github.com/samchon/ttsc/actions?query=workflow%3Atest) [](https://ttsc.dev/docs) [](https://discord.gg/E94XhzrUCZ)
A `typescript-go` toolchain for compiler-powered plugins and type-safe execution.
- **`ttsc`**: build, check, and transform.
- **`ttsx`**: execute TypeScript with type checking.
- [**`@ttsc/graph`**](https://github.com/samchon/ttsc/tree/master/packages/graph): MCP code graph that reduces agent token usage.
- [**`@ttsc/lint`**](https://github.com/samchon/ttsc/tree/master/packages/lint): lint violations as compiler errors.
- **plugin support**: compiler-powered libraries, such as `typia`.
## Setup
`ttsc` is a drop-in replacement for `tsc`. It reads the same `tsconfig.json`, takes the same flags, and emits the same JavaScript, then runs your plugins in the pass that type-checks the project.
```bash
npm install -D ttsc typescript
```
```bash
npx ttsx src/index.ts # run a file, type-checked first
npx ttsc # build
npx ttsc --noEmit # check only
npx ttsc --watch # rebuild on save
```
`ttsx` runs a file the way `tsx` or `ts-node` does, but it type-checks the whole project first, so a type error stops the run before anything executes.
That covers the CLI. The integrations each have a short guide:
- [`@ttsc/unplugin`](https://ttsc.dev/docs/setup/unplugin): Vite, Rollup, Rolldown, esbuild, webpack, Rspack, Next.js, Turbopack, Farm, and Bun.
- [`@ttsc/metro`](https://ttsc.dev/docs/setup/metro): React Native and Expo.
- [`@ttsc/vscode`](https://ttsc.dev/docs/setup/vscode): live editor diagnostics.
## Graph
Your coding agent answers from the compiler, spending roughly 90% fewer tokens.
`@ttsc/graph` is an MCP server that gives the agent a compiler-resolved graph of your project: what calls what, what a change would touch, and where to start reading. The agent asks the type checker instead of grepping and re-reading files.
Register it with your MCP client. For Claude Code, a `.mcp.json` in the project root:
```bash
npm install -D ttsc @ttsc/graph typescript
```
```json
{
"mcpServers": {
"ttsc-graph": {
"command": "npx",
"args": ["-y", "@ttsc/graph"]
}
}
}
```
On the agent-cost benchmark, Claude agents answer reading zero files, cutting tokens by roughly 90% and tool calls by 93% to 96%. The design and per-repository numbers are in the [Code Graph guide](https://ttsc.dev/docs/graph) and the [benchmark](https://ttsc.dev/docs/benchmark/graph).

## Lint
Lint and format at compiler speed: up to 800x faster than ESLint.
`@ttsc/lint` replaces ESLint and Prettier with rules that run inside the type-check. It shares one AST pass with the compiler, so linting and formatting add almost nothing to the build you already run.
Configuration is a single file. Each rule takes `"error"`, `"warning"`, or `"off"`, and the `format` block mirrors `.prettierrc`.
```bash
npm install -D @ttsc/lint
```
```ts
// lint.config.ts
import type { ITtscLintConfig } from "@ttsc/lint";
export default {
rules: {
"no-var": "error",
"prefer-const": "error",
"typescript/no-explicit-any": "warning",
},
format: {
printWidth: 100,
singleQuote: true,
trailingCoExcerpt of 7,591 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:dcf66f269701b462, topic:transformer