You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+80-15Lines changed: 80 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,83 @@
3
3
[Readium Mobile](https://github.com/readium/mobile) is a toolkit for ebooks, audiobooks and comics written in Swift & Kotlin.
4
4
5
5
> [!TIP]
6
-
> **Take a look at the [guide to get started](docs/Guides/Getting%20Started.md).** A [Test App](TestApp) demonstrates how to integrate the Readium Swift toolkit in your own reading app.
6
+
> **Take a look at the [guide to quickly get started](docs/Guides/Getting%20Started.md).** A [Test App](TestApp) demonstrates how to integrate the Readium Swift toolkit in your own reading app.
7
7
8
-
This toolkit is a modular project, which follows the [Readium Architecture](https://github.com/readium/architecture).
8
+
## Features
9
9
10
-
*[`ReadiumShared`](Sources/Shared) – Shared `Publication` models and utilities
11
-
*[`ReadiumStreamer`](Sources/Streamer) – Publication parsers and local HTTP server
*[`ReadiumOPDS`](Sources/OPDS) – Parsers for OPDS catalog feeds
14
-
*[`ReadiumLCP`](Sources/LCP) – Service and models for [Readium LCP](https://www.edrlab.org/readium-lcp/)
10
+
✅ Implemented 🚧 Partially implemented 📆 Planned 👀 Want to do ❌ Will not do
Guides are available to help you make the most of the toolkit.
62
+
63
+
### Publication
64
+
65
+
*[Opening a publication](docs/Guides/Open%20Publication.md) – parse a publication package (EPUB, PDF, etc.) or manifest (RWPM) into Readium `Publication` models
66
+
*[Extracting the content of a publication](docs/Guides/Content.md) – API to extract the text content of a publication for searching or indexing it
67
+
*[Text-to-speech](docs/Guides/TTS.md) – read aloud the content of a textual publication using speech synthesis
68
+
69
+
### Navigator
70
+
71
+
*[Navigator](docs/Guides/Navigator/Navigator.md) - an overview of the Navigator to render a `Publication`'s content to the user
72
+
*[Configuring the Navigator](docs/Guides/Navigator/Preferences.md) – setup and render Navigator user preferences (font size, colors, etc.)
73
+
*[Font families in the EPUB navigator](docs/Guides/Navigator/EPUB%20Fonts.md) – support custom font families with reflowable EPUB publications
74
+
*[Integrating the Navigator with SwiftUI](docs/Guides/Navigator/SwiftUI.md) – glue to setup the Navigator in a SwiftUI application
75
+
76
+
### DRM
77
+
78
+
*[Supporting Readium LCP](docs/Guides/Readium%20LCP.md) – open and render LCP DRM protected publications
79
+
80
+
## Setting up the Readium Swift toolkit
81
+
82
+
### Minimum Requirements
17
83
18
84
<!-- https://swiftversion.net/ -->
19
85
@@ -25,23 +91,22 @@ This toolkit is a modular project, which follows the [Readium Architecture](http
25
91
| 2.5.0 | 10.0 | 5.6.1 | 13.4 |
26
92
| 2.4.0 | 10.0 | 5.3.2 | 12.4 |
27
93
28
-
## Using Readium
29
94
30
-
<!--:question: **Find documentation and API reference at [readium.org/kotlin-toolkit](https://readium.org/swift-toolkit)**.-->
95
+
### Dependencies
31
96
32
-
Readium libraries are distributed with [Swift Package Manager](#swift-package-manager) (recommended), [Carthage](#carthage) and [CocoaPods](#cocoapods). It's also possible to clone the repository (or a fork) and [depend on the libraries locally](#local-git-clone).
97
+
The toolkit's libraries are distributed with [Swift Package Manager](#swift-package-manager) (recommended), [Carthage](#carthage) and [CocoaPods](#cocoapods). It's also possible to clone the repository (or a fork) and [depend on the libraries locally](#local-git-clone).
33
98
34
99
The [Test App](TestApp) contains examples on how to use all these dependency managers.
35
100
36
-
### Swift Package Manager
101
+
####Swift Package Manager
37
102
38
103
From Xcode, open **File** > **Add Packages** and use Readium's GitHub repository for the package URL: `https://github.com/readium/swift-toolkit.git`.
39
104
40
105
You are then free to add one or more Readium libraries to your application. They are designed to work independently.
41
106
42
107
If you're stuck, find more information at [developer.apple.com](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app).
43
108
44
-
### Carthage
109
+
####Carthage
45
110
46
111
Add the following to your `Cartfile`:
47
112
@@ -68,7 +133,7 @@ Refer to the following table to know which dependencies are required for each Re
0 commit comments