Skip to content

Commit 9c7541d

Browse files
committed
Merge branch 'release/v1.1.0'
2 parents 5c08499 + 105ef83 commit 9c7541d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+5087
-4497
lines changed

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 Satoru MATSUSHIMA
1+
Copyright (c) 2013 Satoru Matsushima
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

Diff for: README.md

+38-30
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ And you can embed it in other webpages (like YouTube videos).
1616

1717
### Spec.
1818

19-
* EPUB 3+ and 2 compliant. Supports both fixed-layout and reflowable books of various language.
19+
* EPUB 3+ and 2 compliant. Supports both reflowable and fixed-layout books of various language.
2020
* Made with JavaScript. Works compatibly with all major web browsers on various OS/devices.
21-
* Open source software released under the MIT License.
21+
* Free. Open source software released under the MIT License.
2222

2323

2424

2525
### Table of Contents
2626

27-
1. [How to Setup & Read/Publish EPUB Books](#how-to-setup--readpublish-epub-books) (for Users/Publishers)
27+
1. [How to Setup & Read/Publish EPUB Books](#how-to-setup--readpublish-epub-books) (for Users/Publishers)
2828
2. [How to Arrange Development Environment](#how-to-arrange-development-environment) (for Developers)
2929
3. [License](#license)
3030
4. [Special Thanks](#special-thanks)
31-
5. [Supported and Sponsored by](#supported-and-sponsored-by)
31+
5. [Supported by](#supported-by)
3232

3333

3434

@@ -38,7 +38,7 @@ And you can embed it in other webpages (like YouTube videos).
3838

3939

4040

41-
How to Setup & Read/Publish EPUB Books
41+
How to Setup & Read/Publish EPUB Books
4242
--------------------------------------------------------------------------------------------------------------------------------
4343

4444
Bibi supports 3 ways to read/publish EPUB books:
@@ -124,6 +124,7 @@ If you want to terminate this feature, set "no" to "accept-files" in `bibi/prese
124124

125125

126126

127+
127128
How to Arrange Development Environment
128129
--------------------------------------------------------------------------------------------------------------------------------
129130

@@ -144,8 +145,6 @@ How to Arrange Development Environment
144145
2. $ `cd <the local repository>`
145146
3. $ `npm install`
146147

147-
And files and folders are generated in `__dist` folder.
148-
149148

150149

151150
### How to Develop
@@ -183,9 +182,9 @@ If you want to modify them, please edit files in the `Source` column instead of
183182

184183
### How to Make a Ditribution Package
185184

186-
* $ `npm run make:distribution-package`
187-
1. webpack generates production version of Bibi to `__dist` folder.
188-
2. gulp generates zipped archive to `__archives` folder.
185+
* $ `npm run make:package`
186+
1. webpack generates temporary files of production version of Bibi.
187+
2. gulp generates zipped archive to `__archives` folder. After that, the temporary files are removed.
189188

190189

191190

@@ -197,31 +196,35 @@ License
197196

198197
### Bibi ([ja](https://bibi.epub.link) / [en](https://github.com/satorumurmur/bibi))
199198

200-
* Copyright &copy; [Satoru MATSUSHIMA](https://string-letters.com) ([@satorumurmur](https://twitter.com/satorumurmur))
201-
* Licensed under [the MIT License](https://github.com/satorumurmur/bibi/blob/master/LICENSE).
199+
* © [Satoru Matsushima](https://string-letters.com) ([@satorumurmur](https://twitter.com/satorumurmur))
200+
* Open source under [the MIT License](https://github.com/satorumurmur/bibi/blob/master/LICENSE)
202201

203202

204203

205204
### Bibi is including and powered by these open source softwares:
206205

207206
* Core:
208-
- [sML.js](https://github.com/satorumurmur/sML) ... Copyright &copy; Satoru MATSUSHIMA (Licensed under [the MIT License](https://github.com/satorumurmur/sML/blob/master/LICENSE).)
209-
- [Material Icons](https://material.io/icons/) ... Copyright &copy; Material Design Authors / Google Inc. (Licensed under [the Apache License version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html).)
207+
- [sML.js](https://github.com/satorumurmur/sML) : © Satoru Matsushima / Licensed under [the MIT License](https://github.com/satorumurmur/sML/blob/master/LICENSE)
208+
- [Material Icons](https://material.io/icons/) : © Material Design Authors &amp; Google Inc. / Licensed under [the Apache License version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
210209
* Extensions:
211-
- [Bibi Zip Loader](https://github.com/lunascape/bibi-zip-loader) ... Copyright &copy; Lunascape (Licensed under [the MIT License](https://github.com/lunascape/bibi-zip-loader/blob/master/LICENSE).)
212-
- [JSZip](http://stuk.github.io/jszip) ... Copyright &copy; Stuart Knightley (Dual licensed under [the MIT License or the GPLv3](https://github.com/Stuk/jszip/blob/HEAD/LICENSE.markdown).)
213-
- [JSZipUtils](http://stuk.github.io/jszip-utils) ... Copyright &copy; Stuart Knightley (Dual licensed under [the the MIT License or the GPLv3](https://github.com/Stuk/jszip-utils/blob/master/LICENSE.markdown).)
214-
- [JS-YAML](http://nodeca.github.io/js-yaml/) ... Copyright &copy; Vitaly Puzrin (Licensed under [the MIT License](https://github.com/nodeca/js-yaml/blob/master/LICENSE).)
210+
- [Bibi Zip Loader](https://github.com/lunascape/bibi-zip-loader) : © Lunascape / Licensed under [the MIT License](https://github.com/lunascape/bibi-zip-loader/blob/master/LICENSE)
211+
- [JSZip](http://stuk.github.io/jszip) : © Stuart Knightley / Dual licensed under [the MIT License or the GPLv3](https://github.com/Stuk/jszip/blob/HEAD/LICENSE.markdown)
212+
- [JSZipUtils](http://stuk.github.io/jszip-utils) : © Stuart Knightley / Dual licensed under [the MIT License or the GPLv3](https://github.com/Stuk/jszip-utils/blob/master/LICENSE.markdown)
213+
- [JS-YAML](http://nodeca.github.io/js-yaml/) : © Vitaly Puzrin / Licensed under [the MIT License](https://github.com/nodeca/js-yaml/blob/master/LICENSE)
214+
- [DOMPurify](https://github.com/cure53/DOMPurify) : © Mario Heiderich / Dual licensed under [the Apache License Version 2.0 or the Mozilla Public License Version 2.0](https://github.com/cure53/DOMPurify/blob/master/LICENSE)
215215
* Polyfills:
216-
- [classlist-polyfill](https://github.com/yola/classlist-polyfill) ... by Yola Inc. (Released into the public domain under [the Unlicense](https://github.com/yola/classlist-polyfill/blob/master/LICENSE))
217-
- [text-encoding-utf-8](https://github.com/arv/text-encoding-utf-8) ... by Erik Arvidsson (Released into the public domain under [the Unlicense](https://github.com/arv/text-encoding-utf-8/blob/master/LICENSE.md).)
218-
- [IntersectionObserver polyfill](https://github.com/w3c/IntersectionObserver) ... Copyright (c) W3C (Licensed under [the W3C Software and Document License](https://github.com/w3c/IntersectionObserver/blob/master/LICENSE.md).)
219-
- [document.currentScript Polyfill](https://github.com/amiller-gh/currentScript-polyfill) ... Copyright &copy; Adam Miller (Licensed under [the MIT License](https://github.com/amiller-gh/currentScript-polyfill/blob/master/LICENSE).)
220-
- [custom-event-polyfill](https://github.com/kumarharsh/custom-event-polyfill) ... Copyright &copy; Evan Krambuhl (Licensed under [the MIT License](https://github.com/kumarharsh/custom-event-polyfill/blob/master/LICENSE).)
221-
- [Native Promise Only (NPO)](https://github.com/getify/native-promise-only) ... Copyright &copy; Kyle Simpson (Licensed under [the MIT License](http://getify.mit-license.org/).)
222-
- [Polyfill Array.prototype.includes](https://github.com/latusinski/polyfill-array-includes) ... Copyright &copy; Kevin Latusinski (Licensed under [the MIT License](https://www.npmjs.com/package/polyfill-array-includes).)
223-
- [String.prototype.padStart](https://github.com/KhaledElAnsari/String.prototype.padStart) ... Copyright &copy; Khaled Al-Ansari (Licensed under [the MIT License](https://github.com/KhaledElAnsari/String.prototype.padStart/blob/master/LICENSE).)
224-
- [url-polyfill](https://github.com/lifaon74/url-polyfill) ... Copyright &copy; Valentin Richard (Licensed under [the MIT License](https://github.com/lifaon74/url-polyfill/blob/master/LICENSE).)
216+
- [classlist-polyfill](https://github.com/yola/classlist-polyfill) : by Yola Inc. / Released into the public domain under [the Unlicense](https://github.com/yola/classlist-polyfill/blob/master/LICENSE)
217+
- [text-encoding-utf-8](https://github.com/arv/text-encoding-utf-8) : by Erik Arvidsson / Released into the public domain under [the Unlicense](https://github.com/arv/text-encoding-utf-8/blob/master/LICENSE.md)
218+
- [IntersectionObserver polyfill](https://github.com/w3c/IntersectionObserver) : © W3C / Licensed under [the W3C Software and Document License](https://github.com/w3c/IntersectionObserver/blob/master/LICENSE.md)
219+
- [document.currentScript Polyfill](https://github.com/amiller-gh/currentScript-polyfill) : © Adam Miller / Licensed under [the MIT License](https://github.com/amiller-gh/currentScript-polyfill/blob/master/LICENSE)
220+
- [custom-event-polyfill](https://github.com/kumarharsh/custom-event-polyfill) : © Evan Krambuhl / Licensed under [the MIT License](https://github.com/kumarharsh/custom-event-polyfill/blob/master/LICENSE)
221+
- [Native Promise Only (NPO)](https://github.com/getify/native-promise-only) : © Kyle Simpson / Licensed under [the MIT License](http://getify.mit-license.org/)
222+
- [ES6 Object.assign()](https://github.com/rubennorte/es6-object-assign) : © Rubén Norte / Licensed under [the MIT License](https://github.com/rubennorte/es6-object-assign/blob/master/LICENSE)
223+
- [Polyfill Array.prototype.includes](https://github.com/latusinski/polyfill-array-includes) : © Kevin Latusinski / Licensed under [the MIT License](https://www.npmjs.com/package/polyfill-array-includes)
224+
- [String.prototype.padStart](https://github.com/KhaledElAnsari/String.prototype.padStart) : © Khaled Al-Ansari / Licensed under [the MIT License](https://github.com/KhaledElAnsari/String.prototype.padStart/blob/master/LICENSE)
225+
- [url-polyfill](https://github.com/lifaon74/url-polyfill) : © Valentin Richard / Licensed under [the MIT License](https://github.com/lifaon74/url-polyfill/blob/master/LICENSE)
226+
227+
225228

226229

227230
Special Thanks
@@ -230,10 +233,15 @@ Special Thanks
230233
Thanks to the contributors and the users around the world.
231234

232235

233-
Supported and Sponsored by
236+
237+
238+
Supported by
234239
--------------------------------------------------------------------------------------------------------------------------------
235240

236-
### [Lunascape](https://lunascape.org)
241+
### [Lunascape](https://www.lunascape.tv)
237242

238-
* Bibi v1.0.0 was developed with greateful support and sponsoring from [Lunascape](https://lunascape.org) (and their parent company [MEDIA DO Co.,Ltd.](https://mediado.jp/mediado) who absorbed and merged them).
243+
* Bibi v1.0.0 was developed with greateful support and sponsoring from [Lunascape](https://www.lunascape.tv).
239244
* Lunascape also developed [Bibi Zip Loader](https://github.com/lunascape/bibi-zip-loader) especially for Bibi, which realized fast progressive loading of zipped EPUBs.
245+
246+
247+
77 KB
Binary file not shown.
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
3+
<head>
4+
<title>Nav</title>
5+
</head>
6+
<body epub:type="frontmatter">
7+
<header>
8+
<h1>ToC</h1>
9+
</header>
10+
<nav epub:type="toc">
11+
<ol>
12+
<li><a href="p01.png">p.1</a></li>
13+
</ol>
14+
</nav>
15+
<nav epub:type="page-list">
16+
<ol>
17+
<li><a href="p01.png">p.1</a></li>
18+
<li><a href="p02.png">p.2</a></li>
19+
<li><a href="p03.png">p.3</a></li>
20+
<li><a href="p04.png">p.4</a></li>
21+
<li><a href="p05.png">p.5</a></li>
22+
<li><a href="p06.png">p.6</a></li>
23+
</ol>
24+
</nav>
25+
</body>
26+
</html>
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="ja" prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="uid">
3+
<metadata xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/">
4+
<dc:identifier id="uid">urn:uuid:C3171445-62C6-470B-814B-14D15745BA8E</dc:identifier>
5+
<dc:title>Sample: Pre-Paginated LtR</dc:title>
6+
<dc:language>ja-jp</dc:language>
7+
<dc:creator>Bibi Lalalu</dc:creator>
8+
<dc:publisher>bibi.epub.link</dc:publisher>
9+
<meta property="dcterms:modified">2020-03-11T12:00:00Z</meta>
10+
<meta property="rendition:layout">pre-paginated</meta>
11+
<meta property="rendition:orientation">portrait</meta>
12+
<meta property="rendition:spread">landscape</meta>
13+
<meta name="original-resolution" content="1440x2000" />
14+
<meta name="cover" content="cov" />
15+
</metadata>
16+
<manifest>
17+
<item id="nav" media-type="application/xhtml+xml" href="nav.xhtml" properties="nav" />
18+
<item id="cov" media-type="image/png" href="cov.png" properties="cover-image" />
19+
<item id="p02" media-type="image/png" href="p02.png" />
20+
<item id="p03" media-type="image/png" href="p03.png" />
21+
<item id="p04" media-type="image/png" href="p04.png" />
22+
<item id="p05" media-type="image/png" href="p05.png" />
23+
<item id="p06" media-type="image/png" href="p06.png" />
24+
<item id="p07" media-type="image/png" href="p07.png" />
25+
</manifest>
26+
<spine page-progression-direction="ltr">
27+
<itemref idref="cov" properties="page-spread-center" />
28+
<itemref idref="p02" properties="page-spread-right" />
29+
<itemref idref="p03" properties="page-spread-left" />
30+
<itemref idref="p04" properties="page-spread-right" />
31+
<itemref idref="p05" properties="page-spread-left" />
32+
<itemref idref="p06" properties="page-spread-right" />
33+
<itemref idref="p07" properties="page-spread-left" />
34+
</spine>
35+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0">
3+
<rootfiles>
4+
<rootfile full-path="CONTENT/package.opf" media-type="application/oebps-package+xml" />
5+
</rootfiles>
6+
</container>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
application/epub+zip
76.9 KB
Binary file not shown.
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
3+
<head>
4+
<title>Nav</title>
5+
</head>
6+
<body epub:type="frontmatter">
7+
<header>
8+
<h1>ToC</h1>
9+
</header>
10+
<nav epub:type="toc">
11+
<ol>
12+
<li><a href="p01.png">p.1</a></li>
13+
</ol>
14+
</nav>
15+
<nav epub:type="page-list">
16+
<ol>
17+
<li><a href="p01.png">p.1</a></li>
18+
<li><a href="p02.png">p.2</a></li>
19+
<li><a href="p03.png">p.3</a></li>
20+
<li><a href="p04.png">p.4</a></li>
21+
<li><a href="p05.png">p.5</a></li>
22+
<li><a href="p06.png">p.6</a></li>
23+
</ol>
24+
</nav>
25+
</body>
26+
</html>
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="ja" prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="uid">
3+
<metadata xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/">
4+
<dc:identifier id="uid">urn:uuid:D7F57A3B-8D31-4004-A5BF-543B40DA21E8</dc:identifier>
5+
<dc:title>Sample: Pre-Paginated RtL</dc:title>
6+
<dc:language>ja-jp</dc:language>
7+
<dc:creator>Bibi Lalalu</dc:creator>
8+
<dc:publisher>bibi.epub.link</dc:publisher>
9+
<meta property="dcterms:modified">2020-03-11T12:00:00Z</meta>
10+
<meta property="rendition:layout">pre-paginated</meta>
11+
<meta property="rendition:orientation">portrait</meta>
12+
<meta property="rendition:spread">landscape</meta>
13+
<meta name="original-resolution" content="1440x2000" />
14+
<meta name="cover" content="cov" />
15+
</metadata>
16+
<manifest>
17+
<item id="nav" media-type="application/xhtml+xml" href="nav.xhtml" properties="nav" />
18+
<item id="cov" media-type="image/png" href="cov.png" properties="cover-image" />
19+
<item id="p02" media-type="image/png" href="p02.png" />
20+
<item id="p03" media-type="image/png" href="p03.png" />
21+
<item id="p04" media-type="image/png" href="p04.png" />
22+
<item id="p05" media-type="image/png" href="p05.png" />
23+
<item id="p06" media-type="image/png" href="p06.png" />
24+
<item id="p07" media-type="image/png" href="p07.png" />
25+
</manifest>
26+
<spine page-progression-direction="rtl">
27+
<itemref idref="cov" properties="page-spread-center" />
28+
<itemref idref="p02" properties="page-spread-left" />
29+
<itemref idref="p03" properties="page-spread-right" />
30+
<itemref idref="p04" properties="page-spread-left" />
31+
<itemref idref="p05" properties="page-spread-right" />
32+
<itemref idref="p06" properties="page-spread-left" />
33+
<itemref idref="p07" properties="page-spread-right" />
34+
</spine>
35+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0">
3+
<rootfiles>
4+
<rootfile full-path="CONTENT/package.opf" media-type="application/oebps-package+xml" />
5+
</rootfiles>
6+
</container>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
application/epub+zip

0 commit comments

Comments
 (0)