{"id":44432104,"url":"https://github.com/refrakt-md/refrakt","last_synced_at":"2026-06-17T21:01:32.646Z","repository":{"id":338008587,"uuid":"1156081691","full_name":"refrakt-md/refrakt","owner":"refrakt-md","description":"Markdoc-powered content platform with semantic runes — structured, themeable, schema-rich sites from plain Markdown","archived":false,"fork":false,"pushed_at":"2026-06-15T11:51:16.000Z","size":12820,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-15T11:58:06.862Z","etag":null,"topics":["markdoc","planning","static-site"],"latest_commit_sha":null,"homepage":"https://refrakt.md","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/refrakt-md.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-12T08:37:45.000Z","updated_at":"2026-06-15T10:37:31.000Z","dependencies_parsed_at":"2026-04-01T21:06:59.683Z","dependency_job_id":null,"html_url":"https://github.com/refrakt-md/refrakt","commit_stats":null,"previous_names":["refrakt-md/refrakt"],"tags_count":1269,"template":false,"template_full_name":null,"purl":"pkg:github/refrakt-md/refrakt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refrakt-md%2Frefrakt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refrakt-md%2Frefrakt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refrakt-md%2Frefrakt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refrakt-md%2Frefrakt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refrakt-md","download_url":"https://codeload.github.com/refrakt-md/refrakt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refrakt-md%2Frefrakt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34465322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["markdoc","planning","static-site"],"created_at":"2026-02-12T13:21:06.571Z","updated_at":"2026-06-17T21:01:32.609Z","avatar_url":"https://github.com/refrakt-md.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# refrakt.md\n\n**Write Markdown. Get structure.**\n\nA content framework built on [Markdoc](https://markdoc.dev). Extend Markdown with 100+ semantic runes — tags that transform standard Markdown into structured, SEO-rich, machine-readable content.\n\n[Documentation](https://refrakt.md) | [Getting Started](https://refrakt.md/docs/getting-started) | [Rune Catalog](https://refrakt.md/docs/runes)\n\n## Features\n\n- **Built on Markdoc** — Not another Markdown dialect. Refrakt extends Markdoc with semantic runes that add meaning to the Markdown you already write.\n- **Runes, not components** — Runes reinterpret the Markdown inside them. A heading inside `{% nav %}` becomes a group title. A list inside `{% cta %}` becomes action buttons. You write Markdown — the rune decides what it means.\n- **SEO from the start** — Every rune can emit Schema.org JSON-LD and Open Graph metadata automatically. Recipes get Recipe schema, events get Event schema, FAQs get FAQ schema — no manual wiring.\n- **AI-powered authoring** — Generate full pages with `refrakt write`. The CLI knows every rune and produces valid Markdown with proper rune structure. Supports Claude and local models via Ollama.\n- **Layout inheritance** — Define regions in `_layout.md` files that cascade down directory trees. Headers, navigation, and sidebars compose automatically.\n- **Portable content** — Your content stays decoupled from presentation. Adapters for SvelteKit, Astro, Next.js, Nuxt, and Eleventy. Renderers for Svelte, React, Vue, and plain HTML.\n\n## Quick Start\n\n```bash\nnpm create refrakt my-site\ncd my-site\nnpm install\nnpm run dev\n```\n\nFor static HTML output:\n\n```bash\nnpm create refrakt my-site -- --target html\n```\n\n## Packages\n\n### Core\n\n| Package | Description |\n|---------|-------------|\n| `@refrakt-md/types` | Shared TypeScript interfaces |\n| `@refrakt-md/runes` | ~47 core rune schemas, SEO extraction, config |\n| `@refrakt-md/transform` | Identity transform engine (BEM classes, structure injection) |\n| `@refrakt-md/lumina` | Lumina theme (design tokens, CSS) |\n| `@refrakt-md/behaviors` | Progressive enhancement JS (tabs, accordion, datatable, form) |\n| `@refrakt-md/content` | Content loading, routing, layout cascade |\n| `@refrakt-md/svelte` | Svelte renderer and component registry |\n| `@refrakt-md/react` | React renderer (RSC-compatible) |\n| `@refrakt-md/vue` | Vue renderer |\n| `@refrakt-md/html` | Static HTML renderer (no framework required) |\n| `@refrakt-md/sveltekit` | SvelteKit adapter (Vite plugin, virtual modules, HMR) |\n| `@refrakt-md/astro` | Astro integration |\n| `@refrakt-md/next` | Next.js adapter (React Server Components) |\n| `@refrakt-md/nuxt` | Nuxt module |\n| `@refrakt-md/eleventy` | Eleventy (11ty v3) plugin |\n| `@refrakt-md/highlight` | Syntax highlighting with Shiki |\n| `@refrakt-md/ai` | AI prompt building and providers |\n| `@refrakt-md/cli` | CLI tools (write, inspect, contracts) |\n| `create-refrakt` | Project scaffolding |\n| `refrakt-md` (VS Code) | Syntax highlighting, snippets, and rune inspector |\n\n### Plugins\n\nNine official plugins add domain-specific runes, layouts, and CLI commands — install only what you need.\n\n| Plugin | Runes |\n|--------|-------|\n| `@refrakt-md/marketing` | hero, cta, feature, pricing, testimonial, bento, steps, comparison |\n| `@refrakt-md/docs` | api, symbol, changelog |\n| `@refrakt-md/design` | swatch, palette, typography, spacing, preview, mockup, design-context |\n| `@refrakt-md/learning` | howto, recipe |\n| `@refrakt-md/storytelling` | character, realm, faction, lore, plot, bond, storyboard |\n| `@refrakt-md/business` | cast, organization, timeline |\n| `@refrakt-md/places` | event, map, itinerary |\n| `@refrakt-md/media` | playlist, track, audio |\n| `@refrakt-md/plan` | spec, work, bug, decision, milestone |\n\n## Documentation\n\nFull documentation is available at **[refrakt.md](https://refrakt.md)**.\n\n- [Getting Started](https://refrakt.md/docs/getting-started) — Scaffold a project and write your first page\n- [Rune Catalog](https://refrakt.md/docs/runes) — Browse all 100+ runes with examples\n- [Theme Development](https://refrakt.md/extend/theme-authoring/overview) — Create custom themes with design tokens and CSS\n- [CLI Tools](https://refrakt.md/docs/cli) — Inspect runes, generate content with AI, audit CSS coverage\n- [Adapters](https://refrakt.md/docs/adapters) — SvelteKit, Astro, Next.js, Nuxt, Eleventy, and plain HTML\n- [Plugins](https://refrakt.md/docs/configuration/plugins) — Install, create, and extend plugins\n\n## Contributing\n\nContributions are welcome! This is an npm workspaces monorepo — build order matters:\n\n```bash\nnpm run build    # Build all packages in dependency order\nnpm test         # Run all tests\n```\n\nSee [RELEASING.md](RELEASING.md) for the release process.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefrakt-md%2Frefrakt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefrakt-md%2Frefrakt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefrakt-md%2Frefrakt/lists"}