Skip to content

A lightweight and simple reader for ZIP archives containing Markdown and HTML files, designed as a modern and portable help file viewer. It supports offline usage without a backend or local server, providing a clean and responsive interface inspired by classic desktop help viewers from the Windows era.

License

Notifications You must be signed in to change notification settings

HelpViewer/HelpViewer

HelpViewer

HelpViewer is a lightweight and simple reader for ZIP archives or directories - whether stored locally or on a network - containing Markdown and HTML files. It’s designed as a modern and portable help file viewer that runs directly in your web browser.

It supports offline use without requiring any backend or server, offering a clean and responsive interface inspired by the classic desktop help viewers from the Windows era.

βš– HelpViewer is MIT licensed.

πŸ‘‰ Open this file in HelpViewer to see it in action.

🌐 Visit our website to learn more.

Interested?

πŸ“¦ Download the latest HelpViewer release package.

πŸ’¬ Join our Discord user group.

Don’t want to just read other people’s help files?

πŸ“— Start to write your own help files.

Want to be involved even more?

πŸ“˜ Read our Contribution guidelines.

πŸ“œ Check out other important project policies.

πŸ“™ Explore Documentation for developers to start custom development.

Features

  • No installation required - just unzip and run locally
  • Multiplatform - works on all major operating systems via web browsers
  • Ready to work in offline mode without any backend or local server
    • A browser with CORS policies disabled is recommended. Otherwise, functionality is partially limited and you must manually select the data file and help file at startup.
  • Responsive (desktop and other devices supported)
  • Lightweight - distribution package under 1 MiB (most part of solution compressed)
  • See the full list

Features for authors

  • Single platform for rendering Markdown and HTML content (both can be present in one help ZIP file)
  • ZIP compression method supported (one single part file only)
  • Rendering diagrams by Mermaid library (included in deployment package)
  • See the full list

How it works

  1. Start your browser with CORS restrictions disabled.
  2. In this session you will open index.html file in your browser.
  3. Set the URL parameter ?d=X, where X is the path to your ZIP file or you can define path ending with / if you want to read a directory.
    If you skip this step, ./hlp/Help-{current language}.zip will be used by default.

The UI is intuitive and easy to use, but if any questions arise, the User Quick Guide is there to help you.

Used 3rd party products

Troubleshooting

The solution is implemented using pure JavaScript. Please ensure that JavaScript is enabled in your browser to ensure proper functionality.

CORS policy

Do you see the page with β€œβš  Do you see this message only?”? Then the browser is not loading the data from the ZIP help file.
This may be caused by your browser blocking local file access (file://) due to CORS policy restrictions.

You have 2 options on how to proceed:

  1. In the data.zip and Help-(language).zip fields, select the necessary files and click Submit.
  2. You need to run your browser in mode with bypass CORS policy:
  • Chrome:

    Run in CLI:
    chrome.exe --disable-site-isolation-trials --disable-web-security --user-data-dir="C:\temp"

  • Edge:

    Run in CLI:
    msedge --disable-web-security --user-data-dir="C:\temp"

Future plans

About AI Assistance

Some parts of this project were developed with assistance from:

  • ChatGPT,
  • Copilot

, an AI-powered advisor. While AI helped generate suggestions, the final code and design decisions were made by the project author.

Please note that any use of third-party code generated or suggested by AI is subject to the original licenses of that code.

About

A lightweight and simple reader for ZIP archives containing Markdown and HTML files, designed as a modern and portable help file viewer. It supports offline usage without a backend or local server, providing a clean and responsive interface inspired by classic desktop help viewers from the Windows era.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages