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: 5 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: 2025-09-03T16:34:02.000Z (5 months ago)
- Last Synced: 2025-09-03T16:35:02.654Z (5 months ago)
- Topics: api, api-client, docs, http-client, openapi, openapi3, reference, rest-api, swagger, vue
- Language: Vue
- Homepage: https://scalar.com
- Size: 217 MB
- Stars: 11,882
- Watchers: 34
- Forks: 463
- Open Issues: 203
-
Metadata Files:
- Readme: README.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
xC0dex
antlio
hwkr
marclave
cameronrohani
DemonHa
geoffgscott
marcalexiei
tmastrom
inyourtime
bgrcs
gevann
federicobond
liamdscalar
ahmedrangel
matthyk
Amorim33
baywet
Mason-Little
ivanagas
adjsky
RemcoGoy
mpminardi
TheVaan
mcollina
si-net
nsychev
Mohib834
lc-soft
fuma-nama
Edgaraszs
ATREAY
ledgersteve
timheuer
ykdojo
x-delfino
horpto
jpjpjp
hex0id
yshrsmz
soulchild
SebastianBienert
mouhannad-sh
mason-at-pieces
luc122c
luke-hagar-sp
handrews
Duncanma
WDaan
gsmcdonald
MarioGK
hrynevychroman
rpmccarter
roryschadler
rmp135
mirismaili
STP5940
captainsafia
realsama
ventocis
SamyPesse
dotfortun
smoores-dev
soGit
Huliiiiii
not-my-profile
tinchoz49
MatteoH2O1999
maxehmookau
MaxBreida
mvt147
malinbranduse
Lazialize
Olexandr88
pkucmus
petercinibulk
philsturgeon
rhuanbarreto
rickihastings
robert-dean
rbange
unnoq
tsiwek-piwik
dunklesToast
stefanprobst
omerp-explorium
o-az
milksense
kwaichanz
g-airey
ga1az
FotieMConstant
danwithabox
WilliamBonvini
bsdayo
Chinlinlee
bingbeann
zakaria-shahen
rolldeep-stepmerrily
Wolf-Syndrome
wilcoschoneveld
rotciw
WesleySkeen
Ma-ve
Mai0313
Courtcircuits
rektdeckard
thibaultleouay
yokeTH
stratosblue
sinh117801
DmitriiKhudiakov
diegolopes
untiny
lundibundi
DavidNiessen
darekaze
danp
danjohnson95
damiansan239
ClanEver
chrislearn
chadwhitacre
carstenlebek
cactysman
Smyrcu
brunogrcsada
brianheineman
Borisich
bdpiprava
BenJeau
saithis
zsilbi
arthurfiorette
thisisarko
arashsheyda
sigpwned
gizero
alewin
slash686
ahmadi-akbar
MathurAditya724
abdulamite
ShadiestGoat
mrlubos
sanscontext
kyllian
KevSlashNull
jlnslv
IHIutch
jonataw
Jannchie
jwangnz
Jefwillems
Tholdrim
JacobCoffee
kevinand11
tltsutltsu
eltociear
IceyWu
iagobalmeida
hpmouton
CJHwong
HelgeSverre
Hamidrzash
255kb
GreyXor
galah92
Fdawgs
flovouin
filiabel
facus26
emmanuel-ferdman
elliott-with-the-longest-name-on-github
elliotnash