Chrollo is a local-first library organizer with a friendly AI assistant β built to turn messy shelves into a clean, searchable catalog.
- πΈ Scan library images to detect books, including from spines!
- π Use Open Library to verify details and fetch ISBNs/covers
- π Review draft results before saving
- π§Ή Bulk edit metadata like status, tags, and genres
- π¬ Chat with the assistant about your library and updates
- π Stay model-agnostic via LiteLLM
- βοΈ Switch between cloud or local models via env vars
- Install dependencies:
make install- Initialize the local SQLite database:
make db-init-
Set up your environment file (copy
.env.exampleto.envand fill in required values; see Configuration for details). -
Run backend + frontend together (local preview only):
make prodDocker alternative:
make compose-prodBackend runs at http://localhost:8000 and frontend at http://localhost:4173.
The backend is the source of truth for auth mode and the frontend reads it from /api/config on startup.
AUTH_MODE=disabled(default): no login/signup UI, a local user/session is bootstrapped on/api/auth/me, andPASSWORD_PEPPERis not required.AUTH_MODE=enabled+AUTH_VERIFICATION_REQUIRED=false: signup/login immediately authenticate and verification is skipped;PASSWORD_PEPPERis required.AUTH_MODE=enabled+AUTH_VERIFICATION_REQUIRED=true: signup returns a verification token response and login requires verified users.
See .env.example for the full list. Common knobs:
LLM_API_KEY(required unlessLOCAL_LLM_URLis set)LOCAL_LLM_URL(optional; set to use a local LLM instead ofLLM_API_KEY. If set, ignoresLLM_API_KEY.)PASSWORD_PEPPER(required whenAUTH_MODE=enabled)AUTH_MODE(optional;disabledorenabled, defaults todisabled)AUTH_VERIFICATION_REQUIRED(optional;trueorfalse, defaults tofalse)ASSISTANT_MODEL(optional; defaults togemini/gemini-3-flash-preview)IMAGE_MODEL(optional; overrides assistant model for detection)IMAGE_MODEL_KEY(optional; overrides API key for detection)LOG_LEVEL(optional; defaults toINFO)APP_ENV(optional; influences secure cookie defaults)SECURE_COOKIES(optional; defaults tofalse, enable when serving over HTTPS)VITE_PROXY_TARGET(required for docker compose; set tohttp://backend:8000, defaults tohttp://localhost:8000for non-docker runs)DB_PATH,UPLOADS_DIR,CONVERSATIONS_DIR,COVERS_DIR(optional; filesystem paths)FRONTEND_BASE_URL,ALLOWED_TOOLS(optional)SESSION_TTL_SECONDS,VERIFICATION_TTL_SECONDS,RESET_TTL_SECONDS,CONVERSATION_TTL_SECONDS(optional)
Local dev (two terminals):
make backend-devmake frontend-devAlternatively, single command:
make devOr, Docker:
make compose-devDev mode also integrates the Agentation UI for page reviews.
- Server deployment is not supported yet:
frontend-prodruns a local Vite preview and relies on Vite proxying for/apiand/covers(no reverse proxy is configured). - Verification tokens are surfaced in API responses instead of email delivery.
- Logout UI is not implemented; sessions are server-managed.
- Email delivery, password reset UX, and richer assistant tools remain unfinished.
- Filter/sort in library are non-functional currently.
- Password reset/change APIs present but not integrated.
- gemini/gemini-3-flash-preview
- qwen3-vl:235b-cloud (via ollama)
