Skip to main content

grimoire 1.0.0 copy "grimoire: ^1.0.0" to clipboard
grimoire: ^1.0.0 copied to clipboard

Calibre-style ebook reader for Flutter built on Unseal. Renders EPUB, MOBI, AZW3, FB2/FBZ, TXT/TXZ, HTML/HTMLZ, DOCX, AZW4, CBZ/CBR/CB7/CBC, ODT and PDF with paginated layouts, themes, table of conten [...]

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

import 'grimoire_example_app.dart';
import 'src/di/providers.dart';
import 'src/infrastructure/database/demo_store.dart';
import 'src/infrastructure/parsing_worker_bootstrap_stub.dart'
    if (dart.library.js_interop) 'src/infrastructure/parsing_worker_bootstrap.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  bootstrapParsingWorker();
  // Host-owned persistence: the library never touches storage; the
  // demo app owns this ObjectBox store and exposes it through DI.
  final store = await DemoStore.open();
  runApp(
    ProviderScope(
      overrides: [demoStoreProvider.overrideWithValue(store)],
      child: const GrimoireExampleApp(),
    ),
  );
}
0
likes
140
points
52
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Calibre-style ebook reader for Flutter built on Unseal. Renders EPUB, MOBI, AZW3, FB2/FBZ, TXT/TXZ, HTML/HTMLZ, DOCX, AZW4, CBZ/CBR/CB7/CBC, ODT and PDF with paginated layouts, themes, table of contents, search and text selection hooks.

Repository (GitHub)
View/report issues

Topics

#ebook #reader #epub #viewer

License

unknown (license)

Dependencies

flutter, flutter_inappwebview, mime, shelf, unseal, web, webview_flutter

More

Packages that depend on grimoire