2026-10-24 11:55:36 +01:00
2026-10-24 11:55:36 +01:00

📚 Arknights EPUB & Audiobook AI Voice Visual Novel

An all-in-one suite for experiencing the complete story of Arknights in chronological timeline order—either as compiled EPUB 3 eBooks or through a locally-hosted, background-playable Audiobook & Visual Novel Web App with automated AI voice acting (GPT-SoVITS) and dynamic artwork/OST.


✨ Features

  1. 🎧 Audiobook & Visual Novel Web Application

    • Full Chronological Timeline: Browse all 10 volumes and jump directly into any chapter.
    • Obsidian & Gold Premium UI: Dark-mode glassmorphism interface with smooth 60fps CSS crossfades for background artwork and character sprites.
    • Audiobook Auto-Play Mode: Automatically advances dialogue when voice lines finish, ducking BGM OST volume while characters speak.
    • Background Playable: Built-in Browser MediaSession API integration allows you to minimize the window or lock your screen and control playback (Play/Pause/Next Line) using your OS media keys!
  2. 🤖 AI Voice Dubbing Pipeline (GPT-SoVITS)

    • Pre-Trained Library: Ready-to-link mapping table (config/voice_models.json) for Amiya, Kal'tsit, Ch'en, W, SilverAsh, and more.
    • Automated Voice Dataset Extractor: Includes scripts/extract_voices.py to download clean voice samples and transcriptions from community repositories (Aceship, tlvr-source) to train custom operator checkpoints in under 5 minutes.
    • AMD GPU & Linux Server Ready: Fully supports running locally on AMD Radeon GPUs (DirectML/ROCm) or deploying on your AlmaLinux server (192.168.1.110).
    • Batch Generator: Pre-render audio for entire chapters using npm run tts:generate.
  3. 📖 EPUB 3 eBook Compiler

    • Combines 62 English-translated chapters into 10 themed volumes with auto-generated SVG covers and clean prose formatting.

🚀 Quick Start — Audiobook Web App

1. Install Dependencies

npm install
cd src/webapp && npm install
cd ../..

2. Start the Backend API & Asset Proxy Server (Terminal 1)

npm run server

Runs on http://localhost:3001 — automatically fetches and caches story scripts, background images (/cache/bg/), character sprites (/cache/sprite/), and OST tracks (/cache/bgm/).

3. Launch the Visual Novel Web App (Terminal 2)

npm run webapp

Open http://localhost:5173 in your browser to start reading or listening!


🎙️ AI Voice Acting Setup (GPT-SoVITS)

To enable character voice synthesis for dialogue lines:

  1. Follow the full setup guide in docs/TTS_SETUP.md.
  2. Run the GPT-SoVITS inference API server on port 9880:
    # Example Windows PowerShell AMD GPU launch
    .\runtime\python.exe api.py -s SoVITS_weights\amiya.pth -g GPT_weights\amiya.ckpt -p 9880
    
  3. Pre-generate audio for any story chapter:
    node src/tts-generator.js --story act18d0 --chapter 1
    

📚 EPUB Generation Commands

Generate individual volume EPUBs or the complete collection:

# Build all 10 Volumes
npm run build

# Build a specific Volume (e.g., Volume 1: Shadows over Chernobog)
npm run build:volume -- --volume 1

Output EPUBs are saved to dist/.


🏗️ Architecture & Documentation

The generated EPUBs are not in this repo: Arknights story text is (c) Hypergryph - run the pipeline to build your own.

S
Description
Arknights story in chronological order as EPUB 3 books and an AI-voiced audiobook / visual-novel web app
Readme MIT
182 KiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 85%
Python 11.4%
CSS 3%
Dockerfile 0.4%
HTML 0.2%