This repository contains the source code for opensource.block.xyz, the open source home of Block, Inc. (NYSE: XYZ).
At Block, we Default to Open. We believe that open source and open protocols are essential to our purpose of Economic Empowerment.
Block is a global technology company that builds tools to empower businesses and individuals to participate in the economy. Our open source initiatives span across payments, blockchain, security, and developer tools, reflecting our commitment to building in the open and contributing to the broader technology community.
This site serves as the central hub for Block's open source projects and efforts, featuring:
- Project Showcase: Discover our open source projects and contributions
- Blog: Technical articles, announcements, and insights from Block engineers
- Resources: Documentation and guides for working with Block's open source projects
This site is built with Astro, a modern static site framework. It is forked from the Block Open Source Docs Site Kickstarter.
- Node.js v18 or higher (Tested w/
24) - pnpm package manager
-
Clone the repository:
git clone https://github.com/block/opensource.block.xyz.git cd opensource.block.xyz -
Install dependencies:
pnpm install
-
Start the development server:
pnpm run dev
-
Open your browser and navigate to
http://localhost:4321
To create a production build:
pnpm run buildThe built site will be output to the dist/ directory.
To preview the production build locally:
pnpm run previewThis site is automatically deployed to production using GitHub Actions.
- Production Branch:
production - Live Site: opensource.block.xyz
When changes are pushed to the production branch, a GitHub Action workflow automatically builds and deploys the site to the live environment.
- Make changes on a feature branch
- Create a pull request to the
productionbranch - After review and merge, the GitHub Action triggers automatically
- The site is built and deployed to opensource.block.xyz
We welcome contributions! Please see our contributing guidelines for more information.
Licensed under the Apache 2.0 License.