Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Convert plain text into .epub on Clojure
Clojure
branch: master

This branch is 24 commits behind deltam:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
samples
src
test
.gitignore
README.md
project.clj

README.md

text2epub-clj

Convert plain text into .epub, wriiten on Clojure.

プレインテキストをePubに変換するツールをClojureで書いてみた。

ePub created by this tool, checked open it by these ePub readers.

このツールで作成したepubは、これらのePubリーダーで開けることをチェックしています。

iBooks 

Stanza http://www.lexcycle.com/

Usage

$ lein deps
$ lein uberjar
$ java -jar text2epub-clj-standalone.jar [options] "epub_title" <text>..

This tool is able to bind some text file together into ePub.

このツールでは複数のテキストファイルをePubにまとめることが出来ます。

ePub's index page are viewed list of text file names.

ePubの目次ページにはテキストファイル名が表示されます

(CAUTION!: all text file should be encoded UTF-8.)

(注意!: すべてのテキストファイルはUTF-8エンコード必須です)

Function

  • convert plain text into ePub.
  • binding some text files together into ePub
  • ultra-simple markup for plain text and ePub
  • added "!!" on line head, split pages on ePub.(e.g. samples/hello.txt)

TODO

  • writing unit test.
  • added easy-markup to include image files.
  • added easy-markup function (markdown or others)

License

Copyright (c) 2010 deltam (deltam@gmail.com).

Licensed under the MIT License (http://www.opensource.org/licenses/mit-license.php)

Something went wrong with that request. Please try again.