Skip to content

A tool for converting Aozora Bunko files to better formats

License

Notifications You must be signed in to change notification settings

rnpnr/aozora2fmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aozora2fmt

A command line tool for converting Aozora Bunko (青空文庫) files to better formats.

Description

This tool walks through the text and replaces the following:

  • JIS codepoint markers are replaced with the correct UTF-8 character
  • Ruby text markers are replaced with tags appropriate for the output format
  • Headers are replaced with markers appropriate for the output format
  • Page breaks are replaced with a marker appropriate for the output format
  • The info block at the start of the file is removed (unless [-d] is specified)

Installation

Simply clone the repository and run:

make install

About

A tool for converting Aozora Bunko files to better formats

Topics

Resources

License

Stars

Watchers

Forks