VS Code Extensions
XTC eBook Viewer

XTC eBook Viewer

by cqa02303

Preview XTC, XTCZ, and XTCH e-book files in Visual Studio Code.

Downloads

0

Rating

— (0)

Version

0.3.6

Last updated

Aug 09, 2026

Preview .xtc, .xtcz, and .xtch e-books directly in Visual Studio Code.

  • Page navigation by toolbar, page number, keyboard, or table of contents
  • Zoom controls and fit-to-window display
  • Book title and author metadata
  • Uncompressed 1-bit XTC pages
  • LZ4-compressed XTCZ containers
  • Four-level grayscale XTCH pages

This is an unofficial compatibility tool. It is not affiliated with or endorsed by Xteink or any other device manufacturer. Product names are mentioned only to describe file compatibility.

Usage

Open an .xtc, .xtcz, or .xtch file in VS Code. If another editor is already associated with the file, use Reopen Editor With... and select XTC eBook Viewer.

Use Left/Right or PageUp/PageDown to change pages, Home/End to jump to the first or last page, and the table of contents to jump to a chapter. Over the page, scroll the mouse wheel down to move forward or up to move backward.

To verify the supported formats without another book, open the Command Palette and run XTC: Open XTCZ Sample or XTC: Open XTCH Sample. Both bundled samples use original, redistributable text created for this extension.

Development

  1. Open the xtc-ebook-viewer folder in VS Code.
  2. Press F5 to start an Extension Development Host.
  3. Open a supported e-book in the Development Host.

Run tests and create a VSIX package with:

npm test
npm run package

Visual Studio Code内で .xtc、.xtcz、.xtch 電子書籍を閲覧する拡張です。

  • ツールバー、ページ番号、キーボード、目次によるページ移動
  • 拡大・縮小とウィンドウ全体へのフィット
  • 作品名・作者情報の表示
  • 無圧縮1bit XTCページ
  • LZ4圧縮XTCZコンテナ
  • 4階調グレースケールXTCHページ

この拡張は非公式の互換ツールです。Xteinkおよびその他のデバイスメーカーによる 公式・公認の製品ではなく、各社との提携関係もありません。製品名はファイル互換性を 説明する目的に限って記載しています。

使い方

VS Codeで .xtc、.xtcz、.xtch を開きます。別のエディターが関連付けられている 場合は「エディターを再度開くアプリケーション」から「XTC eBook Viewer」を選びます。

左右矢印またはPageUp/PageDownでページを移動し、Home/Endで先頭・末尾へ移動します。 サイドバーの目次から章の先頭へジャンプできます。 本文表示エリアでは、マウスホイールを下へ回すと次ページ、上へ回すと前ページへ移動します。

手元に書籍ファイルがなくても、コマンドパレットから XTC: Open XTCZ Sample / XTCZサンプルを開く または XTC: Open XTCH Sample / XTCHサンプルを開く を実行して確認できます。 同梱サンプルには、この拡張用に作成した再配布可能なオリジナル本文だけを使用しています。

開発

  1. VS Codeで xtc-ebook-viewer フォルダを開きます。
  2. F5 を押してExtension Development Hostを起動します。
  3. Development Host側で対応する電子書籍を開きます。

テストとVSIX作成:

npm test
npm run package

Related extensions