AsyncAPI specification website
This repository contains the sources of AsyncAPI website:
Use the following tools to set up the project:
Icons used across the AsyncAPI website are part of the AsyncAPI design system. All icons follow a 24px grid, 1.5px stroke outline style. To find and use icons:
Open the AsyncAPI design system Figma file
Right-click any icon → Copy as → SVG
Paste inline in your component
For the full icon audit, style rules, and contribution guidelines see the Icon System documentation.
Fork the repository by clicking on Fork option on top right of the main repository.
Open Command Prompt on your local computer.
Clone the forked repository by adding your own GitHub username in place of ``. For multiple contributions it is recommended to have proper configuration of forked repo.
git clone https://github.com//website/ cd website npm install npm run devAccess the live development server at localhost:3000.
To run the storybook locally:
npm run dev:storybookTo bootstrap a new post, run this command:
npm run write:blogFollow the interactive prompt to generate a post with pre-filled front matter.
In order to prepare and spin up a Gitpod dev environment for our project, we configured our workspace through a .gitpod.yml file.
To spin up a Gitpod codespace, go to http://gitpod.io/#https://github.com/asyncapi/website.
npm run buildGenerated files of the website go to the .next folder.
npm run build:storybookGenerated files of the storybook go to the storybook-static folder.
After cloning repository to your local, run the docker compose in watch mode from the root of the repository.
docker compose up --watchNow you're running AsyncAPI website in a development mode. Container is mapped with your local copy of the website. Whenever you make changes to the code, the website will refresh and changes visible in localhost:3000.
To minimize the duplication of content and make it easier to maintain, there are shared fragments you can use when working with Markdown files. These fragments are stored in the /assets/docs/fragments directory.
To include a fragment in a Markdown file:
Import the fragment at the top of the file (but below the frontmatter) using the following syntax:
import DesiredFragmentName from '@/assets/docs/fragments/fragmentYouWantToImport.md';Add the imported fragment to the desired location in the Markdown file using the following syntax:
To lint the code, run the following command:
npm run lintTo fix the linting issues, run the following command:
npm run lint:fixTo lint the mdx files, run the following command:
npm run lint:mdxTo build and run a production-ready website, run the following command:
npm run build && npm run startGenerated files of the website go in the .next folder.
Start a local development server for the build tool using the configuration and environment variables set for local development with the Netlify CLI:
netlify devTo start the server using the configuration and environment variables set for dev or all deploy contexts, run the following command:
netlify dev --context productionAsyncAPI Financial Summary page aims to provide transparency and clarity regarding the organization's financial activities. It serves as a platform to showcase how donations are accepted, different sponsorship options, and how the generated funds are utilized.
YAML files must be stored in the config/finance directory.
Create separate folders for each year under config/finance, such as config/finance/2023. Inside each year's folder, include two YAML files: Expenses.yml and ExpensesLink.yml.
In Expenses.yml, record expenses for each month, specifying the Category and Amount.
In ExpensesLink.yml, provide discussion links related to expense categories.
When a new year begins, create a corresponding folder for that year under config/finance and place the YAML files inside the folder for that specific year. For example, create a folder named config/finance/2024 for the year 2024 and config/finance/2025 for the year 2025. Place the YAML file for each respective year inside its designated folder.
Modify the years within the scripts/finance/index.js , lib/getUniqueCategories.js and components/FinancialSummary/BarChartComponent.js to handle data for different years effectively.
A case study is a special document that any end-user company can provide. An end-user company is a company that uses AsyncAPI to solve technical challenges. A case study is not a document where a vendor company can describe how they build their commercial AsyncAPI-based product. On the other hand, it is completely fine if a case study of some end-user mentions some commercial tools that helped them to work with AsyncAPI or event-driven architecture. An example of such a case can be a case study from an end-user where at some point, Confluent Schema Registry is mentioned in an explanation about schemas and runtime message validation.
A case study is documented in the form of a YAML file. Anyone can open a pull request with a new case study.
config/casestudies.public/resources/casestudies directory.public/img/casestudies.Once you collect all information and create a case study, open a pull request. It must be authored or at least approved by a representative of the given company. Such a representative is probably already a contact person mentioned in the case study.
A case study becomes publicly available right after merging and rebuilding the website.
All AsyncAPI JSON Schema definition files are being served within the /definitions/ path. The content is being served from GH, in particular from https://github.com/asyncapi/spec-json-schemas/tree/master/schemas.
This is possible thanks to the following:
/definitions/ path, serving the content from GH without having an HTTP redirect.Content-Type header of the rewrite response to become application/schema+json. This lets tooling, such as Hyperjump, to fetch the schemas directly from their URL.…This repository has the following structure:
…This project's source code is licensed under the Apache License, Version 2.0. A copy of the license is available in LICENSE file.
This project's documentation is licensed under the Creative Commons Attribution 4.0 International License (CC-BY-4.0). A copy of the license is available in LICENSE-docs.
Thanks goes to these wonderful people (emoji key):
Fran Méndez
Lukasz Gornicki
Maciej Urbańczyk
Quetzalli Writes
Aayush Kumar Sahu
David Boyne
Jesse Menning
Dimitrios Dedoussis
Jonas Lagoni
Sergio Moya
Bodo Graumann
Damilola Randolph
Barbanio González
Hargun Kaur
Chris Eich
Simone Fumagalli
Missy Turco
Ritik Rawal
Akshat Nema
David Pereira
Debajyoti Halder
Juan A.
Muhammad Rafly Andrianza
Harish
Paul Goldsmith
Tabah Baridule
Karuna Tata ️️️️♿️
Joseph Mawa
Viacheslav Turovskyi
Helen Kosova
V Thulisile Sibanda
Manav Desai
Mohd Toukir Khan
Anisat Akinbani
sambhavgupta0705
Ankit Chaudhary
samz
Bhaswati Roy
AISHAT MUIBUDEEN
Nawed Ali
Olaleye Blessing ️️️️♿️
niranjan-kurhade
Benjamin Rukundo
tthijm
Cynthia Peter
Florence Njeri
Ansh Goyal
Sumant.xD
Shriansh Agarwal
Aadrika Bhargava
Vishvamsinh Vaghela
Animesh Kumar
Akshay Sharma
Yuvraj Singh Sisodiya
Neutron
Sagar Kori
Raj Patel
This project follows the all-contributors specification. Contributions of any kind welcome!
No open issues yet, or sync has not completed.