MIT License

项目介绍

Commit451/skyhook 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 385 个 Star、88 次 Fork。

仓库全名
Commit451/skyhook
开源许可证
MIT License
Star 数
385
Fork 数
88
未关闭 Issue
22

README 摘要

skyhook Parses webhooks and forwards them in the proper format to Discord. Setup You can use the site to create the right webhook link and send a test notification to Discord before configuring your provider. If you want to manually create the link, here are the steps: 1. Create a webhook in Discord (Server Settings -> Webhooks -> Create Webhook) 2. Copy the webhook url 3. Turn the Discord webhook url into a skyhook…

完整内容见 GitHub 原始 README 或本页 。

常见问题

skyhook 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 385 个 Star。

skyhook 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 skyhook 的源码?

可以直接克隆仓库:git clone https://github.com/Commit451/skyhook.git,默认分支为 main;安装与运行步骤见仓库 README。

skyhook 最近还在维护吗?

仓库最近一次更新为 3 天前,当前有 22 个未关闭 Issue;Star 数为 385,可作为社区活跃度的参考。

关于

Parses webhooks and forwards them in the proper format to Discord.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
577
价值分
257
活跃状态
活跃

语言占比

Astro
CSS
Dockerfile
JavaScript
TypeScript

README

skyhook

Parses webhooks and forwards them in the proper format to Discord.

Discord

Setup

You can use the site to create the right webhook link and send a test notification to Discord before configuring your provider. If you want to manually create the link, here are the steps:

  1. Create a webhook in Discord (Server Settings -> Webhooks -> Create Webhook)
  2. Copy the webhook url
  3. Turn the Discord webhook url into a skyhook webhook url like so:
Replace discord.com in url with skyhookapi.com
https://discord.com/api/webhooks/firstPartOfWebhook/secondPartOfWebhook
->
https://skyhookapi.com/api/webhooks/firstPartOfWebhook/secondPartOfWebhook
  1. Add the provider you want to the end of the url:
https://skyhookapi.com/api/webhooks/firstPartOfWebhook/secondPartOfWebhook/providerGoesHere

Supported Providers

Contributing

If you wish to contribute, follow our contributing guide.

Creating a Provider

If you want to create a new provider please follow the examples shown at our small documentation.

To generate a registered provider, canonical fixture, and focused test in one step:

npm run provider:new -- newprovider NewProvider "New Provider" https://docs.example.com/webhooks

Testing Locally

To build:

npm run build

To run server (after building):

npm start

To do both:

npm run buildstart

To run tests:

npm test

Through Docker:

docker run -it --rm -p 8080:8080 commit451/skyhook

Deploying

License

skyhook is available under the MIT license. See the LICENSE file for more info.

\ ゜o゜)ノ

评论

暂无评论