flipbook-app  by imcuttle

Multimodal canvas for dynamic knowledge discovery

Created 3 weeks ago

New!

313 stars

Top 86.0% on SourcePulse

GitHubView on GitHub
Project Summary

This project addresses the creation of interactive, explorable knowledge visualizations by transforming static images into dynamic "flipbooks." It targets engineers, researchers, and power users seeking novel ways to interact with and understand complex information through an AI-powered, click-to-explore interface. The primary benefit is an engaging, encyclopedia-like experience that allows users to progressively drill down into topics, generating annotated diagrams on demand.

How It Works

Flipbook Canvas employs a pluggable multimodal pipeline that orchestrates LLM-based planning, image generation, web search, and OCR. Users initiate exploration by long-pressing an image region. The system infers the subject, optionally augments understanding with web search results, and then generates a new, annotated child diagram. This process creates an infinite, shareable tree of interconnected knowledge canvases, with each node featuring detailed captions and OCR'd text labels.

Quick Start & Requirements

  • Primary install/run commands: npm install followed by npm run dev for development. Enable the reference CLI provider with ENABLE_CODEBUDDY=1 npm run dev:server.
  • Prerequisites: Node.js, npm. Full functionality requires API keys for various LLM and image generation providers (e.g., OpenAI, Gemini, Seedream). Apple Vision (local) is used for OCR, and Microsoft Edge neural voices for TTS.
  • Resource footprint: Node generation takes approximately 70-95 seconds with the reference provider, producing 2752x1536 PNG images (~6MB).
  • Links: Live examples are available at https://imcuttle.github.io/flipbook-app.

Highlighted Details

  • Click-to-explore: Interactive image regions dynamically generate new, contextually relevant child diagrams.
  • Live-streaming Generation: Node generation progress is streamed via SSE, and nodes are persisted and linkable immediately, allowing real-time collaboration and replay.
  • Selectable In-Image Text: Generated image labels are overlaid with selectable HTML text via OCR, enabling easy copying of information.
  • Web-Search Augmented: An LLM gate determines the utility of web search for enriching node context before generation.
  • Pluggable Multimodal Pipeline: Designed for extensibility, allowing integration of custom LLM, image generation, and web search models.
  • Voice Narration: Integrated text-to-speech using free Microsoft Edge neural voices, bundled into exports for offline playback.

Maintenance & Community

The project is hosted on GitHub at https://github.com/imcuttle/flipbook-app. Specific details regarding active contributors, community channels (like Discord/Slack), or a public roadmap are not detailed in the provided README.

Licensing & Compatibility

The license type and any associated compatibility notes for commercial use or closed-source linking are not specified in the provided README content.

Limitations & Caveats

Several multimodal providers are listed as stubs, requiring user implementation or API key configuration for full functionality. The default setup runs in a limited "stub mode" with SVG placeholders, necessitating explicit configuration (e.g., ENABLE_CODEBUDDY=1) to enable core AI-driven generation and search capabilities. The reliance on external LLM/image APIs means costs and availability are dependent on third-party services.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
313 stars in the last 26 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Elvis Saravia Elvis Saravia(Founder of DAIR.AI), and
1 more.

InternGPT by OpenGVLab

0%
3k
Interactive demo platform for showcasing AI models
Created 3 years ago
Updated 1 year ago
Feedback? Help us improve.