feat: Add web server and UI for category tree display, and update picture syncer to use AVIF format.

This commit is contained in:
sebseb7
2025-11-23 10:01:51 +01:00
parent 4c4ef37e40
commit 729d056618
5 changed files with 295 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
import categorySyncer from './category-syncer.js';
import pictureSyncer from './picture-syncer.js';
import { startServer } from './server.js';
categorySyncer.on('synced', async ({ tree, unprunedTree, changed }) => {
if (changed) {
@@ -44,3 +45,6 @@ if (process.stdout.isTTY) {
process.exit(0);
});
}
// Start Express server
startServer();