selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
openflipbook logo

Self-host openflipbook

AI-powered infinite canvas for exploring illustrated worlds

BetaOpen SourceMIT
Updated4 months ago
LanguageTypescript
Setup difficultyAdvanced
ThemeDark mode
Stars
209
Ports
3000 (Next.js web frontend), 8787 (FastAPI backend (local_server.py))
Requires
Fal.ai (image generation), MongoDB, OpenRouter (LLM/VLM provider), RustFS (S3-compatible blob store)
Install with Docker Compose
OpenFlipbook demo — tap any region of an AI-generated page to explore deeperFull-quality demo video with audio showing landing, deeplink, and click-to-explore hopsCrescent Bay Fishing Village — an original map generated in OpenFlipbook

What is openflipbook?

OpenFlipbook reimagines the flipbook.page concept as a self-hosted infinite canvas. Every page is a single AI-generated image; you start with a prompt or uploaded picture, then click anywhere to go deeper. A vision model interprets the click, a planner writes the next image request, and the cycle repeats. The stack runs locally via Docker Compose: a Next.js 15 frontend, a FastAPI backend (normally hosted on Modal but runnable locally), MongoDB for metadata, and RustFS as an S3-compatible blob store. All model calls use your own API keys — fal.ai for images, OpenRouter for the planner and click-resolution vision models. Features include swappable image providers with quality tiers, optional animation (one-shot MP4 or LTX streaming video), persistent permalinks that load from Mongo and object storage without re-generating, embeddable read-only worlds served over oEmbed or a simple script tag, a place inspector for renaming and locking locations, citations that surface source URLs, freehand region selection, a timeline scrubber, progressive rendering with a fast draft model, in-place editing with automated scoring, and a World Mode that treats pages as places on a persistent map. No built-in authentication exists; public deployments should be protected by a reverse proxy with TLS and auth. The codebase is MIT-licensed and under active development.

Should you self-host openflipbook?

openflipbook scores 45/100 on selfhost.directory (how scoring works) and ranks #74 of 125 in AI. It has 209 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is ComfyUI (93/100, 143 752 stars). It scores higher overall, so compare the two before you pick. See openflipbook vs ComfyUI side by side.

Features

  • BYO keys (no hosted backend)
  • Citations with source URLs
  • Click-to-explore infinite canvas
  • Critic loop for quality control
  • Embeddable read-only worlds
  • Image-first exploration with text prompt or image upload
  • In-place page editing with judge scoring
  • Optional animation (ambient MP4 or LTX streaming)
  • Permalinks with Mongo+R2 persistence
  • Place Inspector (rename, alias, lock identity, canonical crop)
  • Progressive rendering with fast draft
  • Shift-drag region selection
  • Swappable image generation providers
  • Time-scrubber for history navigation
  • World Mode (scale-ladder navigation)

openflipbook README

How to install openflipbook

Install openflipbook with Docker Compose

Environment variables
FAL_KEY, OPENROUTER_API_KEY (required); MINIO_ROOT_USER, MINIO_ROOT_PASSWORD, R2_BUCKET, LLM_VLM_MODEL, LLM_TEXT_MODEL, OPENROUTER_VLM_MODEL, OPENROUTER_TEXT_MODEL, OPENROUTER_ENABLE_WEB_SEARCH, FAL_IMAGE_TIER, etc.
git clone https://github.com/eren23/openflipbook
cd openflipbook
cp .env.example .env          # fill FAL_KEY + OPENROUTER_API_KEY
make demo                     # → http://localhost:3000/play

Runs full stack: Next.js web, FastAPI backend, MongoDB, RustFS (S3-compatible). AI calls use cloud providers (fal.ai, OpenRouter).

More in AI

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…