Show HN: Net RazorConsole – Build Interactive TUI with Razor and Spectre.Console
razorconsole.github.ioFinally, after landing component preview support and moving the codebase under the RazorConsole org, we think it’s the right time to introduce RazorConsole to Hacker News.
# RazorConsole
RazorConsole is a library for building interactive terminal applications using Razor components, rendered through Spectre.Console. If you’ve used React Ink, the idea will feel familiar: a declarative component model that stays cleanly separated from your application logic. If you like how Blazor/Razor expresses UI but want to target the terminal, RazorConsole might be a good fit.
# Highlights
- Author terminal UI using familiar Razor/Component syntax
- Render Razor components directly into Spectre.Console renderables
- Keep your UI declarative and composable, similar to Blazor and React Ink
# Links
- GitHub: https://github.com/RazorConsole/RazorConsole
- Website: https://razorconsole.github.io/RazorConsole
A special shout-out to Nick Chapsas, who created an excellent introduction video:https://www.youtube.com/watch?v=1C1gTRm7BB4. His coverage brought a huge boost during RazorConsole’s cold-start phase, and we sincerely appreciate it. If you want a quick, clear overview of what the project does, his video is the perfect starting point.
# What’s next
- More interaction: mouse and scroll-wheel events
- More layouts & styling: additional layout primitives (e.g., flex-like patterns), potential CSS-style syntax
- More components: a component registry experience similar to shadcn