# 在 GitHub 上托管插件

您是否已构建了一个要共享的有用插件？在 GitHub 上托管您的存储库，以便其他用户可以通过[插件管理器](/zh-cn/plugins/how-to-use-plug-ins.md#plugin-manager)安装您的插件！

### 托管插件项目

此过程与前一章中所述内容类似，其中我们讨论了如何在“插件乐园”中[发布已创建的插件](/zh-cn/plugins/how-to-develop-plugins/your-first-plugin/publishing-your-project.md)。

转到您新的 GitHub 插件存储库，例如 <https://github.com/Joe/JoesPlugins>

在顶部菜单中，依次单击“设置”>“页面”。在“源”下，单击“无”按钮，然后选择主分支。单击“保存”。

![](/files/FijxZDmgBmsRJ0hT1KFh)

### 继续在本地更新插件项目

此时，可以继续在本地添加、修改和测试插件，然后在准备好发布后，使用 GitHub Desktop 或其他 Git 客户端来将所做更改推送到您的 GitHub 存储库。任何使用您的存储库和插件的用户在他们启动 FormIt 时，都会始终获得最新代码。

### 发布项目

对于在 IDE（而非[插件乐园](/zh-cn/plugins/how-to-develop-plugins/your-first-plugin/plugin-playground.md)）中创建的项目，可以通过将 **FormIt 插件**主题添加到您插件的存储库来发布插件。

这样，就可以在[社区插件](/zh-cn/plugins/example-1/formit-plugin-community.md)列表中找到您的插件。

通过访问项目链接（例如，<https://github.com/Joe/JoesPlugin），在> GitHub 上查看存储库

单击右上角的“设置”。

![](/files/VN5CeGDLPRPkHuDoU7jJ)

添加插件描述、将“Formit 插件”添加到“Topics”字段，然后保存更改。

![](/files/jOko6IJ4IXL1AGjw84Mm)

保存后，您的插件项目将添加到[社区插件](https://github.com/topics/formit-plugin)列表。

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://windows.help.formit.autodesk.com/zh-cn/plugins/how-to-develop-plugins/advanced-development/hosting-a-plugin-on-github.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
