Spoolman knows which filaments you have on the shelf, their colour, and, if you keep it in a custom field, their TD (transmission distance). HueForge needs the same list, with each filament marked as owned. This page reads Spoolman's export and writes a filament file in HueForge's format: one entry per filament that has at least one spool not archived, marked as owned, with its maker, name, material, colour and TD.
/api/v1/export/spools?fmt=json (for example http://192.168.1.20:7912/api/v1/export/spools?fmt=json). Your browser downloads spools.json.
Before you import. In HueForge, first save your current library with the Filaments menu, Export, so you can go back. Then use the Filaments menu, Import, and choose the downloaded file. This file has not been imported into HueForge yet. Its format is the one HueForge publishes for community filament libraries. The menu names above come from HueForge's public issue tracker and translation files, not from the program itself, and whether Import adds to your library or replaces it has not been checked. No warranty.
What goes into the file: for each filament, the maker (or "Unknown"), the name (or the colour code when Spoolman has no name), the material as Spoolman spells it, the first colour without any transparency value, the TD, "owned", and an id made from Spoolman's filament number, so the same filament gets the same id each time. Nothing else from your export is written: no locations, prices, weights, notes or dates. A filament without colour or material is left out and listed. With several colours, only the first is written.
Possible later tool: send the TD you measured back to Spoolman (3 USD, one time, not built).
It would read a HueForge filament file and fill the TD custom field of the matching filaments in Spoolman, so your inventory carries the values you measured. Nothing is charged now and no date is promised. If you want it, say so in a public comment on the issue below; there is no payment of any kind before I answer there.
Reads Spoolman's JSON export of spools or filaments. In a separate check outside this repository, the export was produced by Spoolman's own export code and converted; the page has not been tried in a real browser, no real export has been converted, and the file has not been imported into HueForge. If it does not work for you, an issue on the repo helps; please do not attach your real export, only the Spoolman and HueForge versions and the error shown. Not affiliated with Spoolman or HueForge; their names are used here only to say which files this reads and writes. Built with AI assistance, tested with automated tests, not reviewed line by line. No cookies, no browser storage, no analytics, no third-party code. MIT licensed, source on GitHub. Younes Z.