# scalar/scalar

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/scalar-scalar).**

13,979 stars · 747 forks · TypeScript · mit

## Links

- GitHub: https://github.com/scalar/scalar
- Homepage: https://scalar.com
- awesome-repositories: https://awesome-repositories.com/repository/scalar-scalar.md

## Topics

`api` `api-client` `docs` `http-client` `openapi` `openapi3` `reference` `rest-api` `swagger` `vue`

## Description

Scalar is a platform for building and managing API specifications, focusing on OpenAPI and AsyncAPI standards. It provides tools to generate interactive API references with embedded testing interfaces, create mock servers for pre-implementation testing, and build offline-first API clients that sync with backend frameworks. The platform also supports version upgrades of specifications to maintain compatibility and includes command-line utilities for local development and document management.

The project distinguishes itself through automated release workflows that generate changelogs and publish npm packages based on version changes. It offers SDK generation from API specs, CDN-based distribution of documentation with custom domain support, and security features for vulnerability reporting and triage. Scalar’s framework integrations allow developers to import specifications directly into code and render default documentation UIs for supported environments.

Scalar includes tools for converting API documents to Markdown and HTML formats, and it provides standardized example documents for both OpenAPI and AsyncAPI to aid in learning and testing. These capabilities extend to real-time HTTP request inspection and WebSocket communication validation through dedicated mirror servers.

The CLI tools enable local serving of API documentation, automatically refreshing when files change, and the project’s documentation covers integration with web frameworks and specification conversion workflows.

## Tags

### Development Tools & Productivity

- [API Specification Management Platforms](https://awesome-repositories.com/f/development-tools-productivity/api-specification-management-platforms.md) — Manages OpenAPI/AsyncAPI specs in a unified platform with interactive references and endpoint testing.
- [OpenAPI Configurations](https://awesome-repositories.com/f/development-tools-productivity/openapi-configurations.md) — Generates type-safe SDKs for API clients from OpenAPI/AsyncAPI specifications. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [Interactive API Reference Rendering](https://awesome-repositories.com/f/development-tools-productivity/openapi-configurations/interactive-api-reference-rendering.md) — A tool that converts OpenAPI/Swagger specifications into interactive documentation with embedded testing tools and code examples for multiple languages. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [Release Changelog Generators](https://awesome-repositories.com/f/development-tools-productivity/project-changelogs/release-changelog-generators.md) — Automates changelog generation from version changesets during package releases. ([source](https://github.com/scalar/scalar/blob/main/CHANGELOG.md))
- [API Specification UI Rendering](https://awesome-repositories.com/f/development-tools-productivity/openapi-configurations/api-specification-ui-rendering.md) — Renders interactive OpenAPI documentation UIs for web frameworks like Express or Koa. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [Pre-commit Hooks](https://awesome-repositories.com/f/development-tools-productivity/pre-commit-hooks.md) — Enforces code quality and structure via pre-commit hooks in local development workflows. ([source](https://github.com/scalar/scalar/blob/main/lefthook.yml))
- [AsyncAPI Example Generation](https://awesome-repositories.com/f/development-tools-productivity/api-documentation-generators/asyncapi-example-generation.md) — Generates AsyncAPI examples to validate event-driven API behavior and demonstrate specifications. ([source](https://github.com/scalar/scalar/blob/main/oss-pledge.json))
- [OpenAPI to Markdown Conversion](https://awesome-repositories.com/f/development-tools-productivity/markdown-documentation/openapi-to-markdown-conversion.md) — Converts OpenAPI documents to Markdown/HTML for full spec documentation and single operation exports. ([source](https://github.com/scalar/scalar/blob/main/packages/openapi-to-markdown/README.md))

### Web Development

- [API Client SDK Generators](https://awesome-repositories.com/f/web-development/api-client-sdk-generators.md) — Generates offline-first SDKs from OpenAPI/AsyncAPI specs for cross-platform API integration.
- [API Mocking Servers](https://awesome-repositories.com/f/web-development/api-mocking-servers.md) — Generates mock API servers from OpenAPI specs to simulate backend responses for frontend testing. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [AsyncAPI Example Validation](https://awesome-repositories.com/f/web-development/asyncapi-example-validation.md) — Validates standardized AsyncAPI examples to ensure correct event-driven API behavior.
- [Offline-First API Client with Sync](https://awesome-repositories.com/f/web-development/local-first-api-clients/offline-first-api-client-with-sync.md) — Builds API clients that function offline and sync with servers while supporting environment variables. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [Markdown API Documentation Hosting](https://awesome-repositories.com/f/web-development/web-api-frameworks/markdown-api-documentation-hosting.md) — Serves API Markdown documentation via web framework HTTP endpoints like /docs. ([source](https://github.com/scalar/scalar/blob/main/packages/openapi-to-markdown/README.md))

### Data & Databases

- [OpenAPI-to-API-Doc Converters](https://awesome-repositories.com/f/data-databases/openapi-processors/openapi-to-api-doc-converters.md) — Converts OpenAPI specifications to static Markdown and HTML for documentation delivery. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [OpenAPI Processors](https://awesome-repositories.com/f/data-databases/openapi-processors.md) — Provides tools for upgrading and maintaining compatibility of OpenAPI documents across versions.
- [OpenAPI/AsyncAPI Document Import](https://awesome-repositories.com/f/data-databases/openapi-processors/openapi-asyncapi-document-import.md) — Imports OpenAPI/AsyncAPI specs into projects as JavaScript objects or JSON/YAML strings via module systems. ([source](https://github.com/scalar/scalar/blob/main/packages/galaxy/README.md))
- [OpenAPI CLI Management Tools](https://awesome-repositories.com/f/data-databases/openapi-processors/openapi-cli-management-tools.md) — Offers command-line tools for managing OpenAPI documents including validation and version control. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [CLI Management Tools](https://awesome-repositories.com/f/data-databases/openapi-processors/cli-management-tools.md) — Manages OpenAPI documents via CLI with local serving, change watching, and format conversion capabilities.
- [OpenAPI/AsyncAPI Document Registry Access](https://awesome-repositories.com/f/data-databases/openapi-processors/openapi-asyncapi-document-registry-access.md) — Provides registry endpoints for fetching latest OpenAPI and AsyncAPI documents in JSON/YAML formats. ([source](https://github.com/scalar/scalar/blob/main/packages/galaxy/README.md))

### Testing & Quality Assurance

- [API and Network Testing](https://awesome-repositories.com/f/testing-quality-assurance/api-network-testing.md) — Combines interactive documentation generation with direct endpoint testing in a unified interface.
- [Test Configuration](https://awesome-repositories.com/f/testing-quality-assurance/general-testing-utilities/test-configuration.md) — Provides test configuration options to allow empty suites and disable watch mode for consistency. ([source](https://github.com/scalar/scalar/blob/main/vitest.config.ts))

### Security & Cryptography

- [Security Vulnerability Reporting](https://awesome-repositories.com/f/security-cryptography/security-vulnerability-reporting.md) — Manages security vulnerability reporting via email with triage, updates, and disclosure credits. ([source](https://github.com/scalar/scalar/blob/main/SECURITY.md))
- [API-Specific Vulnerability Reporting](https://awesome-repositories.com/f/security-cryptography/security-vulnerability-reporting/api-specific-vulnerability-reporting.md) — Tracks API-related security vulnerabilities with triage, updates, and credit for responsible disclosures.

### Software Engineering & Architecture

- [Specification Versioning](https://awesome-repositories.com/f/software-engineering-architecture/specification-versioning.md) — Manages API specification version history to maintain compatibility across API lifecycles.
- [Framework-Specific Integrations](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/framework-specific-integrations.md) — Provides framework-specific example documentation for testing and learning API specs without project coupling. ([source](https://github.com/scalar/scalar/tree/main/integrations))

### Content Management & Publishing

- [Documentation Hosting](https://awesome-repositories.com/f/content-management-publishing/documentation-knowledge-management/documentation-hosting.md) — Hosts API documentation with custom domain and SSL support for team collaboration. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [Publishing Toolchains](https://awesome-repositories.com/f/content-management-publishing/static-site-document-generators/static-site-generators/publishing-toolchains.md) — Automates npm publishing workflows by tracking changesets in merged pull requests. ([source](https://github.com/scalar/scalar/blob/main/RELEASE.md))
- [API Documentation Hosting with CDN](https://awesome-repositories.com/f/content-management-publishing/api-documentation-hosting-with-cdn.md) — Hosts API documentation via CDN with custom domains and SSL for fast, secure access.

### DevOps & Infrastructure

- [CDN Deployment Integrations](https://awesome-repositories.com/f/devops-infrastructure/cdn-deployment-integrations.md) — Automates CDN deployment workflows for OpenAPI/AsyncAPI documentation assets. ([source](https://github.com/scalar/scalar/blob/main/packages/galaxy/README.md))

### Education & Learning Resources

- [Documentation Examples](https://awesome-repositories.com/f/education-learning-resources/documentation-examples.md) — Provides pre-built OpenAPI and AsyncAPI example documents for testing and learning purposes. ([source](https://github.com/scalar/scalar/blob/main/CITATION.cff))
- [OpenAPI/AsyncAPI Specification Learning](https://awesome-repositories.com/f/education-learning-resources/documentation-examples/openapi-asyncapi-specification-learning.md) — Creates testable examples in both OpenAPI and AsyncAPI to validate and learn specification formats. ([source](https://github.com/scalar/scalar/blob/main/turbo.json))
- [OpenAPI Example Document Generation](https://awesome-repositories.com/f/education-learning-resources/documentation-usage-examples/openapi-example-document-generation.md) — Produces OpenAPI test documentation to validate API behavior and demonstrate specification usage. ([source](https://github.com/scalar/scalar/blob/main/oss-pledge.json))
- [OpenAPI/AsyncAPI Example Generation](https://awesome-repositories.com/f/education-learning-resources/documentation-examples/openapi-asyncapi-example-generation.md) — Generates standardized examples for OpenAPI and AsyncAPI to test and learn specifications. ([source](https://github.com/scalar/scalar/blob/main/AGENTS.md))
- [OpenAPI/AsyncAPI Example Repositories](https://awesome-repositories.com/f/education-learning-resources/openapi-asyncapi-example-repositories.md) — Supplies OpenAPI/AsyncAPI example specs for testing API tools and understanding format structures. ([source](https://github.com/scalar/scalar/blob/main/packages/galaxy/README.md))

### Networking & Communication

- [API Integrations](https://awesome-repositories.com/f/networking-communication/api-integration-frameworks/api-management-integration/api-integrations.md) — Supports API development by generating framework-compatible components from OpenAPI/AsyncAPI specifications. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [HTTP Request Mirror Servers](https://awesome-repositories.com/f/networking-communication/http-request-utilities/http-request-mirror-servers.md) — Implements HTTP request mirroring to test and inspect API interactions during development. ([source](https://github.com/scalar/scalar/blob/main/packages/void-server/README.md))
- [HTTP Request Reflection for Testing](https://awesome-repositories.com/f/networking-communication/http-clients/http-servers/http-request-reflection-for-testing.md) — Reflects HTTP requests to clients for testing and debugging API specifications in real-time scenarios. ([source](https://github.com/scalar/scalar/blob/main/README.md))
- [Echo Servers](https://awesome-repositories.com/f/networking-communication/echo-servers.md) — Deploys WebSocket echo servers to test bidirectional message passing with text and binary frame support. ([source](https://github.com/scalar/scalar/blob/main/packages/void-server/README.md))

### User Interface & Experience

- [API Specification](https://awesome-repositories.com/f/user-interface-experience/layout-utilities/presentation-engines/template-engines/configuration-and-integration/custom-template-integrations/generation-templates/api-specification.md) — Offers templates for generating sample OpenAPI and AsyncAPI specifications with standard structures. ([source](https://github.com/scalar/scalar/blob/main/biome.json))

### Business & Productivity Software

- [Document Serving](https://awesome-repositories.com/f/business-productivity-software/document-digitization-tools/document-serving.md) — Serves OpenAPI documents locally via CLI with live file change detection and automatic refresh. ([source](https://github.com/scalar/scalar/blob/main/packages/galaxy/README.md))
