Skip to content

ColeNikol/microB-CMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroB CMS - a Micro blog content management system

In a digital world bloated with overly complex CMS platforms, MicroB CMS stands out by doing more with less. It's a static blogging system — fast, clean, and obsessively optimized for SEO and performance — making it a perfect choice for bloggers, developers, and minimalist creators who care about speed, structure, and simplicity.

Whether you're publishing tech articles, personal blogs, or micro-posts, MicroB CMS gives you the tools to focus on content, not configuration.

⚙️ What is MicroB CMS?

MicroB CMS is a lightweight, static blogging platform designed with the following principles:

  • Minimalism: Only essential features, no bloat, yet easy to customize.
  • Speed: Instant page loads thanks to static rendering and efficient caching.
  • SEO-Readiness: Built from the ground up to rank well.
  • Maintainability: Easy to update, deploy and manage — even for non-developers.

Unlike dynamic CMS platforms like WordPress or Ghost, MicroB generates static HTML content. This means your blog doesn’t rely on databases or server-side processing — resulting in dramatically faster load times, improved security and simplified hosting.

⚡ Blazing Fast Page Load Times

Every page in MicroB CMS is pre-rendered and served as static HTML. There are no backend calls, no database queries, and no runtime rendering — just instant delivery. Your readers get your content immediately, no matter where they are.

Why it matters: Faster sites improve user engagement, lower bounce rates and are search engineranking.

Real-world impact:

  • Pages load in less then a second — ideal for low-bandwidth environments.
  • Homepage and posts loads in less then a secon even on slower low cost shared hosting servers.

🔍 SEO-Optimized by Design MicroB CMS doesn’t just support SEO — it’s built around it. From URL structure to metadata, the platform ensures your content is easily indexable, shareable, and discoverable by search engines.

Key SEO features include:

  • Clean, semantic HTML5 structure and modern CSS styling with Tailwind CSS
  • Customizable meta titles and descriptions (stored in a separate .JSON file)
  • Proper heading hierarchy (you don't see this everyday)
  • Image alt text and lazy loading are built in
  • Pretty URLs (achived via .htaccess rules)
  • Canonical URLs with no duplicates
  • Lightning-fast load times (achieved trhough a built in evective cache mechanism)
  • No need for plugins — everything is built-in, saving you time and hassle.
  • Admin area includes few hidden gems (robots.txt and sitemap.xml generation, instantly revive old posts...)

🧠 Efficient Caching System

MicroB comes with a smart static caching layer that ensures maximum speed and reliability:

  • Zero database queries: Everything is pre-cached and static.
  • Instant updates: When you publish or edit a post, only the necessary files are regenerated.
  • Low server overhead: Perfect for low-cost or even free hosting environments (like GitHub Pages or Netlify).

🔄 Infinite Scroll for Seamless Reading

To create a smooth, modern browsing experience, MicroB CMS supports infinite scroll out of the box.

  • No pagination clicks — posts load automatically as the user scrolls.
  • Encourages deeper engagement and longer sessions.
  • Ideal for content-heavy sites or minimalist microblogs.

This user-friendly approach mimics the experience users love on social platforms, keeping them immersed in your content.

🛠️ Easy Maintenance & Deployment

Running a blog shouldn’t require a degree in DevOps. MicroB CMS is:

  • File-based: Content is stored in simple markdown or text files.
  • Easy to deploy: Host on any static file server, GitHub Pages, Netlify, Vercel, or your own VPS.
  • No database required: Everything lives in flat files.
  • Low maintenance: No plugins to update, no security patches to worry about. You can deploy a full-featured blog in minutes — and keep it updated with just a few file edits.

🎯 Who Should Use MicroB CMS?

MicroB CMS is ideal for:

  • Solo bloggers who want to focus on writing and contentcreation, no tech headaches
  • Developers who prefer static sites for performance and control
  • Writers & journalists who want clean design and SEO power
  • Digital minimalists who believe in "just enough" features

Whether you're running a personal site, developer blog, niche magazine, or experimental project, MicroB CMS gives you a robust foundation with none of the overhead.

🧩 Final Thoughts

In a time when web platforms are getting more bloated and sluggish, MicroB CMS is a breath of fresh air. It's fast, clean, SEO-friendly and built for the modern web.

If you're tired of heavyweight CMS platforms and want something that just works — with performance and search rankings in mind — MicroB CMS is absolutely worth your time.

Oh, it consists of only few files and a simple structure

MicroB CMS - Blog System Structure

Core Architecture

  • Single-File PHP Application (index.php)
  • Flat-file storage (no database required)
  • Out of the box aching system for speed and performance
  • RESTful-like URL structure

File Structure:

/

├── index.php # Main application file

├── posts.json # Posts metadata (titles, slugs, tags, etc.)

├── posts/ # Directory containing post content

│ ├── post-slug-1.html

│ ├── post-slug-2.html

│ └── ...

├── cache/ # Generated cache directory

│ └── posts.cache # Cached posts data

├── icon.png # Site favicon/logo

└── logo.png # Default featured image

Data Flow

  1. Posts Metadata (posts.json)

{ "posts": [ { "slug": "post-url-slug", "title": "Post Title", "description": "Post description", "tags": ["tag1", "tag2"], "featuredImage": "image-url.jpg" } ] }

  1. Post Content (posts/slug-name.html)

Raw HTML content for each post stored in separate files for easy management

URL Routing System

/ - Homepage with all posts

/post-slug - Individual post view

/tag-name - Posts filtered by tag

/search-term - Search results

Key Features

Security

  • CSRF protection with tokens
  • XSS protection headers
  • Input validation and sanitization
  • Content filtering with allowed HTML tags
  • Secure file handling

Performance

  • 24-hour caching system
  • Lazy image loading
  • Tailwind CSS CDN
  • Font Awesome icons

SEO Optimization

  • Site title and meta description
  • Meta tags (Open Graph, Twitter Cards)
  • JSON-LD structured data
  • Favicon
  • Canonical URLs
  • Semantic HTML
  • Accessible markup

Content Management

  • Tag-based categorization
  • Search functionality
  • Featured images support
  • Responsive design
  • Dark/light mode toggle

Template Structure

  • Header Section
  • Security headers
  • CSRF token generation
  • Input validation functions
  • Cache loading logic
  • URL parsing and routing

Frontend Components

  • Header: Logo, search, theme toggle, navigation

  • Hero Carousel: Featured recent posts

  • Posts Grid: Card-based layout

  • Single Post View: Full article with related posts

  • Footer: Links and social media

JavaScript Features

  • Theme switching with localStorage
  • Lazy loading images
  • Carousel functionality
  • Scroll-to-top button
  • Ad placement system
  • Content Workflow

Add new post metadata to posts.json

Create content file in posts/ directory with matching slug

System automatically picks up new posts on next cache refresh

URLs generated based on slug names

Configuration Points

  • Cache duration (currently 24 hours)
  • Allowed HTML tags in content
  • Security token length
  • Number of recent posts in carousel
  • Ad placements and content

This is a minimalistic, self-contained blogging system that prioritizes speed, security and simplicity while maintaining modern web standards and SEO best practices.

About

microB is a lightweight minimalistic static micro blogging content management system built for SEO and speed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages