Openzine logo

Openzine

Community
JosssphZhou
openzine

Turn a PDF or a folder of page images into a page-turning 3D booklet with realistic paper lighting, saved as one HTML file that opens offline with a double-click. Use when someone wants a flipbook, zine, portfolio, lookbook, catalogue, brochure or exhibition booklet made from design pages, slides, scans or a PDF.

Overview

PublisherJosssphZhou
Repositoryopenzine
Skill nameopenzine
Stars
42
Forks
4
Bundled files
8
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by JosssphZhou on GitHub. Read the source before you install it.

Installation

Install the Openzine AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/JosssphZhou/openzine/tree/main/plugins/openzine/skills/openzine
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JosssphZhou/openzine.git /tmp/openzine
mkdir -p .claude/skills
cp -r /tmp/openzine/plugins/openzine/skills/openzine .claude/skills/openzine
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Openzine in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Openzine on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Openzine is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OpenZine

OpenZine binds pages into a booklet the reader turns with the mouse, touch or arrow keys. Everything (pages, renderer, paper texture) is inlined into one .html file, so the result can be emailed, uploaded to any static host, or opened from disk without a network connection.

All paths below are relative to this skill's directory, the folder that contains this SKILL.md. The only requirement is Node.js 18 or newer.

Make a book

  1. Find the input: a PDF, or a folder whose image files are the pages. Ask the user which file or folder to use only when it is not clear from the request.

  2. Choose an output path the user will find, next to the input by default (for example portfolio.pdf gives portfolio-book.html). Choose a title: the user's words, else the document name.

  3. Run:

    sh
    node <skill-dir>/scripts/make-book.mjs --input <folder-or-pdf> --out <book.html> --title "<title>"

    Add --lang zh for a Chinese viewer interface; the default is English. Portrait screens (phones, vertical video) open on a single page with a Single / Spread switch; add --portrait spread when the user wants them to open on the two-page spread.

  4. Read the command output. Success ends with Wrote <path> and a line such as 12 page(s), 6 sheet(s), 9.4 MB. Pass every warning on to the user in plain words.

  5. Tell the user where the file is and how to use it: double-click to open, drag or click a page to turn it, hold to keep turning, arrow keys, Home for the cover, End for the back cover. Open it for them when you can (open <file> on macOS, xdg-open on Linux, start on Windows).

The book is done when the HTML file exists and the command exited with code 0.

How pages are bound

  • Page order is the file name in natural order: 2.png comes before 10.png. Rename files to reorder pages.
  • The first page is the front cover. After it, each pair of images is one sheet: back of the previous sheet, front of the next. The last image is the back cover.
  • An odd number of pages gets one blank page at the end so the last sheet has a back.
  • Supported images: PNG, JPG, WebP, AVIF. Other files in the folder are skipped and listed; hidden files are ignored.
  • The page shape is width : height = 1 : 1.377 (for example 1440 × 1983 px). Pages with another ratio are shown whole, centred on a paper-coloured margin, never cropped or stretched. A4 and US Letter PDFs therefore get thin margins. When the user wants edge-to-edge pages, tell them to design pages at 1 : 1.377.
  • About 1440 px wide per page looks sharp. Larger images only make the file bigger. The command warns when the file is over 60 MB.

PDF input

The command converts each PDF page to a 1440 px wide JPG. It uses Poppler's pdftoppm when installed and falls back to pdf.js. --pdf-engine pdftoppm or --pdf-engine pdfjs forces one converter.

When the command fails

The command prints Error: and a reason, then exits with code 1. Fix the cause and run it again:

Message starts withWhat to do
No PDF converter availableInstall Poppler (brew install poppler, sudo apt install poppler-utils, choco install poppler), or run npm install in this skill's directory to enable pdf.js. Ask the user before installing software. If neither is possible, ask the user to export the PDF pages as images and use the folder.
Could not convert <file>The PDF is likely password-protected or damaged. Ask the user for an unlocked copy or exported page images.
<name> is not a readable PNG, JPG, WebP or AVIF imageThe file content does not match its extension. Remove or re-export that file.
No images foundThe folder has no supported images. Check the path or convert the pages to PNG or JPG.
Input not foundCheck the path; quote paths that contain spaces.

If the book opens but stays on "Preparing pages…" or shows "The pages did not load", the browser has WebGL turned off. Ask the user to try a current Chrome, Edge, Safari or Firefox.

Credit

The page-turn renderer, paper shader and paper grain come from Paper's https://paper.design/mono page and remain Paper's copyright; every book links to that page in its footer. Keep that link when you change the viewer. Three.js is MIT-licensed. Details: LICENSE in the OpenZine repository.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Openzine AI skill do?

Turn a PDF or a folder of page images into a page-turning 3D booklet with realistic paper lighting, saved as one HTML file that opens offline with a double-click. Use when someone wants a flipbook, zine, portfolio, lookbook, catalogue, brochure or exhibition booklet made from design pages, slides, scans or a PDF.

Why use Openzine on TypingMind?

Because you install it once and use it with any model. Openzine is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Openzine in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/JosssphZhou/openzine/tree/main/plugins/openzine/skills/openzine. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Openzine?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Openzine?

As many as you like. As long as a model supports skills, you can use Openzine with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Openzine AI skill free?

It is published on GitHub by JosssphZhou. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇