The Block Protocol is an open standard for building and using data-driven blocks. Blocks developed in accordance with the protocol allow you to make websites and applications that are both more useful to and readable by humans and machines.
Please refer to the Block Protocol documentation for complete instructions on using the Block Protocol, including:
- developing new blocks;
- publishing blocks to the Block Hub; and
- embedding blocks within your application.
HASH is an example embedding application for the Block Protocol.
For more examples, please refer to the Block Protocol documentation or browse the complete Block Hub.
We’ll be publishing a public roadmap for the Block Protocol soon.
See the open issues for a list of some proposed features (and known issues).
We welcome contributions to this repository. Within it you will find folders for:
-
site
: the code for blockprotocol.org, including: -
packages
: utility packages for constructing Block Protocol blocks. These are all available viayarn add <package_name>
ornpm install <package_name>
. See the individual README files in each folder for more details.block-template
: a template for a React-based blockblockprotocol
: TypeScript types for Block Protocol properties and functions, as described in the speccreate-block-app
: a script to create a new block usingblock-template
mock-block-dock
: a mock embedding application used for developing blocks
The Block Protocol is an open-source standard, and community contributions are what make open-source such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Please consider starring the project and watching it on GitHub, to be kept abreast of future developments and show your appreciation.
If you’ve got an idea for a new block, would like to make a suggestion that improves the protocol itself, or want to contribute to a better developer experience for users of the protocol, please open an issue with the tag “enhancement”, and feel free to fork the repo in order to create a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
If you’re looking for inspiration regarding new blocks to build, or contributions you could make, please check the open issues.
Distributed under the MIT License. See LICENSE.md
for more information.
Find us on Twitter at @blockprotocol or email [email protected]
You can also join our community Discord server for quick help and support.
Project permalink: https://github.com/blockprotocol/blockprotocol
- Ciaran Morinan - HASH (profile)
- Joel Spolsky - HASH (profile)