https://github.com/scalar/scalar
Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support
https://github.com/scalar/scalar
api api-client docs http-client openapi openapi3 reference rest-api swagger vue
Last synced: 4 days ago
JSON representation
Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support
- Host: GitHub
- URL: https://github.com/scalar/scalar
- Owner: scalar
- License: mit
- Created: 2023-08-16T13:42:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-12T19:48:18.000Z (22 days ago)
- Last Synced: 2026-02-12T19:54:24.929Z (22 days ago)
- Topics: api, api-client, docs, http-client, openapi, openapi3, reference, rest-api, swagger, vue
- Language: TypeScript
- Homepage: https://scalar.com
- Size: 250 MB
- Stars: 13,849
- Watchers: 33
- Forks: 733
- Open Issues: 178
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-documentation - Scalar - Generate interactive API documentations from Swagger files. (Documentation Types / API Documentation)
- awesome-microservices - Scalar - Open-source API platform: beautiful API references and 1st-class OpenAPI/Swagger support. (Web API Modeling & Documentation / REST)
- awesome-github-repos - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References (TypeScript)
- awesome - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support (TypeScript)
- jimsghstars - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References (TypeScript)
- fucking-awesome-microservices - Scalar - Open-source API platform: beautiful API references and 1st-class OpenAPI/Swagger support. (Web API Modeling & Documentation / REST)
- awesome - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support (<a name="TypeScript"></a>TypeScript)
README
[](https://github.com/scalar/scalar/actions/workflows/ci.yml)
[](https://github.com/scalar/scalar/graphs/contributors)
[](https://github.com/scalar/scalar/blob/main/LICENSE)
[](https://x.com/scalar)
[](https://discord.gg/scalar)
Scalar
### Interactive API Reference from OpenAPI/Swagger
└ Renders OpenAPI/Swagger documents
└ Comes with an API testing tool
└ Doesn't look like 2011
└ Generates code examples for many languages & frameworks
└ Integrates with your favorite framework
└ Try Demo
### An offline-first API Client built for OpenAPI
└ Free and open-source
└ First-class OpenAPI/Swagger support
└ Integrates with dozens of API Frameworks (Elysia, Hono, FastAPI, etc)
└ Syncs with your favorite server framework (Watch Mode)
└ Has environment variables, dynamic parameters and everything
└ Try It in the Browser
└ Download (Windows, MacOS, Linux)
### Trusted by:
### Quickstart
All you need is a single HTML file to create an amazing API reference:
```html
Scalar API Reference
Scalar.createApiReference('#app', {
// The URL of the OpenAPI/Swagger document
url: 'https://registry.scalar.com/@scalar/apis/galaxy?format=json',
// Avoid CORS issues
proxyUrl: 'https://proxy.scalar.com',
})
```
> Need a Custom Header? Check out this example: https://codepen.io/scalarorg/pen/VwOXqam
And there's an ever-growing list of plugins and integrations:
### Integrations
- [HTML/JS API](https://scalar.com/products/api-references/integrations/html-js) (works everywhere)
- [.NET ASP.NET Core](https://scalar.com/products/api-references/integrations/aspnetcore/integration)
- [.NET Aspire](https://scalar.com/products/api-references/integrations/aspire)
- [AdonisJS](https://scalar.com/products/api-references/integrations/adonisjs)
- [Astro](https://scalar.com/products/api-references/integrations/astro)
- [Django Ninja](https://scalar.com/products/api-references/integrations/django-ninja)
- [Django](https://scalar.com/products/api-references/integrations/django)
- [Docker](https://scalar.com/products/api-references/integrations/docker)
- [Docusaurus](https://scalar.com/products/api-references/integrations/docusaurus)
- [Elixir](https://scalar.com/products/api-references/integrations/elixir)
- [Express](https://scalar.com/products/api-references/integrations/express)
- [FastAPI](https://scalar.com/products/api-references/integrations/fastapi)
- [Fastify](https://scalar.com/products/api-references/integrations/fastify)
- [Flask](https://scalar.com/products/api-references/integrations/flask)
- [Go](https://scalar.com/products/api-references/integrations/go)
- [Hapi](https://scalar.com/products/api-references/integrations/hapi)
- [Hono](https://scalar.com/products/api-references/integrations/hono)
- [Laravel Scribe](https://scalar.com/products/api-references/integrations/laravel-scribe)
- [Laravel](https://scalar.com/products/api-references/integrations/laravel)
- [Micronaut](https://scalar.com/products/api-references/integrations/micronaut)
- [NestJS](https://scalar.com/products/api-references/integrations/nestjs)
- [Next.js](https://scalar.com/products/api-references/integrations/nextjs)
- [Nuxt](https://scalar.com/products/api-references/integrations/nuxt)
- [Python](https://scalar.com/products/api-references/integrations/python)
- [React](https://scalar.com/products/api-references/integrations/react)
- [Ruby on Rails](https://scalar.com/products/api-references/integrations/ruby-on-rails)
- [Rust](https://scalar.com/products/api-references/integrations/rust)
- [Spring Boot](https://scalar.com/products/api-references/integrations/spring-boot)
- [SvelteKit](https://scalar.com/products/api-references/integrations/sveltekit)
- [Ts.ED](https://scalar.com/products/api-references/integrations/tsed)
- [Vue.js](https://scalar.com/products/api-references/integrations/vue)
### Built-in Support
The following frameworks have chosen Scalar API Reference as their default OpenAPI documentation UI, recognizing its developer-friendly features and modern design:
- [Effect](https://scalar.com/products/api-references/integrations/effect)
- [ElysiaJS](https://scalar.com/products/api-references/integrations/elysiajs)
- [HappyX](https://github.com/HapticX/happyx)
- [Litestar](https://docs.litestar.dev/latest/usage/openapi/ui_plugins.html)
- [Nitro](https://scalar.com/products/api-references/integrations/nitro)
- [oRPC](https://orpc.unnoq.com/docs/openapi/plugins/openapi-reference)
- [Platformatic](https://scalar.com/products/api-references/integrations/platformatic)
### Managed Hosting
We're offering a free and paid managed hosting on the edge, too:
- Write your API documentation and publish API references (free)
- `YOUR_NAME_HERE.apidocumentation.com` subdomain and SSL (free)
- [GitHub Sync](https://scalar.com/products/docs/github-sync)
- Write free-form documentation
- Collaborate with your team
- Use any domain
Ready? [Create your Scalar Account](https://scalar.com)
### Documentation
| Topic | Description |
| ------------------------------------------------------------------------- | ------------------------------------ |
| [Configuration](https://scalar.com/products/api-references/configuration) | The universal configuration object |
| [Themes](https://scalar.com/products/api-references/themes) | Predefined themes, layouts & styling |
| [OpenAPI](https://scalar.com/products/api-references/openapi) | OpenAPI specification extensions |
| [Markdown](https://scalar.com/products/api-references/markdown) | Supported Markdown syntax |
| [Plugins](https://scalar.com/products/api-references/plugins) | Extend the functionality |
### Projects
| Project | Description |
| ---------------------------------------------------------------------------------- | -------------------------------- |
| [Scalar API Reference](https://scalar.com/products/api-references/getting-started) | Self-hosted API Reference |
| [Scalar API Client](https://scalar.com/download) | Postman alternative |
| [Scalar Registry](https://scalar.com/products/registry/getting-started) | Manage OpenAPI documents |
| [Scalar Docs](https://scalar.com/products/docs/getting-started) | Hosted documentation |
| [Scalar Docs Starter](https://github.com/scalar/starter) | Starter template for Scalar Docs |
| [Scalar SDKs](https://scalar.com/products/sdks/getting-started) | SDK generation |
| [Scalar CLI](https://scalar.com/tools/cli/getting-started) | Command-line interface |
| [Scalar Mock Server](https://scalar.com/products/mock-server/getting-started) | Mock APIs from OpenAPI documents |
| [Scalar Galaxy](packages/galaxy/README.md) | Our OpenAPI Example |
| [Scalar Editor](https://editor.scalar.com/) | OpenAPI Online Editor |
| [Scalar OpenAPI Parser](packages/openapi-parser/README.md) | Parse OpenAPI documents |
| [Scalar OpenAPI to Markdown](packages/openapi-to-markdown/README.md) | OpenAPI > Markdown/HTML |
| [Scalar OpenAPI Upgrader](packages/openapi-upgrader/README.md) | Upgrade OpenAPI documents |
| [Scalar Void Server](packages/void-server/README.md) | HTTP Request Mirror |
### Community
We are API nerds. You too? Let's chat on Discord:
### Contributions
Contributions are welcome! Read the [`CONTRIBUTING`](CONTRIBUTING.md) guide.
**Top 10 Contributors (April 2025)**
**Top Contributors (All Time)**
hanspagel
amritk
bgrcs
xC0dex
liamdscalar
antlio
hwkr
marclave
cameronrohani
DemonHa
geoffgscott
marcalexiei
tmastrom
inyourtime
gevann
federicobond
ahmedrangel
matthyk
Amorim33
baywet
Mason-Little
ivanagas
adjsky
RemcoGoy
mpminardi
TheVaan
mcollina
si-net
nsychev
Mohib834
lc-soft
wilhelmer
fuma-nama
Edgaraszs
ATREAY
ledgersteve
timheuer
wilcoschoneveld
ykdojo
x-delfino
horpto
jpjpjp
hex0id
yshrsmz
soulchild
Duncanma
gsmcdonald
WDaan
handrews
luke-hagar-sp
luc122c
mason-at-pieces
SebastianBienert
mouhannad-sh
PrinceManfred
MarioGK
bobheadxi
rbange
hrynevychroman
rpmccarter
roryschadler
rmp135
mirismaili
STP5940
captainsafia
realsama
ventocis
SamyPesse
dotfortun
smoores-dev
soGit
not-my-profile
tinchoz49
MatteoH2O1999
maxehmookau
MaxBreida
mvt147
michielbdejong
1571min
malinbranduse
Lazialize
Olexandr88
pkucmus
petercinibulk
philsturgeon
rhuanbarreto
rickihastings
robert-dean
sinh117801
bsdayo
WilliamBonvini
cobyfrombrooklyn-bot
danwithabox
FotieMConstant
ga1az
g-airey
kwaichanz
milksense
o-az
omerp-explorium
stefanprobst
dunklesToast
tsiwek-piwik
unnoq
Huliiiiii
stratosblue
yokeTH
thibaultleouay
thijskok
TomzBench
rektdeckard
Courtcircuits
Mai0313
Ma-ve
WesleySkeen
rotciw
Wolf-Syndrome
rolldeep-stepmerrily
zakaria-shahen
bingbeann
Chinlinlee
abdulamite
cactysman
foxfriends
carstenlebek
chadwhitacre
chrislearn
jensenbox
ClanEver
damiansan239
danjohnson95
danp
darekaze
DavidNiessen
lundibundi
untiny
diegolopes
DmitriiKhudiakov
elliotnash
MathurAditya724
ahmadi-akbar
slash686
alewin
gizero
sigpwned
arashsheyda
thisisarko
arthurfiorette
zsilbi
saithis
BenJeau
bdpiprava
Borisich
brianheineman
brunogrcsada
Smyrcu
kevinand11
JacobCoffee
Tholdrim
Jefwillems
jqwn
Jannchie
jonataw
IHIutch
jlnslv
kaigritun
KevSlashNull
kou029w
krcm0209
kyllian
sanscontext
mrlubos
ShadiestGoat
elliott-with-the-longest-name-on-github
emmanuel-ferdman
facus26
filiabel
flovouin
Fdawgs
galah92
GreyXor
255kb
Hamidrzash
HelgeSverre
CJHwong
hpmouton
iagobalmeida
IceyWu
eltociear
tltsutltsu