Welcome to the official repository for thediscdb.com � a web-based cataloging tool designed to document the contents of physical movie discs (Blu-ray, UHD, and DVD). Built to complement MakeMKV, this site helps users identify and organize disc titles, chapters, and metadata.
To run the site locally, you'll need the following tools installed:
- Docker Desktop configured to run Linux containers
- Visual Studio 2022+ with ASP.NET and container development workloads
- .NET SDK 10.0
-
Clone the repositories
git clone https://github.com/TheDiscDb/web.git git clone https://github.com/TheDiscDb/data.gitThe data repository is used to seed the local database with items
-
Configure Database Migration
Edit
/code/TheDiscDb.DatabaseMigration/appsettings.jsonwith the path to your cloned data repo above. You can also theMaxItemsToImportPerMediaTypeto change the number of items that are seeded in the database. Note: Larger numbers will cause the site to startup to take longer the first time -
Open
/code/TheDiscDb.slnin Visual Studio -
With the
TheDiscDb.AppHostproject set as the startup project - start the project in Visual Studio. The first time you run it may take a while to start up while Aspire downloads containers and the database is seeded.
TODO: Provide a command line only way to clone and run the site
| Layer | Technology |
|---|---|
| Backend | ASP.NET Aspire (.NET 10.0) |
| Frontend | Blazor |
| IDE | Visual Studio |
Use the script below to capture repeatable homepage and infinite-scroll latency metrics before and after changes:
pwsh .\scripts\measure-homepage-performance.ps1 -BaseUrl https://localhost:7443It writes a timestamped JSON result under web\scripts\ and prints median/p95 timings for:
/,/movies,/seriesdocument fetches- GraphQL first-page fetch for movies and series
- GraphQL sequential paging (scroll simulation) for movies and series
To compare a new run against a prior baseline:
pwsh .\scripts\measure-homepage-performance.ps1 -BaseUrl https://localhost:7443 -CompareTo .\scripts\homepage-perf-YYYYMMDD-HHMMSS.jsonThis project is licensed under the MIT License. See the LICENSE file for details.
We welcome contributions! Feel free to:
- Fork the repository
- Submit pull requests
- Open issues for bugs or feature requests
Please follow our contribution guidelines if available.
For questions, feedback, or partnership inquiries, reach out via web@thediscdb.com.