MCPcopy Index your code
hub / github.com/baskerville/plato

github.com/baskerville/plato @0.9.45

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.9.45 ↗ · + Follow
1,944 symbols 5,368 edges 113 files 49 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Logo

Plato is a document reader for Kobo's e-readers.

Documentation: GUIDE, MANUAL and BUILD.

Supported firmwares

Any 4.X.Y firmware, with X ≥ 6, will do.

Supported devices

  • Libra Colour.
  • Clara Colour.
  • Clara BW.
  • Elipsa 2E.
  • Clara 2E.
  • Libra 2.
  • Sage.
  • Elipsa.
  • Nia.
  • Libra H₂O.
  • Forma.
  • Clara HD.
  • Aura H₂O Edition 2.
  • Aura Edition 2.
  • Aura ONE.
  • Glo HD.
  • Aura H₂O.
  • Aura.
  • Glo.
  • Touch C.
  • Touch B.

Supported formats

  • PDF, CBZ, FB2, MOBI, XPS and TXT via MuPDF.
  • ePUB through a built-in renderer.
  • DJVU via DjVuLibre.

Features

  • Crop the margins.
  • Continuous fit-to-width zoom mode with line preserving cuts.
  • Rotate the screen (portrait ↔ landscape).
  • Adjust the contrast.
  • Define words using dictd dictionaries.
  • Annotations, highlights and bookmarks.
  • Retrieve articles from online sources through hooks (an example wallabag article fetcher is provided).

Tn01 Tn02 Tn03 Tn04

Donations

Donate

Extension points exported contracts — how you extend this code

View (Interface)
(no doc) [50 implementers]
crates/core/src/view/mod.rs
Document (Interface)
(no doc) [4 implementers]
crates/core/src/document/mod.rs
Framebuffer (Interface)
(no doc) [4 implementers]
crates/core/src/framebuffer/mod.rs
Frontlight (Interface)
(no doc) [4 implementers]
crates/core/src/frontlight/mod.rs
DictReader (Interface)
A dictionary (content) reader. This type abstracts from the underlying seek operations required for lookup of headwords [2 …
crates/core/src/dictionary/dictreader.rs

Core symbols most depended-on inside this repo

add
called by 243
crates/core/src/view/mod.rs
len
called by 221
crates/core/src/view/mod.rs
scale_by_dpi
called by 139
crates/core/src/unit.rs
is_empty
called by 131
crates/core/src/geom.rs
child
called by 131
crates/core/src/view/mod.rs
height
called by 131
crates/core/src/font/mod.rs
includes
called by 103
crates/core/src/geom.rs
get
called by 96
crates/core/src/document/html/dom.rs

Shape

Method 1,334
Class 268
Function 205
Enum 121
Interface 16

Languages

Rust100%

Modules by API surface

crates/core/src/view/reader/mod.rs92 symbols
crates/core/src/geom.rs78 symbols
crates/core/src/document/html/dom.rs62 symbols
crates/core/src/metadata.rs56 symbols
crates/core/src/view/home/mod.rs52 symbols
crates/core/src/document/epub/mod.rs50 symbols
crates/core/src/font/mod.rs48 symbols
crates/core/src/document/mupdf_sys.rs44 symbols
crates/core/src/view/mod.rs43 symbols
crates/core/src/document/html/mod.rs42 symbols
crates/core/src/document/djvu.rs41 symbols
crates/core/src/document/pdf.rs39 symbols

For agents

$ claude mcp add plato \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact