Repository navigation
Duckling 0.2.0
Security hardening and API rate limiting, a light theme, keyboard shortcuts, and a WCAG 2.1 A/AA accessibility pass, with documentation screenshots refreshed in both themes and all four languages.
Highlights
- Light theme with a header toggle; the choice is remembered, and the app follows the operating system until you choose
- Keyboard shortcuts for the main actions, with a help dialog (
?) and a switch to turn them off - Accessibility: WCAG 2.1 A/AA audit of the app in both themes, with the findings fixed (contrast, labels, status announcements, skip link, reflow at 320 px, reduced motion). See ACCESSIBILITY_AUDIT.md, including what it did not cover
- API rate limiting: per-client limits on all
/apiendpoints, tighter for conversions and heavy operations; limited requests get429 - Security hardening: SSRF protection for URL conversion rewritten, cross-origin writes rejected, Markdown preview sanitised, HTML preview sandboxed,
DEBUGoff by default, generated secret key, Docker Compose bound to127.0.0.1by default - Documentation panel follows the app theme, closes on Escape from inside the docs, and shows screenshots
- Docs: all screenshots recaptured in dark and light for English, German, Spanish and French
Upgrade notes
- Docker Compose now binds to
127.0.0.1; setDUCKLING_BIND_ADDRESS=0.0.0.0to expose the services - Placeholder
SECRET_KEYvalues are no longer accepted; without a real key the backend generates one in the data folder - Rate limits are configurable through
DUCKLING_RATELIMIT_*; setDUCKLING_TRUSTED_PROXIESwhen running behind a proxy - Batch endpoints accept at most 50 items per request (
DUCKLING_MAX_BATCH_ITEMS)
Notes
- PRs: #84, #85
- See CHANGELOG.md for full details