Là một dự án mã nguồn mở, aframevr/aframe-registry đã đạt 78 sao trên GitHub, ngôn ngữ HTML. [DISCONTINUED] Curated collection of community A-Frame components.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Curated collection of community A-Frame components.
VIEW SITE
Introduction
The Registry collects components from the community. We curate them to make
sure they work for the versions of A-Frame they say they work. We also try to
improve the components as they come in with code review and API suggestions.
Versioning is handled so you don't have to look for which version of the
component works with your version of A-Frame. As a component repository,
the Registry is similar to the Unity Asset Store or npm.
Usage
You can install or try out components from the Registry in one of several ways.
angle
angle is a command-line interface (CLI)
for A-Frame. You can install components through this CLI straight into your
HTML file. angle will inject the appropriate <script> tag pointing to a CDN
depending on your version of A-Frame:
If you browse the Registry's website, you'll see
download links for components. The Registry will currently show builds for the
latest versions of A-Frame for now. You can either download the file locally,
or copy and paste the URLs and reference from a <script> tag in your HTML.
Inspector
If you open any A-Frame scene using the visual
Inspector with <ctrl> + <alt> + i, you'll find components from the Registry in the Inspector's dropdowns when
adding a component to an entity. Straight from the Inspector, you can do things
such as select animations, physics, or mountains from the dropdown straight
from the Registry.
Maintaining the Registry
A single registry file is maintained at registry.yml. The format of a
component looks like:
<npm package name>:
names: [<component names (as used from HTML) included>]
versions:
<aframe major version series>:
version: <npm package version>
path: <relative path to component JS file from package root>
All other metadata will be fetched from npm, and the component build will be
served via unpkg.com, a CDN for npm.
This registry will then be processed and output to JSON files, one for each
major version of A-Frame. These JSON files will be consumed by tools,
libraries, and websites such as the A-Frame
Inspector.
Versioning
Once A-Frame updates, all existing components will still work but are marked
with a compatibility warning until either the component's entry in the registry
is updated and compatibility confirmed. Here's how component compatibility is
determined in relation to A-Frame:
If there is a component version explicitly listed for an A-Frame version, use that.
If there is no component version listed for an A-Frame version, use the
version registered for the previous A-Frame version if possible. Then set a
flag in order to raise compatibility warnings.
If a component version for an A-Frame version is explicitly set to null,
exclude it.
Excluding from the Inspector
Components may be more optimal to use straight from code instead of from visual
tools such as the Inspector. In such cases, specify inspector: false:
To submit a component, make a pull request adding your component to the
registry file in the format explained above.
We recommend using angle's component template to get started on a component:
npm install -g angle
angle initcomponent
Component Requirements
Must be published to npm.
Must be published to GitHub.
Must self-register themselves with AFRAME.registerComponent.
Must contain documentation on component properties and sample usage in the README.
Must contain at least one example published to GitHub Pages.
A link to the examples must be added as the GitHub repository's Website next
to the GitHub repository's Description.
Must make sense in the context of a WebVR application. This can change
later, but the initial components of the Registry will be under strict
curation.
Component Suggestions
Should include an attractive preview image or GIF in your README for display.
Should follow semver in your component versioning scheme, mirroring A-Frame's latest stable version.
Use angle, an A-Frame command-line tool, to bootstrap a component template for publishing.
Add A-Frame Registry maintainer Kevin Ngo as
a collaborator to your GitHub repository and as an owner to your npm package
(npm owner add ngokevin) if you want help maintaining your component.
Updating the Registry
Add or update your module in the registry.yml file (not the files in
build/). Then make a pull request!
To build the output registry JSON files that correspond to each A-Frame version:
npm install
npm run config # Local config. You will need to add your GitHub API token.
npm run build
If you want to see the registry in a more readable format:
npm run print
Try to keep the registry in alphabetical order.
Local Development
If updating the build scripts, make sure you have npm installed. Then you can
modify scripts and run npm run test to unit test or npm run build to do a
full run.
If updating the website, run npm run site to re-generate the templates. This
doesn't need to be done if just working on CSS.
Once deployed to master, the Registry's GitHub Pages will update.
aframevr/aframe-registry có 78 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/aframevr/aframe-registry. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
aframevr/aframe-registry có những chủ đề gì?
GitHub topics của aframevr/aframe-registry: "aframe", "threejs", "virtual-reality", "virtualreality", "vr", "webvr". TopGit xếp repo vào nhóm mã nguồn mở.
aframevr/aframe-registry có phải mã nguồn mở không?
Có — aframevr/aframe-registry phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/aframevr/aframe-registry.
aframevr/aframe-registry có trang demo không?
Dự án có trang chủ ở https://aframe.io/registry/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
aframevr/aframe-registry còn đang phát triển không?
Commit gần nhất trên aframevr/aframe-registry là 7.7 năm trước (theo timestamp GitHub). Repo có 39 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc thêm về aframevr/aframe-registry ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/aframevr/aframe-registry là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
aframe-registry có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về aframe-registry.