Skip to main content

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

Calibre-style Flutter ebook reader built on Unseal, with paginated or scrolling layouts, navigation, search, bookmarks, highlights, themes, and text selection hooks.

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
160
points
89
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Calibre-style Flutter ebook reader built on Unseal, with paginated or scrolling layouts, navigation, search, bookmarks, highlights, themes, and text selection hooks.

Repository (GitHub)
View/report issues

Topics

#ebook #reader #epub #viewer

License

MIT (license)

Dependencies

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

More

Packages that depend on grimoire