Skip to content
Proyek

050644zf/ArknightsStoryTextReader

Lihat di GitHub

Tentang

A website that help you read Arknights Stories

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Arknights Story Text Reader

The python scripts for this repository have been move to ASTR-Script

 

CN | JP | KR | EN

     

Arknights Story Text Reader is a website that help you view stories text in mobile game Arknights with following features:

  • Browsing Stories in all Arknights Servers (CN/JP/KR/EN/TW), and easily switch to different server in events, stories or anywhere else at upper right corner(if corresponding event exist).
  • Providing settings for configuring interface language and doctor's name in story
  • Pretty formatted story text, selecting option will navigate to corresponding line (in most stories)
  • More interesting features in misc

Development Info

File Structure

/.github: Github Action Related Script

/ASTR: Assets like Icons and fonts.

/reader: Main Code Folder

/reader/src/ASTR: Legacy Version of ASTR (Deprecated)

/reader/src/ASTRv2: Current Version of ASTR (In active development)

Related Repositories

ASTR-Script : Python script to generate data, including convert raw txt into json, counting words/characters, summarize story introdution and so on.

Kengxxiao/ArknightsGameData : Providing raw data, trigger of the Github Actions.

ArknightsStoryJson : Storing the result generated from ASTR-Script.

Aceship/Arknight-Images : Providing images.

Installation

  1. Clone

    git clone https://github.com/050644zf/ArknightsStoryTextReader.git
    git submodule update --init --recursive
    cd ArknightsStoryTextReader
    
  2. Install Dependencies Navigate to the reader directory and install Node dependencies:

    cd reader
    npm install
    
  3. Build To build for production:

    npm run build
    

This will create a production-ready build in the dist folder inside reader.

ASTRv2 Explained

  1. Entrance Script: reader\src\main2.js
  2. Load server data in reader\src\ASTRv2\server.vue into session storage, including story_review_table.json (events and stories index), chardict.json (character id -> character name), storyinfo.json (story path -> story info), chapter_table.json (maintheme index) and wordcount.json (words/chars countings of stories).
  3. Render corresponding components base on route. Fetch more data (like story json) if necessary.

Jelajahi proyek terkait

Memuat…