{"slug": "svelte-ui-library-looking-for-feedback-and-users", "title": "Svelte UI library – looking for feedback and users", "summary": "A developer released a Svelte UI library of 58 components for apps and AI interfaces, installable via CLI or by pointing a coding agent at the docs, with colors, fonts, radius, and motion set through one theme. The same post documents adding per-key rate limits to a public API: each API key gets 100 requests per minute via a Redis sliding window placed after the authenticate middleware, returning a 429 with retry guidance when exceeded, with bun test api passing including 4 new limiter tests.", "body_md": "58 Svelte components for apps and AI interfaces. Set colors, fonts, radius, and motion in one theme. Install with the CLI, or point your coding agent at the docs.\n\nAdd per-key rate limits to the public API. 100 requests a\nminute, and return a proper 429 when a client goes over.\n\nSearched twice, read 3 files1.9s\n\nEvery request passes through authenticate, so the limiter sits right after it and keys on the API key. It uses a sliding window in Redis, so a client cannot burst across a minute boundary.\n\nsrc/app.ts+3−1\n\n99 .use(authenticate)\n\n10+ .use(rateLimit({ limit: 100, window: \"1m\" }))\n\n10− .route(\"/v1\", routes);\n\n11+ .route(\"/v1\", routes)\n\n12+ .onError(rateLimitErrors);\n\nCreated 2 files, ran 1 command3.2s\n\nEach API key now gets 100 requests per minute. Over the limit, the API returns 429 and tells the client when to retry.\n\nbun test api passes, including 4 new limiter tests.", "url": "https://wpnews.pro/news/svelte-ui-library-looking-for-feedback-and-users", "canonical_source": "https://www.sivir.dev/", "published_at": "2026-10-04 08:04:07+00:00", "updated_at": "2026-10-04 08:11:46.643225+00:00", "lang": "en", "topics": ["ai-products", "developer-tools", "ai-tools"], "entities": ["Svelte", "Redis", "bun"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/svelte-ui-library-looking-for-feedback-and-users", "markdown": "https://wpnews.pro/news/svelte-ui-library-looking-for-feedback-and-users.md", "text": "https://wpnews.pro/news/svelte-ui-library-looking-for-feedback-and-users.txt", "jsonld": "https://wpnews.pro/news/svelte-ui-library-looking-for-feedback-and-users.jsonld"}}