Skip to content
chaba-devPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

309 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shōsai

Shōsai (書斎, "study") is an ebook reader for PDF and EPUB files. It is one Dart and Flutter application for desktop and mobile: Dart document engines and a Dart application core under a Flutter interface.

Features

  • Read PDF and EPUB files
  • Organize a searchable local library
  • Resume reading, manage bookmarks and notes, and export bookmarks as Markdown
  • Customize font size, line spacing, and light, dark, or sepia reading themes
  • Search within documents and use continuous or paginated reading modes

CBZ comic support is planned for a post-launch release.

Installation

Shōsai is currently a work in progress and has not been released yet. Follow development on GitHub or watch the Releases page for its first release.

Build from source

The repository includes a Nix development environment with Flutter and the platform build dependencies:

nix develop
flutter pub get
flutter run                 # select an available host

make linux-debug builds the Linux host without running it, and make macos-debug, make android-profile and the ios-* targets build the other hosts. Without Nix, install Flutter 3.41 or newer and the native dependencies the Flutter host needs on your platform, then run the same Make targets; the PDFium and SQLite libraries are fetched by the Dart bindings' build hooks. make test also needs a PDFium shared library named by SHOSAI_PDFIUM_LIBRARY, because flutter test does not link native assets. See docs/flutter-architecture.md for how the application is divided.

Development

nix develop
make check

Ordinary builds, including Release builds, use the existing development app ID and library. The explicit production build targets use dev.shosai.reader and start with a separate library and no saved cloud credentials.

The project is a Flutter application:

  • lib contains the Flutter interface, the reader controllers and the PDF engine.
  • packages/shosai_epub is the EPUB engine.
  • packages/shosai_core is the application core: library, storage, reading state, bookmarks, annotations and search.
  • android, ios, linux and macos contain the platform hosts.
  • third_party contains the patched PDF bindings and their redistribution notices.
  • fixtures holds the test documents the packages and the app share.

Run Flutter and Dart commands from the repository root. Desktop bundles are written under build/linux/ or build/macos/. The former Rust benchmarks and standalone evaluation app have been retired; reader regression fixtures and their generator live in fixtures/epub-layout/.

On Apple Silicon macOS, build the Flutter iOS host with make ios-simulator-debug, make ios-device-profile, or make ios-device-release. These targets download a checksum-pinned, writable Flutter SDK under target and remove Nix compiler and SDK variables before Xcode runs. Physical device builds are intentionally unsigned; local development signing must be configured in Xcode before installing them.

Architecture and product proposals follow the Requests for Discussion process; the RFDs live in chaba-dev/rfds and are published at https://chaba-rfds.pages.dev. The project roadmap links to the corresponding RFDs.

Website

Visit the public website or read its catalog revision index. The Hugo source, checked-in catalog and publication workflows live in the maintainer-only website repository, which documents local development, catalog refresh and Cloudflare Pages configuration. The Dart catalog importer and exporter remain in this repository.

License

Shōsai is licensed under the Apache License 2.0.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages