Rename app to h-player
This commit is contained in:
+6
-1
@@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.2.0 - 2026-09-15
|
||||||
|
|
||||||
|
- Renamed the project and user-facing app identity to `h-player`.
|
||||||
|
- Updated package metadata, browser title, sidebar brand, Basic Auth realm, Docker Compose service/container names, and documentation to reflect the official name.
|
||||||
|
|
||||||
## 1.1.1 - 2026-09-15
|
## 1.1.1 - 2026-09-15
|
||||||
|
|
||||||
- Matched the library list and poster treatment more closely to Kaizoku's web theme, using the same purple card gradients, hover states, and cover fallback styling.
|
- Matched the library list and poster treatment more closely to Kaizoku's web theme, using the same purple card gradients, hover states, and cover fallback styling.
|
||||||
@@ -7,5 +12,5 @@
|
|||||||
## 1.1.0 - 2026-09-15
|
## 1.1.0 - 2026-09-15
|
||||||
|
|
||||||
- Restyled the web UI to match Kaizoku's dark purple glass-panel design.
|
- Restyled the web UI to match Kaizoku's dark purple glass-panel design.
|
||||||
- Added a Kaizoku-branded sidebar shell, collection badge, rounded navigation controls, and redesigned detail panels.
|
- Added a Kaizoku-style sidebar shell, collection badge, rounded navigation controls, and redesigned detail panels.
|
||||||
- Changed the server to bind to `127.0.0.1` by default, with `HOST` available for explicit overrides.
|
- Changed the server to bind to `127.0.0.1` by default, with `HOST` available for explicit overrides.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Kaizoku-Styled Private Anime Library
|
# h-player
|
||||||
|
|
||||||
A small local web app for browsing a folder-based private video collection. The interface follows Kaizoku's dark purple glass-panel design, including the same card gradients, rounded controls, cover fallback treatment, and accent colors. The app remains a standalone private library browser and does not integrate with Plex, Jellyfin, Kodi, or any external metadata provider.
|
h-player is a small local web app for browsing a folder-based private video collection. The interface follows Kaizoku's dark purple glass-panel design, including the same card gradients, rounded controls, cover fallback treatment, and accent colors. The app remains a standalone private library browser and does not integrate with Plex, Jellyfin, Kodi, or any external metadata provider.
|
||||||
|
|
||||||
## Folder Layout
|
## Folder Layout
|
||||||
|
|
||||||
@@ -25,7 +25,9 @@ docker compose up --build
|
|||||||
|
|
||||||
Open http://localhost:3000.
|
Open http://localhost:3000.
|
||||||
|
|
||||||
The app binds to `127.0.0.1` by default, so it is only reachable from the same machine unless you explicitly set `HOST`. The compose file publishes the container on `127.0.0.1:3000`. Your library is mounted read-only, while metadata and generated thumbnails are saved in `./data`.
|
The app binds to `127.0.0.1` by default, so it is only reachable from the same machine unless you explicitly set `HOST`. The compose file publishes the container on `127.0.0.1:3000`. Your library is mounted read-only, while metadata and generated thumbnails are saved in `/data` inside the container.
|
||||||
|
|
||||||
|
The included compose file keeps the existing `/mnt/ssd2/docker_data/h-play` host data path so renaming the app to h-player does not hide metadata from an already-running instance. Move that directory yourself before changing the mount path.
|
||||||
|
|
||||||
To add a browser password prompt, uncomment `AUTH_USERNAME` and `AUTH_PASSWORD` in `docker-compose.yml`.
|
To add a browser password prompt, uncomment `AUTH_USERNAME` and `AUTH_PASSWORD` in `docker-compose.yml`.
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
private-library:
|
h-player:
|
||||||
build: .
|
build: .
|
||||||
container_name: private-library
|
container_name: h-player
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3000:3000"
|
- "127.0.0.1:3000:3000"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "private-anime-library",
|
"name": "h-player",
|
||||||
"version": "1.1.1",
|
"version": "1.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "A small private web app for browsing a folder-based video collection.",
|
"description": "A small private web app for browsing a folder-based video collection.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Kaizoku Library</title>
|
<title>h-player</title>
|
||||||
<link rel="stylesheet" href="/assets/styles.css">
|
<link rel="stylesheet" href="/assets/styles.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
<aside class="sidebar">
|
<aside class="sidebar">
|
||||||
<div class="topline">
|
<div class="topline">
|
||||||
<div class="brand-wrap">
|
<div class="brand-wrap">
|
||||||
<h1>Kaizoku</h1>
|
<h1>h-player</h1>
|
||||||
<p class="shell-note">Private anime library</p>
|
<p class="shell-note">Private anime library</p>
|
||||||
</div>
|
</div>
|
||||||
<span id="libraryBadge" class="badge">Library</span>
|
<span id="libraryBadge" class="badge">Library</span>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ function send(res, status, body, type = "application/json") {
|
|||||||
|
|
||||||
function unauthorized(res) {
|
function unauthorized(res) {
|
||||||
res.writeHead(401, {
|
res.writeHead(401, {
|
||||||
"www-authenticate": 'Basic realm="Private Library"',
|
"www-authenticate": 'Basic realm="h-player"',
|
||||||
"content-type": "text/plain; charset=utf-8",
|
"content-type": "text/plain; charset=utf-8",
|
||||||
"cache-control": "no-store"
|
"cache-control": "no-store"
|
||||||
});
|
});
|
||||||
@@ -474,7 +474,7 @@ ensureStorage()
|
|||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
server.listen(PORT, HOST, () => {
|
server.listen(PORT, HOST, () => {
|
||||||
console.log(`Private library listening on http://${HOST}:${PORT}`);
|
console.log(`h-player listening on http://${HOST}:${PORT}`);
|
||||||
console.log(`Library: ${LIBRARY_DIR}`);
|
console.log(`Library: ${LIBRARY_DIR}`);
|
||||||
console.log(`Database: ${DB_FILE}`);
|
console.log(`Database: ${DB_FILE}`);
|
||||||
if (AUTH_USERNAME || AUTH_PASSWORD) console.log("Basic authentication is enabled");
|
if (AUTH_USERNAME || AUTH_PASSWORD) console.log("Basic authentication is enabled");
|
||||||
|
|||||||
Reference in New Issue
Block a user