An open API service indexing awesome lists of open source software.

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.

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: `![Description tags](/path/image.jpg)`
- **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