Skip to content

Choose a tag to compare

@andresribeiro andresribeiro released this 22 Nov 17:05

Major changes

  • Optional API key — set API_KEY to require Authorization: Bearer <key>
    or X-API-Key: <key> on POST /classify. Authentication is off by default.
  • New GET /status endpoint — returns 200 { "ok": true } for health
    checks and stays public.
  • Better error handling - POST /classify returns 400 instead of 500 when image decoding fails (thanks @Migushthe2nd, #11).
  • Lower memory usage: Memory footprint is now under 200 MB of RAM.
  • Node.js 26 runtime — replaced Deno with Node.js 26 due to Deno being put into maintenance mode.

Dependencies

  • nsfwjs 4.3.0 → 4.4.0
  • sharp 0.34.5 → 0.35.5
  • hono 4.13.20, @logtape/logtape 2.4.2, @tensorflow/tfjs-node 4.22.0