Update docs vault and README for recent features
- New notes: History, Artwork - Rewrite TMDB Integration: single detail request, entry mapper, rate limiter, refresh sync, stale-entry refresh, recommendations - Update pages, routing, API reference, models, database migrations, services, components, hooks, API clients, settings, media system, library, Electron (Tauri in progress) and known issues - Rewrite README for the current React/Express stack and setup
This commit is contained in:
1 parent
06bf902ad3
commit
229ecef902
20 files changed
+479
-162
No files matched your search
@@ -1,116 +1,109 @@
|
||||
# Showy - Movies & Series Library Tracker
|
||||
# Showy — Movies & Series Library Tracker
|
||||
|
||||
**Showy** is a comprehensive application designed to help you manage your movies and series library. Built with **Angular 17**, **Node.js**, **Express**, and **MySQL**, and optionally packaged with **Electron**, Showy allows you to track your watch progress, manage your watchlist, view upcoming releases on a calendar, and organize official and custom collections. The app also features a dashboard for quick insights into your library. The entire application is **dockerized** for easy setup and deployment.
|
||||
**Showy** is a personal, single-user app for tracking the movies and TV series you watch. It pulls metadata from **TMDB**, keeps your library, watch history and ratings in **MySQL**, and runs as a web app or a **desktop app** (Electron, with a Tauri version in progress).
|
||||
|
||||
---
|
||||
|
||||
## Features
|
||||
|
||||
- **Library Management**:
|
||||
- Add movies and series to your library.
|
||||
- Track watch progress for movies and episodes.
|
||||
- Add movies and series to your watchlist.
|
||||
- **Calendar**:
|
||||
- View upcoming movies and episodes in a calendar view.
|
||||
- Never miss a release date for your favorite shows or movies.
|
||||
- **Collections**:
|
||||
- Browse official collections (e.g., Marvel Cinematic Universe, Harry Potter series).
|
||||
- Create and manage custom collections (e.g., "90s Classics", "Christmas Movies").
|
||||
- **Dashboard**:
|
||||
- Get an overview of your library stats.
|
||||
- View recently added movies/series, upcoming releases, and watch progress.
|
||||
- **Optional Desktop App**:
|
||||
- Use Showy as a desktop application with Electron for a seamless experience.
|
||||
- **Dockerized**:
|
||||
- Easy setup and deployment using Docker and Docker Compose.
|
||||
- **Library** — add movies and shows from TMDB; favorites, hidden entries, watchlist; filter by type, genre, rating and year
|
||||
- **Entry pages** — full-bleed hero, trailer player, cast and crew, seasons (list or card view), where to watch, keywords, recommendations, budget/box office, certification and external links. Titles **not in your library** open on the same page from TMDB data, with *Add to Library*
|
||||
- **Artwork** — every TMDB poster, backdrop and logo for a title, merged with your local media, with one-click *Add*
|
||||
- **Watch tracking** — movies and episodes with exact/estimated/unknown dates, watch buddies, rewatches, season "mark all watched" (single date or spread over a range)
|
||||
- **Season & episode pages** — progress, *Continue* to the next unwatched episode, directors/writers, guest stars
|
||||
- **History** — everything you watched by year, as a list, a timeline, or a Spotify-style **Year in Review**
|
||||
- **Calendar** — upcoming episodes
|
||||
- **Collections** — TMDB collections and your own
|
||||
- **People** — cast and crew pages with filmography split into "in your library" and "not in library"
|
||||
- **Dashboard** — watch time, activity, genres, ratings and growth charts
|
||||
- **Discovery Videos** — a personal video vault linked to library entries
|
||||
- **In-app streaming** and a **command palette** (search, recently viewed, quick navigation)
|
||||
- **Maintenance** — background **TMDB refresh** of stale entries (rate limited), orphan media/people cleanup, duplicate credits, watch-status fixes
|
||||
|
||||
---
|
||||
|
||||
## Technologies Used
|
||||
## Tech Stack
|
||||
|
||||
- **Frontend**: Angular 17
|
||||
- **Backend**: Node.js, Express
|
||||
- **Database**: MySQL
|
||||
- **Optional Desktop Integration**: Electron
|
||||
- **Containerization**: Docker, Docker Compose
|
||||
| Layer | Technologies |
|
||||
|---|---|
|
||||
| Frontend | React 19, TypeScript, Vite 8, Tailwind CSS 4, Base UI (shadcn-style components), TanStack Query 5, Zustand 5, React Router 7, Recharts |
|
||||
| Backend | Node.js, Express 4, Sequelize 6, MySQL 8, Axios, Sharp, JWT auth |
|
||||
| Data | [TMDB API v3](https://developer.themoviedb.org/) (rate limited, proxied by the backend) |
|
||||
| Desktop | Electron 45 (`electron/`); Tauri v2 in progress on the `feat/tauri-app` branch |
|
||||
|
||||
---
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
showy/
|
||||
├── frontend/ # Angular 17 frontend
|
||||
│ ├── src/
|
||||
│ │ ├── app/ # Angular components, services, modules
|
||||
│ │ ├── assets/ # Static assets (images, styles)
|
||||
│ │ └── environments/ # Environment configurations
|
||||
│ ├── Dockerfile # Dockerfile for the frontend
|
||||
│ └── ...
|
||||
├── backend/ # Node.js + Express backend
|
||||
│ ├── config/ # Database and app configurations
|
||||
│ ├── controllers/ # API controllers
|
||||
│ ├── models/ # Database models
|
||||
│ ├── routes/ # API routes
|
||||
│ ├── Dockerfile # Dockerfile for the backend
|
||||
│ └── ...
|
||||
├── electron/ # Electron configuration (optional)
|
||||
├── docker-compose.yml # Docker Compose configuration
|
||||
└── README.md # This file
|
||||
Showy/
|
||||
├── backend/ # Express + Sequelize API (models, routes, controllers, services, mappers)
|
||||
│ ├── config/ # DB connection, relations, startup migrations, data seeding
|
||||
│ └── settings.json # Runtime settings (TMDB key, ports, auth) — copy from settings.json.example
|
||||
├── react_frontend/ # React + Vite frontend (the current UI)
|
||||
├── electron/ # Electron desktop shell
|
||||
├── docs-vault/ # Project documentation (Obsidian vault) — start at Index.md
|
||||
├── frontend/ # Legacy Angular frontend (still used by docker-compose)
|
||||
└── docker-compose.yml
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- Docker
|
||||
- Docker Compose
|
||||
- Node.js 18+ and **pnpm**
|
||||
- MySQL 8 with a database named `Showzy` (connection settings in `backend/config/database.js`)
|
||||
- A TMDB API key
|
||||
|
||||
### Installation
|
||||
|
||||
1. **Clone the repository**:
|
||||
### 1. Backend
|
||||
|
||||
```bash
|
||||
git clone https://github.com/X4Lo/showy.git
|
||||
cd showy
|
||||
cd backend
|
||||
pnpm install
|
||||
cp settings.json.example settings.json # then set tmdbApiKey, userDataPath, authPassword, jwtSecret
|
||||
pnpm dev # http://localhost:4000/api/v1
|
||||
```
|
||||
|
||||
2. **Set up environment variables**:
|
||||
- Create a `.env` file in the `backend` directory with the following variables:
|
||||
On start the backend syncs the schema and runs `config/migrations.js`, which adds any new columns to an existing database (additive only).
|
||||
|
||||
### 2. Frontend
|
||||
|
||||
```bash
|
||||
PORT=3000
|
||||
DB_HOST=mysql
|
||||
DB_USER=root
|
||||
DB_PASSWORD=yourpassword
|
||||
DB_NAME=showy
|
||||
cd react_frontend
|
||||
pnpm install
|
||||
pnpm dev # http://localhost:4200
|
||||
```
|
||||
|
||||
1. **Build and run the application with Docker Compose**:
|
||||
The Vite dev server proxies `/api` to the backend; change the `proxy.target` in `vite.config.ts` to point at `http://localhost:4000` for local development.
|
||||
|
||||
### 3. Desktop app (optional)
|
||||
|
||||
```bash
|
||||
docker-compose up --build
|
||||
cd electron
|
||||
pnpm install
|
||||
pnpm build-front # builds the frontend into electron/frontend_build
|
||||
pnpm start
|
||||
```
|
||||
|
||||
4. **Access the app**:
|
||||
- Frontend: Open your browser and navigate to `http://localhost:4200`.
|
||||
- Backend API: Access the API at `http://localhost:3000`.
|
||||
5. **(Optional) Run the app with Electron**:
|
||||
- Follow the instructions in the `electron/README.md` to build and run the desktop app.
|
||||
See [`docs-vault/Electron.md`](docs-vault/Electron.md) for packaging. The Tauri version lives in `tauri/` on the `feat/tauri-app` branch (see its `tauri/README.md`).
|
||||
|
||||
## Acknowledgments
|
||||
### Docker
|
||||
|
||||
- Thanks to the Angular, Node.js, and Express communities for their amazing tools and libraries.
|
||||
- Special thanks to (mention any libraries or tools you used, e.g., TMDB API for movie data).
|
||||
`docker-compose up --build` starts MySQL, the backend (port 4000) and the **legacy Angular** frontend (port 3000). The React frontend isn't in Docker yet.
|
||||
|
||||
---
|
||||
|
||||
## Documentation
|
||||
|
||||
Detailed docs live in [`docs-vault/`](docs-vault/Index.md) — architecture, API reference, database models, TMDB integration, every page and feature, and known issues.
|
||||
|
||||
---
|
||||
|
||||
## Contact
|
||||
|
||||
For questions or feedback, feel free to reach out:
|
||||
- **Mohammed Abad**: [mohammedabad.me@gmail.com](mailto:mohammedabad.me@gmail.com)
|
||||
- **GitHub**: [X4Lo](https://github.com/X4Lo)
|
||||
- **Mohammed Abad**: [mohammedabad.me@gmail.com](mailto:mohammedabad.me@gmail.com)
|
||||
- **GitHub**: [X4Lo](https://github.com/X4Lo)
|
||||
|
||||
---
|
||||
|
||||
Enjoy managing your movies and series with **Showy**! 🎬🍿
|
||||
Data provided by [TMDB](https://www.themoviedb.org/). This product uses the TMDB API but is not endorsed or certified by TMDB.
|
||||
Reference in new issue
Block a user