• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

TheGiddyLimit/homebrew: Homebrew JSONs compatible with 5etools.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

TheGiddyLimit/homebrew

开源软件地址:

https://github.com/TheGiddyLimit/homebrew

开源编程语言:

JavaScript 100.0%

开源软件介绍:

Homebrew JSONs compatible with 5etools. The editor will be expanded to support more content types Eventually™️.

Getting Brew (automatically)

  1. Hit the "Manage Homebrew" button (if available) on a 5etools page.
  2. "Get Homebrew"
  3. Click to add. Currently, the list only displays items from this repository.

Getting Brew (manually)

  1. Browse for the file you want
  2. Click "Raw" (top-right) and save it as .json
  3. Load into 5etools via the Brew Manager

Getting Help

Join the 5etools Discord Server, and ask in the #brew conversion channel.

Requesting Additions/Updates

Join the 5etools Discord Server, and see the pinned message format in the #brew conversion channel. You can vote for your conversion request, or those of others, in the #brew-tracker channel.

Creating and Contributing

Note: one large advantage of contributing to this repo, is that your files will be kept up-to-date as changes are made to the main site.

  • The easiest way to make your own is to copy one of the existing 'brews as a template and use the main 5etools data as a reference.
    • The schemas for homebrew data can be found here
  • Contributions are welcome. For the GitHub-literate, make a pull request.* For everyone else, create an Issue and post a link to your file (PasteBin is fine), and I (or other maintainers, in future) can add it for you.

* See the article here for a how-to.

Conventions to Follow

There are a few conventions used which should be followed when creating homebrew:

  • Use tabs over spaces, "LF" as end-of-line, and UTF-8 (without BOM) encoding.
  • Format filenames as "Author Name; Homebrew Name.json"
  • Use a unique "json" source name; they should be uniquely identifiable across all homebrew. For example, for the hypothetical book "A History Of Dragons" by "A. N. Other," a sensible source name would be "ANOtherHistoryOfDragons". Note that this text is never displayed, so can be as long and as ugly as required. While this is not enforced, we reserve the right to change data as required to avoid naming conflicts.
  • Use https://github.com/TheGiddyLimit/homebrew as the source URL for sources without one.
  • Only include content authors in the source "author" field; conversion credit should be given in a "convertedBy" field (with the same format).
  • Include a "dateAdded" property in file metadata, which is a Unix timestamp (in seconds) at which the file was added. See here for an example of the structure; an example timestamp would be 1537874753. You can view and copy the current Unix time here.

Useful links




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Homebrew/homebrew-cask-versions: 发布时间:2022-06-17
下一篇:
frli4797/homebridge-sector发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap