Openzineのロゴ

Openzine

コミュニティ
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.

概要

公開者JosssphZhou
リポジトリopenzine
スキル名openzine
スター
42
フォーク
4
同梱ファイル
8
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    JosssphZhouがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Openzine」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/JosssphZhou/openzine/tree/main/plugins/openzine/skills/openzine
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでOpenzineを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にOpenzineを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Openzineは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでOpenzineを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Openzineはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにOpenzineをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/JosssphZhou/openzine/tree/main/plugins/openzine/skills/openzineを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Openzineを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Openzineで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもOpenzineを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Openzine」は無料ですか?

JosssphZhouがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇