GitShow/withastro/compiler-rs
withastro

compiler-rs

The Astro compiler

by withastro
Star on GitHubFork

Rust

65 stars9 forks50 contributorsActive · just nowSince 2026@astrojs/compiler-rs@0.3.0MIT

Meet the team

See all 50 on GitHub →
natemoo-re
natemoo-re240 contributions
github-actions[bot]Bot
github-actions[bot]229 contributions
Princesseuh
Princesseuh117 contributions
matthewp
matthewp110 contributions
drwpow
drwpow42 contributions
MoustaphaDev
MoustaphaDev33 contributions
ematipico
ematipico15 contributions
bluwy
bluwy14 contributions

Languages

View on GitHub →
Rust76.8%
TypeScript17.9%
JavaScript4.4%
Astro0.8%

Commit activity

Last 12 weeks · 41 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
87
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Active · 4 in progress · Last activity just now
See all on GitHub →
seuros
Compiler cleanupOpenPR

This PR does nothing. I just moved duplicate code to make the codebase cleaner and more maintainable. The tests still pass and the logic is still the same. I will open follow-ups later that give performance boost.

seuros · 14h ago

Recent fixes

View closed PRs →
adamchal
fix(slots): group same-named direct and expression slots into one keyMergedPR

Changes Two elements targeting the same named slot would only render the last one when one was a plain element and the other was wrapped in an expression, like . #64 fixed this for two expression-wrapped elements; this handles the mixed case too. Both now render. Fixes withastro/astro#17266 Testing Added tests Docs N/A

adamchal · 7m ago
Princesseuh
fix(client:only): keep import when binding is referenced elsewhereMergedPR

Changes Previously if a component was referred to as client:only, we'd remove its import always. This is typically fine, however a component can, in some niche situations, be both referred as client:only and not. This PR now detects this and keep the import correctly. Testing Added tests Docs N/A

Princesseuh · 19h ago
ematipico
test: regressionMergedPR

Changes This PR adds regression tests for https://github.com/withastro/compiler-rs/issues/43 The issue is already fixed. Testing New tests Docs N/A

ematipico · 1d ago
Structured data for AI agents

Repository: withastro/compiler-rs. Description: The Astro compiler Stars: 65, Forks: 9. Primary language: Rust. Languages: Rust (76.8%), TypeScript (17.9%), JavaScript (4.4%), Astro (0.8%). License: MIT. Latest release: @astrojs/compiler-rs@0.3.0 (2d ago). Open PRs: 4, open issues: 1. Last activity: just now. Community health: 87%. Top contributors: natemoo-re, github-actions[bot], Princesseuh, matthewp, drwpow, MoustaphaDev, ematipico, bluwy, jasikpark, delucis and others.

·@ofershap

Replace github.com with gitshow.dev