feat: importer IMVU accounts and settings from the console (#14)
Release / release (push) Successful in 4s
CI / test (push) Successful in 1m25s
CI / image (apps/api/Dockerfile, t5de-hub-api) (push) Successful in 6s
CI / image (apps/web/Dockerfile, t5de-hub-web) (push) Successful in 14s

Co-authored-by: dhkatz <[email protected]>
This commit was merged in pull request #14.
This commit is contained in:
dhkatz authored and dhkatz committed 2026-11-07 19:00:01 +00:00
1 parent 7ece681eef
commit e6a97be894
16 files changed
+5538 -13

No files matched your search

+8 -2
View File
@@ -63,7 +63,7 @@ for (const id of providers) {
}
const ageService = new AgeService(db, providers.map((id) => ageProviders[id]!()));
const { app, age, rooms, products, imports } = createApp({ db, auth, imvu, age: ageService, apiURL, webURL, settings });
const { app, age, rooms, products, imports, importers } = createApp({ db, auth, imvu, age: ageService, apiURL, webURL, settings });
app.listen({ port, hostname: env.HOST ?? "0.0.0.0" });
// Age answers that can change (IMVU's) are checked again when they expire, a few at a time; revisions missing their
@@ -90,5 +90,11 @@ const importRecheck = () =>
.recheck(200)
.then((r) => (r.queued || r.withdrawn.length) && console.log(`imports: ${r.queued} rechecks queued, ${r.withdrawn.length} withdrawn`))
.catch((e) => console.error("import rechecks:", e));
setInterval(importRecheck, 60 * 60 * 1000);
setInterval(() => {
importRecheck();
importers
.expireSealed()
.then((n) => n && console.log(`imports: ${n} sealed importer passwords expired`))
.catch((e) => console.error("importer passwords:", e));
}, 60 * 60 * 1000);
console.log(`t5de-hub API on ${apiURL} (website ${webURL})`);