Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Source code for Microsoft's open source site on Next.js, featuring projects, program details, and 'get involved' pages.
opensource.microsoft.com is an open-source Next.js static-site project that powers Microsoft's public hub for its open source program, featuring project listings, program details, and contribution pathways.
The repository on GitHub contains the source code for opensource.microsoft.com, a mostly-static website published by Microsoft's Open Source Programs Office (OSPO) in partnership with the One Engineering System (1ES) team. Originally built with Jekyll, the site was ported to Next.js and now generates a modern static site that is retrieved at runtime by Microsoft's hosting solution. The site shares information about Microsoft's open source program, the ecosystem it supports, and ways for people to get involved in projects.
out/ folder) served by a separate hosting solution.npm run a11y:install and npm run a11y, and the build must meet WCAG 2.1 standards./blog), Code of Conduct, and Community Resources.Dockerfile is provided to run the exported static site on a local nginx server, though dynamic site features are unavailable in that local mode.This repository is primarily for Microsoft teams and the open source community. Microsoft employees use it to maintain and update the content on opensource.microsoft.com, ensuring the site reflects current program information. External contributors can use it to propose coordinated improvements or content fixes by opening an issue first and then submitting a pull request, though the maintainers note that general contributions may not be accepted. Open source enthusiasts use the published site itself to find Microsoft projects, get involved, and learn about the program.
The development workflow is straightforward: install Node.js, run npm install, then npm run dev to serve the site locally. To run the automated accessibility checks, execute npm run a11y:install followed by npm run a11y, which builds the exported site, serves the generated out/ folder locally, and runs axe-based checks in Chromium against the main routes. For a local production-like preview, the Dockerfile spins up an nginx server, but dynamic features are not available in this mode.
Open an issue describing your contribution idea before starting a pull request. The maintainers coordinate contributions through issues, and pull requests may be closed without merging even if they are well-implemented, because the site is public-facing on microsoft.com with strict requirements.
No telemetry is included by default. Only when the Jekyll build environment is set to Microsoft's production environment name, "opensource.microsoft.com", does the site add Microsoft's standard cookie compliance and Application Insights analytics code.
The site is built with Next.js, having been ported from an older Jekyll implementation. It requires a modern Node.js environment for development, and a Dockerfile is available for running the static output on nginx.
Yes. Run npm install and npm run dev for a local development server. For a static production preview, use the Dockerfile to host the exported site on nginx, but note that dynamic site features are not available in that local setup.
