一個易於使用的工具,用於使用 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