Skip to content

Simple Python script to convert Tachibk files to JSON

License

Notifications You must be signed in to change notification settings

BrutuZ/tachibk-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TACHIBK ↔ JSON Converter

Requirements:

  • Python 3.7+ and depencencies:
    • pip install -r requirements.txt
  • ProtoC

Usage:

python usage: tachibk-converter.py [-h] [--input <backup_file.tachibk | backup_file.proto.gz | decoded_backup.json>] [--output <output.json | encoded_backup.tachibk>] [--fork <mihon | sy | j2k>]

options:
  -h, --help            show this help message and exit
  --input, -i <backup_file.tachibk | backup_file.proto.gz | decoded_backup.json>
                        File extension defines whether to decode a backup file to JSON or encode it back
  --output, -o <output.json | encoded_backup.tachibk>
                        When encoding, TACHIBK or PROTO.GZ will additionally recompress the backup file
  --fork <mihon | sy | j2k>
                        Use backup schema from the following fork. Default: Mihon
  --dump-schemas        Dump protobuf schemas from all supported forks
  --convert-preferences
                        Convert preference values into human-readable format.
                        [EXPERIMENTAL!] May not be encoded back into a backup file

Inspired by: https://github.com/clementd64/tachiyomi-backup-models

About

Simple Python script to convert Tachibk files to JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages