The importer from t5de-hub's docs/imports.md, first version: it imports general-rated products, which need no IMVU account.
What it does
Setup: it's configured with HUB_URL, CATALOG_ID, IMPORTER_KEY and IMPORTER_DATA. Everything else comes from the console: pausing, requests a second to IMVU, jobs at a time, and the IMVU accounts.
Key pair: made on first start (RSA 3072) and sent with hello. Account passwords sealed for it are checked to open and to belong to the account they're for, kept still sealed in accounts.json, then reported received, so the hub drops its copy. Passwords that don't open are reported needs_password. Accounts the hub no longer lists are forgotten.
Jobs: each job finds the product's newest revision on IMVU's CDN, probing from the last imported one and stopping after 3 missing in a row. Then it:
swaps placeholders for the originals named in _contents.json, fetches files kept only on the CDN, and drops _contents.json
sets ProductRating from IMVU's rating
checks the result by t5de-api's pack rules
uploads it as a .chkn with a t5de-import token; the catalog registers it and the hub marks the job done
Other outcomes: no newer revision is reported unchanged. A product whose rating the hub doesn't know fails with that reason, before any request to IMVU (Access Pass products need an IMVU account).
Rate: one rate limit is shared by all jobs, at the console's setting.
Repo setup: a Dockerfile (distroless) and CI, PR-title and release workflows copied from t5de-catalog. CLAUDE.md and README.md included.
Depends on
t5de-api PR #1 (LZMA). go.mod pins its branch commit for now; I'll repin it to main once that's merged.
t5de-hub PR #19 (claims carry IMVU's rating). Without it every job fails, for lack of a rating.
Not yet
Signing in to IMVU with the accounts (Access Pass products) and reporting what they see to the hub.
Branch protection and release-bot for this repo in dhkatz/infra (modules/app-repo), and deploying it.
Checks
Tests (fake hub, catalog and CDN; product files made in code):
conversion and ratings
the key pair and sealed passwords
revision probing and the rate limiter
a whole run: import, adult, unchanged, unknown rating, not on the CDN
accounts and pausing
a refused key
Live run: against the scratch hub (with #19), a local t5de-catalog and IMVU's real CDN. In about 90 seconds it imported 7 of NellLuna's products with no failures. Fetched back from the catalog, one product has its full-size textures, its parent (5297582) and ProductRating GA, and the hub shows it published under her unclaimed creator.
The importer from t5de-hub's `docs/imports.md`, first version: it imports general-rated products, which need no IMVU account.
**What it does**
- **Setup:** it's configured with `HUB_URL`, `CATALOG_ID`, `IMPORTER_KEY` and `IMPORTER_DATA`. Everything else comes from the console: pausing, requests a second to IMVU, jobs at a time, and the IMVU accounts.
- **Key pair:** made on first start (RSA 3072) and sent with `hello`. Account passwords sealed for it are checked to open and to belong to the account they're for, kept still sealed in `accounts.json`, then reported `received`, so the hub drops its copy. Passwords that don't open are reported `needs_password`. Accounts the hub no longer lists are forgotten.
- **Jobs:** each job finds the product's newest revision on IMVU's CDN, probing from the last imported one and stopping after 3 missing in a row. Then it:
- downloads the CFL (LZMA, via t5de-api PR #1)
- swaps placeholders for the originals named in `_contents.json`, fetches files kept only on the CDN, and drops `_contents.json`
- sets `ProductRating` from IMVU's rating
- checks the result by t5de-api's `pack` rules
- uploads it as a `.chkn` with a `t5de-import` token; the catalog registers it and the hub marks the job done
- **Other outcomes:** no newer revision is reported `unchanged`. A product whose rating the hub doesn't know fails with that reason, before any request to IMVU (Access Pass products need an IMVU account).
- **Rate:** one rate limit is shared by all jobs, at the console's setting.
- **Repo setup:** a Dockerfile (distroless) and CI, PR-title and release workflows copied from t5de-catalog. CLAUDE.md and README.md included.
**Depends on**
- t5de-api PR #1 (LZMA). `go.mod` pins its branch commit for now; I'll repin it to main once that's merged.
- t5de-hub PR #19 (claims carry IMVU's rating). Without it every job fails, for lack of a rating.
**Not yet**
- Signing in to IMVU with the accounts (Access Pass products) and reporting what they see to the hub.
- Branch protection and release-bot for this repo in dhkatz/infra (`modules/app-repo`), and deploying it.
**Checks**
- **Tests** (fake hub, catalog and CDN; product files made in code):
- conversion and ratings
- the key pair and sealed passwords
- revision probing and the rate limiter
- a whole run: import, adult, unchanged, unknown rating, not on the CDN
- accounts and pausing
- a refused key
- **Live run:** against the scratch hub (with #19), a local t5de-catalog and IMVU's real CDN. In about 90 seconds it imported 7 of NellLuna's products with no failures. Fetched back from the catalog, one product has its full-size textures, its parent (5297582) and `ProductRating` GA, and the hub shows it published under her unclaimed creator.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The importer from t5de-hub's docs/imports.md: says hello to the hub with its key pair, follows the console's config
(paused, rate, jobs at a time, IMVU accounts, whose sealed passwords it keeps), claims jobs, finds each product's
newest revision on IMVU's CDN, converts it (originals for placeholders, no _contents.json, ProductRating from IMVU's
rating), checks it by t5de-api's pack rules and uploads it to the catalog with an import token.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
dhkatz
merged commit 422dace4e7 into main2026-11-08 14:38:21 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The importer from t5de-hub's
docs/imports.md, first version: it imports general-rated products, which need no IMVU account.What it does
HUB_URL,CATALOG_ID,IMPORTER_KEYandIMPORTER_DATA. Everything else comes from the console: pausing, requests a second to IMVU, jobs at a time, and the IMVU accounts.hello. Account passwords sealed for it are checked to open and to belong to the account they're for, kept still sealed inaccounts.json, then reportedreceived, so the hub drops its copy. Passwords that don't open are reportedneeds_password. Accounts the hub no longer lists are forgotten._contents.json, fetches files kept only on the CDN, and drops_contents.jsonProductRatingfrom IMVU's ratingpackrules.chknwith at5de-importtoken; the catalog registers it and the hub marks the job doneunchanged. A product whose rating the hub doesn't know fails with that reason, before any request to IMVU (Access Pass products need an IMVU account).Depends on
go.modpins its branch commit for now; I'll repin it to main once that's merged.Not yet
modules/app-repo), and deploying it.Checks
ProductRatingGA, and the hub shows it published under her unclaimed creator.🤖 Generated with Claude Code