axcora
Version:
Modern and Super Light Static Site Generator
165 lines (114 loc) β’ 4.08 kB
Markdown
# Axcora Framework
[](https://npmjs.com/package/axcora)
[](LICENSE)
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JVZVXBC4N9DAN)
> **All-in-One Static Site Generator & CSS Framework**
> Build modern, responsive static sites with a powerful build system, reusable UI components, auto-SEO, and built-in dark modeβall in one toolkit.
## π Documentation
- π [Official Docs](https://ssg.axcora.com)
- π§© [Component Library](https://ssg.axcora.com/components)
## β¨ Overview
**Axcora** is a full-featured toolkit to build beautiful, lightweight, high-grade static websites easily.
Combine a next-gen static site generator (Markdown/YAML/templating) with a modular CSS framework and rich UI component library β ideal for blogs, docs, portfolios, or any modern web project.
## π Key Features
- **Automatic Static Site Generation:**
Every markdown file in the `content/` directory becomes a fully linked page, blog post, tag, and category, with slugs and navigation auto-generated.
- **Modular Templating with `.axcora`:**
Use `.axcora` templates, layouts, partials, blocks, slots, and frontmatter for flexible, composable, DRY page structures.
- **Built-in CSS Framework:**
No third-party CSS required: comes bundled with modern, minified CSS for every component, dark mode, utility classes, and responsive layouts, powered by Axcora.
- **Automatic, Page-Level SEO:**
Meta tags, Open Graph, canonical links, sitemaps and RSS are built for you, every buildβno plugin or config needed.
- **Per-Page CSS Minification:**
CSS is bundled and minified by page for ultra-fast CDN delivery.
- **Lightning-fast Search Index:**
Creates a full-text JSON index for blazing-fast, local search.
- **Ready for Any Hosting:**
Deploy to Netlify, Vercel, GitHub Pages, Cloudflare β any static host.
## π Getting Started
### 1. Installation
Requires **Node.js v20+**
Quick Start
```bash
npm install axcora
axcora -V
axcora init myproject
cd myproject
npm install
axcora dev
open localhost:3000
axcora build
upload your public folder in to your host
axcora serve
```
### 2. Initialize and Build
```bash
npx axcora init myproject
cd myproject
npm install
npm run build
```
### 3. Start Development Server
```bash
axcora dev
or
npm run dev
```
Open your browser at `http://localhost:8080` (default) to preview.
### 4. Build for Production
```bash
axcora build
or
npm run build
```
### 5. Serve Production Build
```bash
axcora serve
or
npm start
```
## π¨ Using the CSS Framework
**Via NPM:**
```bash
npm install axcora
```
**Or inject via CDN:**
```html
<link href="https://cdn.jsdelivr.net/npm/axcora-css@1.0.1/axcora.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/axcora-js@1.0.1/axcora.min.js"></script>
```
## π Example Project Structure
```
myproject/
βββ content/
β βββ index.md
β βββ blog/
βββ src/
β βββ templates/
βββ static/
β βββ img/
βββ axcora.config.ts
βββ package.json
```
## π¦ Bundle Sizes
- **Base:** 15.6 KB
- **Essentials:** 19.6 KB
- **Minified:** 43.7 KB
- **JavaScript:** 11.8 KB
## π Support This Project
- [Donate via Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JVZVXBC4N9DAN)
- [Sponsor on Github](https://github.com/sponsors/mesinkasir)
- [Coffee/Gumroad](https://creativitaz.gumroad.com/coffee)
## π License
This project is licensed under the [MIT License](LICENSE).
> Built & maintained by **Axcora Tech** β fast, scalable, and open source static site tooling for creators, developers, and teams.