The image server is currently broken, I recommend not generating cover-images, deleting all files in I've created a simple upscaling algorithm, so cover-images should now work, and I re-enabled the genaration logic. Tiny images will hovever not look quite as good as before, and if the server ever is updated fully, I will change it back.images/videos
, and running UPDATE VIDEO SET COVER = NULL
on the database to prevent issues. I have disabled the generation logic from the browser, but if you still want to do it, you can clone this repo and revert the last change.
- Modern Web Browser
- Browser resolution set to 1920x1080 (sotf-requirement)
- This should not be an issue any more
- Yarn package manger
- Database (preferable mariaDB)
- host
- username
- password
- database
- Docker application (eg. Docker Desktop)
Any setting ending with *
is required
Keyword | Description |
---|---|
DATABASE_URL* | The database URL for your chosen database |
NEXT_PUBLIC_DB_ADMIN | The url for the DB-link in the navbar (default=/db ) |
NEXT_PUBLIC_THUMBNAILS | Weather generated thumbnails should be used (default=false ) |
NEXT_PUBLIC_USER_THUMB | Weather window should be closed after a thumbnail has been created (default=false ) |
THUMBNAIL_RES | The height used for thumbnails (default=290 ) |
THEPORNDB_API | The API-KEY used, for getting data |
PORT* | Only required for docker. The port used for the application (default=3000 ) |
PATH* | Only docker. The path to map to app/media (this directory should contain a videos -directory) |
Map the required path, port, and variables, see the table above
Add a videos
-directory inside a media
-directory in the root
-directory, and place all your videos within the videos
-directory
sample.env
can be found in the root-directory, just rename it to .env
, and change the data of the file.
Change any required/optional variables see the table above
Run the following command to generate your database structure
yarn prisma db push
Start the docker container
Run the following command
yarn build && yarn start
Status of functionality can be found at features.md
Resolution | Attributes / Locations / Categories |
---|---|
1080p | 0-18 |
1440p | 19-37 |
2160p | 38+ |