tkeron
Build vanilla websites with TypeScript components
Zero runtime. Zero config. Powered by Bun.
v5.0.2
Features
Four powerful primitives. All run at build time, producing clean vanilla output.
HTML Components.com.html
Reusable markup that gets inlined at build time. No runtime overhead, no virtual DOM. Pure HTML.
TypeScript Components.com.ts
Generate HTML programmatically with full TypeScript power. Runs at build time with Bun.
Markdown Components.com.md
Write content in Markdown with full GFM support. Converted to HTML at build time.
Pre-rendering.pre.ts
Transform entire documents at build time. Fetch APIs, manipulate DOM, inject content.
How It Works
Three commands. That's it.
Create
tk init my-site
Scaffold a new project with components and TypeScript support.
Develop
tk dev
Dev server with hot reload on port 3000.
Build
tk build
Compile to static files. Deploy anywhere.
See It In Action
Real examples showing each feature in use.
<nav class="main-nav"> <a href="/">Home</a> <a href="/about">About</a> <a href="/blog">Blog</a> </nav>
<nav-menu></nav-menu>
const count = parseInt(com.getAttribute("count") || "3"); const items = []; for (let i = 1; i <= count; i++) { items.push(`<article><h3>Post ${i}</h3></article>`); } com.innerHTML = items.join("");
<blog-posts count="5"></blog-posts>
## About Us We are a **small team** building great tools. | Feature | Status | | ----------- | ------ | | Fast builds | ✅ | | Zero config | ✅ |
<about-section></about-section>
const res = await fetch("https://api.example.com/meta"); const data = await res.json(); const title = document.querySelector("title"); if (title) { title.textContent = data.title; } const content = document.getElementById("content"); if (content) { content.innerHTML = data.html; }
Why Tkeron
Built for developers who want speed and simplicity.
Zero Config
No config files needed. Install, init, build. Done.
Zero Runtime
Components compile away. Your output is pure HTML, CSS, and JS.
Powered by Bun
Leverages Bun's native TypeScript transpilation and speed for fast builds.
No Lock-in
Output is vanilla. Move away anytime. Your code is yours.
Zero Dependencies
Tkeron's ecosystem uses only its own packages. No bloat.
AI Ready
Built-in MCP server lets AI agents understand and build with tkeron.
Get Started
curl -fsSL https://bun.sh/install | bash
bun install -g tkeron
tk init my-site && cd my-site && tk dev