blockprotocol VS custom-elements-manifest

Compare blockprotocol vs custom-elements-manifest and see what are their differences.

blockprotocol

✨ The open-source standard for blocks. From @hashintel (by blockprotocol)

custom-elements-manifest

A file format for describing custom elements (by webcomponents)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
blockprotocol custom-elements-manifest
3 4
1,330 334
1.3% 3.0%
8.2 1.5
14 days ago 3 days ago
TypeScript TypeScript
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

blockprotocol

Posts with mentions or reviews of blockprotocol. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-30.
  • Learning HTML was too hard so I made a compiler instead
    2 projects | /r/programming | 30 Jun 2022
    Relevant to this conversation, I saw Joel Spolsky giving a talk about his new big project/stab at addressing this problem The Block Protocol.
  • The Block Protocol
    8 projects | news.ycombinator.com | 27 Jan 2022
    1) The spec says that a block package includes its source code, and the block hub seems to be a browser of block packages, but it doesn't give me the full view into said block packages. Is there a reason for this? Is it on the to-do list?

    It's on the to-list indeed - we are going to add links to the source of blocks. The package for distribution will typically be minified and less illuminating, although we can look to expose that too (as well as making it available for request via the API).

    2) What's going on with the type signatures here?

    The type signatures on functions in the spec definitely need cleaning up to be consistent and more helpful. They are pseudo-code. There are TypeScript types for them (https://github.com/blockprotocol/blockprotocol/blob/main/pac...) which won't be much use to you, but I am including in case they are of someone else.

    The schema you mention in the Hub is autogenerated from the TypeScript interface for the block, which can lead to weird artefacts of the sort you identify. We need to add custom codegen to better handle this. It should valid JSON Schema.

custom-elements-manifest

Posts with mentions or reviews of custom-elements-manifest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-27.
  • The Block Protocol
    8 projects | news.ycombinator.com | 27 Jan 2022
    The Web Components Community Group is developing such a format to describe the types of components here: https://github.com/webcomponents/custom-elements-manifest

    People have already built tools that generate wrappers based on it.

  • Reactifying Custom Elements using a Custom Elements Manifest
    3 projects | dev.to | 23 Jun 2021
    TL;DR: A Custom Elements Manifest is a JSON file that contains all metadata about the custom elements in your project. You can read all about it here.
  • Introducing: Custom Elements Manifest
    14 projects | dev.to | 17 Jun 2021
    Custom Elements Manifest is a file format that describes the custom elements in your project. This format will allow tooling and IDEs to give rich information about the custom elements in a given project. A custom-elements.json contains metadata about the custom elements in your project; their properties, methods, attributes, inheritance, slots, CSS Shadow Parts, CSS custom properties, and a modules exports. If you're interested in following the specification of the schema, or contributing to it, you can find the repository here: webcomponents/custom-elements-manifest.

What are some alternatives?

When comparing blockprotocol and custom-elements-manifest you can also consider the following projects:

solid - Solid - Re-decentralizing the web (project directory)

catalyst - Catalyst is a set of patterns and techniques for developing components within a complex application.