Skip to content

Klickbee/klickbee-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,437 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Due to GitHub Politics and the fact that JMauclair account has been recently suspended for no reasons, all our projects will be only on Stralya Gitea

Klickbee CMS

The open-source CMS we always wanted. Monolithic. Visual. Built for speed.

License Build Version Made by Stralya


🧠 What is Klickbee CMS?

Klickbee CMS is a monolithic, open-source CMS designed to make developers fast and clients autonomous. Built with Next.js & React, it integrates:

  • A page builder interface
  • Custom Post Types (CPT)
  • Static & dynamic routing
  • A clean admin UI
  • And a dead-simple deployment model

Built for SaaS, portfolios, and high-perf websites.


🛋️ Architecture

FO (Front)

front/
├── static/[slug]
├── content/[cpt-type]/[cpt-slug]

BO (Admin)

/admin/[generated_key]/
├── auth
    ├── login
    ├── password-reset
    ├── password-reset-request
├── manage/
│   ├── content/[cpt-type]
│   ├── static/[slug]
│   ├── settings
│   └── contact

🚀 MVP Features

Feature Description
Pages Static pages: about, contact, etc.
Content CPT system with full CRUD
Settings Email, metadata, admin identity setup
Builder Visual page builder (Webstudio.io or custom)
Sitemap Auto-generated sitemap
Contact Message system for contact requests
Multi-BO Admin UI in FR/EN

👉 Admin UI Structure

  • Contenu
    • CPT (collection + entries)
  • Pages (static)
  • Contact (requests)
  • Réglages (admin setup, mail, i18n)

🌍 Features Coming Next

  • 2D internal linking (smart mesh)
  • AI-powered page generation
  • Multilang frontend (i18n)
  • Google Analytics & Search Console integration
  • Broken link management

🧦 Stack

Tech Description
Next.js App Router + API routes
React Modern UI interactions
Prisma ORM PostgreSQL/SQLite support
Zustand Admin state management
Tailwind CSS Utility styling
shadcn/ui Headless UI components
better-auth Authentication package

🚀 Getting Started

Option 1: With npm

  1. Copy the environment file and configure it:
cp .env.example .env
# Edit .env file with your configuration
  1. For first launch:
npm run setup:dev
  1. For subsequent launches:
npm run dev

Option 2: With Docker Compose

  1. Copy the environment file and configure it:
cp .env.example .env
# Edit .env file with your configuration
  1. Start the development container:
docker compose up
  1. For background mode:
docker compose up -d

Then open localhost:3000, and enjoy!


🧹 Code Quality & Git Hooks

This project uses Biome for linting, formatting, and code assist features, combined with Lefthook to automate checks at Git commit time.

📦 Main Tools

  • biome: All-in-one linter, formatter, and static checker for JavaScript/TypeScript.
  • lefthook: Fast and powerful Git hooks manager.
  • commitlint: Ensures commit messages follow a consistent convention.

🔧 Available Scripts

"scripts": {
  "check": "biome check --write .",
  "format": "biome format --write .",
  "format:check": "biome format .",
  "lint": "biome lint --write .",
  "typecheck": "tsc --noEmit"
}
Script Description
npm run check Performs linting, formatting, and applies assist actions like import sorting (write)
npm run format Formats all files according to Biome rules (write)
npm run format:check Formats all files according to Biome rules (check)
npm run lint Applies Biome linting rules (write)
npm run typecheck Type-checks the codebase using TypeScript without emitting files

⚠️ The assist rules defined in biome.json (such as organizeImports, useSortedKeys, etc.) under the assist.actions.source section are only applied when running npm run check.


🪝 Git Hooks with Lefthook

Lefthook is used to run automated checks before each commit and after writing a commit message.

🔁 Pre-commit Hook

Triggered before every git commit, it runs the following checks:

Task Command Executed
✅ Biome Check biome check on staged files
🧠 Type Check tsc --noEmit on .ts and .tsx files
🧪 Unit Tests vitest run
📝 Commit Message Hook

Triggered after the commit message is written:

npx commitlint --edit

This ensures that your commit messages follow the Conventional Commits specification.


Star History

Star History Chart


🚧 Contributing

Klickbee CMS is built in the open. Feedback, ideas, PRs welcome.

See CONTRIBUTING.md


License

This project is licensed under the GNU Affero General Public License v3.0.


🌐 Maintained by Stralya

We build tools for digital creators.


Klickbee CMS. The CMS you'd build if you had time to build one.

About

Monolithic open-source CMS — Visual builder, fast setup, full control. Built with Next.js, Prisma & Tailwind.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages