Build AI-iterable HTML websites with native web tech. Turn components into production-ready WordPress blocks in one click.
AI can generate a website in seconds. Keeping it maintainable is the real challenge. Makelier organizes HTML, CSS, and JavaScript into structured source files, so AI-generated sites can keep evolving without starting over.
- Native and framework-free. Write Template (TSX, HTML structure), Controller (TypeScript, interaction logic), and Style (Tailwind / native CSS). The build outputs standalone HTML pages and assets without a React or Vue runtime. TSX is used only at build time as template syntax.
- Built for AI-assisted iteration. Each component has a clear structure (template, controller, style), helping the built-in AI Agent and external tools like Cursor, Codex, Antigravity, and Claude Code make focused changes and maintain existing code.
- Deliver beyond the website. Export reusable components as WordPress Block Plugins or as a React app with one command.
- Yours to keep. All project files stay on your machine. Build clean, maintainable HTML pages and static assets for any hosting platform or integration into PHP, Java, Next.js, or WordPress.
A Project contains one or more Sites. Each Site is an independent sandbox with its own pages, components, styles, and build output. Each Site builds into a standalone Website., and Sites can share components and static assets when needed.
| Term | Description |
|---|---|
| Project | The workspace containing one or more Sites |
| Site | An independent website project with its own source files and configuration |
| Page / Component | A page, or a reusable UI unit, inside a Site |
| Website | The built output of a Site, ready to deploy |
| Template | A published Site you can download with npx makelier add |
Makelier includes a built-in AI Agent that reads your component and page indexes to create and modify code in your Site.
- Cloud Models: Connect to supported AI providers using your own API keys.
- Local Models: Connect to locally hosted models through compatible inference services, such as Ollama.
- Bring Your Own API Key. Configure your own API keys for cloud models.
- Local Execution. The Agent runs within your local development environment.
- Data Transmission. Cloud model requests send prompts and relevant project context to the configured provider. Local model requests are processed by your local inference service without sending them to a cloud model provider.
A good fit if you:
- build websites with AI and want code that's easy to customize, extend, and integrate into other systems
- prefer native HTML/CSS/JS without a frontend framework runtime
- build client websites or reusable WordPress blocks
Development
- CLI commands for creating Sites, components, and pages
- Automatic component mounting and live browser preview
- Compatible with GSAP, Three.js, anime.js, jQuery, and other JavaScript libraries
- Per-Site Tailwind prefixes for style isolation and cross-Site sharing of components and assets
- Site-level and page-level SEO settings with automatic meta and Open Graph tag generation
Build & Delivery
- Visual Content Editor: Customize text and images directly in the browser. Export your edits as a standalone HTML file without modifying your Site source
- Independent builds per Site with configurable image optimization
- WordPress Block Plugin export for client projects or commercial distribution
- React app export for component reuse in React projects
- Standalone HTML output ready for CDNs, Nginx, or any static host
- 1. Quick Start
- 2. System Architecture
- 3. Site Configuration
- 4. Using AI Agents
- 5. Downloading Website Templates
- 6. Creating a Site
- 7. Adding Components
- 8. Adding Pages
- 9. Global Styles
- 10. Custom HTML Template
- 11. Cross-Site Resource Reuse
- 12. React Integration
- 13. Using Blocks in WordPress
- 14. Makelier Configuration
- 15. Browser & Device Support
- 16. Contributing
- 17. Development Environment
- 18. Support & Acknowledgements
- 19. License
Requirements: Node.js 22.12.0+
Focus exclusively on
sites/After cloning the repository and installing dependencies, you can do all your daily development inside thesites/directory. Create components, pages, styles, and assets inside the Site you want to work on.
Just want a ready-made template? Download any published Site:
npx makelier list
npx makelier add product-elegantBrowse templates and live previews in the Makelier Marketplace.
npm install
npm run build
npm run dev # http://localhost:3000On first use, run npm run build to generate TypeScript configuration and component/page indexes for the Agent.
Run
npm run buildbefore your firstdevto generate the TypeScript configuration and component/page indexes required by the AI Agent.
All sites are located in sites/, with each subdirectory representing an independent website.
The project includes
product-elegantas an example. The directory name,nameinsite.json, andnameinpackage.jsonmust match.
| Task | Command |
|---|---|
| Develop a site | npm run dev -- my-site |
| Build a site | npm run build -- my-site |
| Preview a site | npm run preview -- my-site |
| Check TypeScript | npm run typecheck |
| Export a React app | npm run export:react -- my-site |
| Build all sites | npm run build -- all |
| Export React apps for all sites | npm run export:react -- all |
Notes
- Each site outputs to its own
dist/directory. devandpreviewsupport only one site at a time and do not supportall.- Both use port 3000 by default. Do not run them simultaneously.
| Task | Command |
|---|---|
| Create a site | npm run create:site -- my-site |
| Create a component | npm run create:component -- "Hero" --site my-site |
| Create a page | npm run create:page -- "Pricing" --site my-site |
All creation commands support the optional --prefix flag:
npm run create:site -- my-site --prefix myprefix
npm run create:component -- "Hero" --site my-site --prefix myprefix
npm run create:page -- "Pricing" --site my-site --prefix myprefixMakelier/
│ ...
└── sites/
├── site-a/
│ ├── src/
│ │ ├── pages/ # Website pages
│ │ ├── components/ # Reusable UI components
│ │ └── styles/ # Global styles
│ │
│ ├── public/ # Static assets
│ └── dist/ # Built website
│
├── site-b/
└── site-c/ | Browser | Minimum version |
|---|---|
| Google Chrome | v112+ |
| Microsoft Edge | v112+ |
| Apple Safari | v16.5+ |
| Mozilla Firefox | v117+ |
| Internet Explorer | ❌ Not supported |
| OS / Device | Browser / Engine | Minimum supported OS version |
|---|---|---|
| iPhone / iPad | iOS Safari / WebKit | iOS 16.0.3+ |
| Android phones / tablets | Chrome for Android | Android 10+ |
We welcome developers to contribute to Makelier by sharing their creations, reporting issues, suggesting improvements, and enhancing documentation.
We welcome Sites created and shared by the community!
If you would like to contribute your own creation to Makelier, you can submit a Pull Request for a new Site (sites/{your-site-name}/).
Please follow the contribution workflow below.
If you encounter any problems or have ideas and suggestions, feel free to reach out through GitHub Issues.
- Bug Reports: Describe the issue, steps to reproduce, and expected behavior.
- Feature Requests: Suggest new features or improvements.
- Other Feedback: Share your experience, observations, or any other valuable ideas.
- Fork and clone the repository.
- Install dependencies:
npm install - Make the necessary changes according to the contribution type.
- Test your changes locally to ensure everything works as expected.
- Submit a Pull Request with a clear description of the changes and their purpose.
General Checklist (Applies to All PRs)
- Changes align with the project's purpose and direction.
- Code follows the existing project structure and conventions.
- Build and type checks pass, where applicable.
- No unrelated changes or unnecessary generated files are included.
- The PR description clearly explains the changes and their purpose.
Site PR Checklist
- Changes are strictly inside
sites/{your-site-name}/. - Directory name uses kebab-case and matches
nameinsite.jsonandpackage.json. - The Site builds and passes type checks.
- All dependencies are declared in the corresponding Site's
package.json. - Generated files (
dist/,index.jsonfiles,tsconfig.json) are excluded.
- Tailwind CSS 4.x.x+
- Vite 8.x.x+
- TypeScript 7.x.x+
- Preact 11.x.x+ (Not included in the generated output or browser runtime.)
Makelier is an open-source project dedicated to bringing an engineering-driven approach to the development of purely static, creative, and interactive websites. It aims to make website template creation, customization, reuse, sharing, and delivery simpler and more efficient — bringing static website development back to the joy of creation.
Through a tool-driven and structured development workflow, we aim to eliminate tedious processes and let developers focus on frontend creation, UI design, and interactive experiences, while enjoying the pure pleasure of building things.
If you find this project useful, your support will be a great motivation for us to keep improving and growing!
Thank you!
Licensed under the MIT License.
