一个易于使用的工具,用于使用 Webhooks 构建和发送 Discord 消息和嵌入。
实时实例可在 https://discohook.app/ 上获得。
此应用程序设置为将容器映像发布到ghcr.io/discohook/site:latest
。该映像可以使用 podman、docker 或其他符合 OCI 的服务运行。可以使用以下命令从命令行或在桌面 GUI 中运行该映像(podman 桌面指南)
# Replace 'podman' with 'docker' if using that, the command is equivalent
# Add --rm if you want the container to be removed automatically after being stopped
# If necesary, change the second 3000 to change which port on the local computer the app is bound to
podman run -d -p 3000:3000 ghcr.io/discohook/site:latest
需要安装 Node.js 16 和 Yarn 包管理器
# Install dependencies
yarn install
# Run a development server
yarn run dev
# Run a production server
yarn run build
yarn run start