https://github.com/dirkclemens/staticmd
StaticMD ist ein professionelles, PHP-basiertes CMS fΓΌr Markdown-Inhalte.
https://github.com/dirkclemens/staticmd
cms codemirror-editor markdown php8 static-site-generator
Last synced: 2 months ago
JSON representation
StaticMD ist ein professionelles, PHP-basiertes CMS fΓΌr Markdown-Inhalte.
- Host: GitHub
- URL: https://github.com/dirkclemens/staticmd
- Owner: dirkclemens
- Created: 2025-10-31T16:18:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-02-07T14:32:29.000Z (5 months ago)
- Last Synced: 2026-02-07T23:13:29.518Z (5 months ago)
- Topics: cms, codemirror-editor, markdown, php8, static-site-generator
- Language: PHP
- Homepage:
- Size: 168 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Welcome to StaticMD
StaticMD is a professional PHP-based CMS for Markdown content with Bootstrap frontend and comprehensive admin interface. The software features a complete **gallery system**, **9 beautiful themes**, **advanced security**, and **45+ implemented features**.
**Perfect for**: Technical documentation, wikis, blogs, knowledge bases, image galleries, and content-driven websites.
**New**: Gallery layouts, enhanced shortcode system, improved security, and comprehensive backup functionality.
---
## π Key Features
- β
**Enhanced Markdown Parser** with shortcodes, ~150 emojis, LaTeX math, accordions
- β
**9 Frontend Themes** (e.g. Bootstrap, Solarized Light/Dark, Monokai Light/Dark, Static-MD)
- β
**Gallery System** with automatic image loading, lightbox, and tag filtering
- β
**CodeMirror Editor** with 5 themes, enhanced toolbar, drag&drop upload
- β
**Smart Upload System** for PDF/ZIP with automatic download tag insertion
- β
**Image Upload** with drag&drop and automatic markdown insertion
- β
**Full-text Search** with weighted relevance and tag filtering
- β
**Unicode/Umlaut Support** with NFC/NFD normalization for German content
- β
**Yellow CMS Compatibility** for seamless migration
- β
**Professional Admin Dashboard** with statistics, file manager, backup system
- β
**Advanced Security** with CSRF protection, CSP headers, session management
- β
**SEO & Search Engine Control** with dynamic robots.txt and per-page settings
- β
**Navigation System** with configurable ordering and breadcrumb support
- β
**Shortcode System** with code-block protection and pre-processing
---
## π Markdown Features
### β
Shortcodes (All Implemented)
- **Content Listing**: `[pages /path/ limit]`, `[tags /path/ limit]`, `[folder /path/ limit]`
- **Gallery System**: `[gallery folder-name]` - NEW! Automatic image galleries with lightbox
- **Downloads**: `[download file.pdf "Alt-Text"]` with Bootstrap icons (PDF π, ZIP π¦)
- **Images**: `[image image.jpg "Alt-Text" - 50%]` Yellow CMS syntax
- **Interactive**: `[accordionstart id "Title"] ... [accordionstop]` Bootstrap 5 accordions
### β
Enhanced Markdown
- **Headers with IDs**: `# Title {#custom-id}`
- **150+ Emojis**: `:smile:` β π, `:rocket:` β π, `:heart:` β β€οΈ
- **LaTeX Math**: `$E=mc^2$` (inline) and `$$formula$$` (block)
- **Auto-links**: URLs become clickable automatically
- **Code Protection**: Shortcodes in `` `code blocks` `` remain as text
### β
Front Matter Support
- **SEO Control**: `Robots:`, `Description:`, `Canonical:`
- **Layout Override**: `Layout: gallery` for special layouts
- **Privacy**: `Visibility: private` for admin-only content
- **Organization**: `Tag:`, `Author:`, `Date:` for content management
---
## π Help & Documentation
- **π Feature Overview**: [features.md](features.md) - Complete feature list with status
- **βοΈ Settings System**: [settings.md](settings.md) - All configuration options
- **πΌοΈ Gallery Layout**: [gallery-layout.md](gallery-layout.md) - NEW! Gallery system guide
- **π§ Installation Guide**: [installation/installation.md](installation/installation.md)
- **π Deployment Guide**: [installation/deployment.md](installation/deployment.md)
- **π‘οΈ Security & CSP**: [security.md](security.md)
- **π SEO & Search Engines**: [seo.md](seo.md)
- **π Uberspace Setup**: [installation/uberspace.md](installation/uberspace.md)
- **π― Shortcodes Guide**: [shortcodes.md](shortcodes.md)
- **π¨ Themes Guide**: [themes.md](themes.md)
---
## π‘ Tips & Best Practices
### β
File Management
- **Upload Files**: Drag&drop PDF/ZIP in editor β automatic `[download]` tag insertion
- **Upload Images**: Drag&drop images β automatic markdown insertion with correct paths
- **Gallery Creation**: Use `[gallery folder-name]` for automatic image galleries
- **Backup System**: Use Admin β Settings β Create Backup for complete site backup
### β
Content Organization
- **Navigation Ordering**: Configure priority in Admin β Settings β Navigation
- **Theme Selection**: Choose from 9 themes in Admin β Settings β Frontend Theme
- **Private Content**: Use `Visibility: private` in front matter for admin-only pages
- **SEO Control**: Use `Robots: noindex,nofollow` to hide pages from search engines
### β
Advanced Features
- **Gallery Tags**: Add tags to images for filtering: ``
- **LaTeX Math**: Use `$formula$` for inline or `$$formula$$` for block equations
- **Custom Layouts**: Use `Layout: gallery` for image-focused pages
- **Unicode Support**: Full German umlaut support with automatic normalization
---
## π Links & Resources
- **Live Demo**: https://staticmd.adcore.de/ - Experience all features live
- **Gallery Demo**: https://staticmd.adcore.de/galerie-beispiel - NEW! Gallery system showcase
- **Admin Interface**: https://staticmd.adcore.de/admin - Complete admin dashboard
- **Project Repository**: https://github.com/dirkclemens/staticMD
- **robots.txt**: https://staticmd.adcore.de/robots.txt - Dynamic SEO control
## π Recent Updates (November 2024)
- **Gallery System**: Complete image gallery solution with lightbox
- **Enhanced Shortcodes**: Code-block protection and improved processing
- **Security Improvements**: Enhanced CSP and asset security
- **Theme Expansion**: All 9 themes now support gallery layouts
- **Backup System**: One-click complete site backup functionality