Skip to content

Mobile PWA support (offline, installable) #23

@tacheraSasi

Description

@tacheraSasi

Feature: Mobile PWA Support

Add a manifest.json and service worker so the serve page works offline and is installable.

Details

  • Generate a manifest.json with app name, icons, theme colors
  • Icons are already embedded in assets/icons/
  • Add a service worker that caches:
    • The CSS and JS assets
    • Previously visited markdown pages
  • Support "Add to Home Screen" on mobile browsers
  • Show an install prompt banner
  • Cache invalidation on content changes
  • Works alongside the existing auto-reload mechanism

Why

Makes mdcli-served docs accessible offline on mobile devices, great for documentation that needs to be available in the field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions