Scalar: a modern Swagger UI / Redoc alternative reddit / selfhosted ---------------------------------------------------------------------- neat · 2023-12-28 22:15 Repo URL: [https://github.com/scalar/scalar](https://github.com/scalar/scalar) Demo URL: [https://docs.scalar.com/swagger- editor](https://docs.scalar.com/swagger-editor) Hey /r/selfhosted I'm building Scalar: a modern Swagger UI / Redoc alternative [scalar demo](https://preview.redd.it/0is9j01ix39c1.png?width=1718&for mat=png&auto=webp&s=03b872057181645e6436ac27e1ab4491a993d1e8) Here a breakdown of some of my favourite features: **Customizable**: Bring your own brand. Change colour schemes / fonts with easy access to all our CSS variables. [prebuilt purple theme with petstore](https://preview.redd.it/o30ivuy1 y39c1.png?width=1718&format=png&auto=webp&s=95bc6518fdec2decf8f514c52f f874dede9b56fc) [custom theme we built for elysiaJS](https://preview.redd.it/bqgswa6ny 39c1.png?width=1718&format=png&auto=webp&s=fad630c7b4fd8010ba9c59ba91b a9ca59ef8ef30) **Built in Rest API Client:** Test API endpoints directly in the references with a sleek modern lightweight API Client [lightweight API Client ](https://preview.redd.it/jfhla54iz39c1.png?wi dth=1718&format=png&auto=webp&s=82b06aba971788bc03ab1192d8a9c81df39eda 5c) **Built in Search:** Powered by fuse.js search your references in real time [search endpoints, models, or any keywords](https://preview.redd.it/13 8mmdlvz39c1.png?width=1718&format=png&auto=webp&s=af5c004b5ce895b3917d dcdf11f33bd43cbf874c) \+ many more features such as : * Integrations with Vue, React, CDN, Fastify, Hono, Express, NestJS and soon to be many more * Day mode / Night mode * Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 * Code samples to show off your API in most popular languages * Free hosting with an \*.apidocumentation .com subdomain We're just getting started and have a lot of cool stuff planned for 2024! If any of you have any feature requests, help, or even if you just want us to make you your own custom theme don't hesitate to reach out! Hope everyone is having a fantastic month :) ---------------------------------------------------------------------- jogai-san · 2023-12-29 08:27 That looks really neat (see...). The only thing is that I would prefer it as a plugin for vite like https://github.com/webfansplz/vite- plugin-vue-devtools/tree/main does, because I dont want to ship it with my build. ---------------------------------------------------------------------- neat · 2023-12-29 18:33 Oh interesting, so you’d only want to see the references in dev mode? I’ll open a ticket cause that’s an interesting integration!