8d1f91d636b8884484ad3356d14de877e5de5400
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
- Add `output: standalone` to next.config.js for faster cold start - Rebuild runner stage around standalone bundle (node server.js instead of pnpm start) - Replace prisma db push with prisma migrate deploy (proper migration workflow) - Remove npx/pnpm at runtime, use direct binary paths - Add HOSTNAME=0.0.0.0 for standalone server to listen on all interfaces - Fix next.config.js not copied in builder stage - Update README: pnpm instead of yarn, correct ports, full env vars documentation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Stripstream
A modern web application for reading digital comics, built with Next.js 14 and the Komga API.
📸 Capture
Home
Series
Books
Reader
🚀 Technologies
📦 Major features
- Synchronize with Komga : read progress, series list, books list
- Reader
- Right to left
- Page view : double page, single page
- Page navigation : page number, page percentage, page scroll
- Page zoom : fit to width, fit to height, fit to page
- Auto double page on ipad if horizontal
- Fullscreen button for desktop and ipad safari
- Thumbnail view : carousel of pages
- Handling touch and key events
- Language : english / french
- Favorites : local only, not synchronized with Komga
- UI
- Dark / light mode
- Responsive design
- Loading state
- Error states
- progress bars on series and books
- books list
- Pagination
- Mark as read / mark as unread buttons
- Download button
- Series list
- Pagination
- search
- Server caching for all ressources and TTL in settings
- PWA
- Download locally in storage books
- Offline mode
- Settings to configure the application
- Komga configuration
- Cache and TTLs
- Default filter
- Thumbnail with first page high quality or thumbnails
- Debug mode (show Komga API / next / mongo requests and responses timings)
🛠 Prerequisites
- Node.js 20.x or higher
- pnpm 9.x or higher
- Docker and Docker Compose (optional)
📦 Installation
Standard Method
- Clone the repository
git clone [repo-url]
cd stripstream
- Install dependencies
pnpm install
- Copy the example environment file and adjust it to your needs
cp .env.example .env.local
- Start the development server
pnpm dev
With Docker (Build Local)
- Clone the repository and navigate to the folder
git clone [repo-url]
cd stripstream
- Launch with Docker Compose
docker-compose up --build
The application will be accessible at http://localhost:3020
With Docker (DockerHub Image)
You can also use the pre-built image from DockerHub without cloning the repository:
- Create a
docker-compose.ymlfile:
services:
app:
image: julienfroidefond32/stripstream:latest
ports:
- "3000:3000"
environment:
# Required
- NEXTAUTH_SECRET=your_secret_here # openssl rand -base64 32
- NEXTAUTH_URL=http://localhost:3000
# Optional — defaults shown
# - NODE_ENV=production
# - DATABASE_URL=file:/app/prisma/data/stripstream.db
# - ADMIN_DEFAULT_PASSWORD=Admin@2025
# - AUTH_TRUST_HOST=true
# - KOMGA_MAX_CONCURRENT_REQUESTS=5
volumes:
- ./data:/app/prisma/data
restart: unless-stopped
- Run the container:
docker-compose up -d
The application will be accessible at http://localhost:3000
🔧 Available Scripts
pnpm dev- Starts the development serverpnpm build- Creates a production buildpnpm start- Runs the production versionpnpm lint- Checks code with ESLint./docker-push.sh [tag]- Build and push Docker image to DockerHub (default tag:latest)
Docker Push Script
The docker-push.sh script automates building and pushing the Docker image to DockerHub:
# Push with 'latest' tag
./docker-push.sh
# Push with a specific version tag
./docker-push.sh v1.0.0
Prerequisite: You must be logged in to DockerHub (docker login) before running the script.
🌐 Komga API
The application uses the Komga API for comic book management. The API documentation is available here: Komga API Documentation
🏗 Project Structure
src/
├── app/ # Next.js pages and routes
├── components/ # Reusable React components
├── constants/ # Application constants
├── contexts/ # React contexts
├── hooks/ # Custom React hooks
├── i18n/ # Internationalization configuration
├── lib/ # Utilities and services
├── messages/ # Translation messages
├── middleware.ts # Next.js middleware
├── styles/ # Global styles
├── types/ # TypeScript type definitions
└── utils/ # Helper functions and utilities
docs/ # Project documentation
scripts/ # Utility scripts
public/ # Static assets
🤝 Contributing
- Create a branch for your feature
- Commit your changes
- Push to the branch
- Open a Pull Request
📝 Development Guidelines
- Follow DRY (Don't Repeat Yourself) principles
- Use TypeScript for all new code
- Use Tailwind classes for styling
- Implement accessibility features
- Update devbook.md for any significant changes
- Follow the project's code style (enforced by ESLint and Prettier)
📄 License
This project is licensed under the MIT License.
MIT License
Copyright (c) 2025 Julien Froidefond
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description
Languages
TypeScript
91.2%
JavaScript
6.1%
HTML
1.7%
CSS
0.6%
Dockerfile
0.3%
Other
0.1%





