Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/discohook/site
The easiest way to build and send Discord messages using webhooks
https://github.com/discohook/site
discord discord-api discord-messages discord-webhooks embeds mobx react typescript webhooks
Last synced: 11 days ago
JSON representation
The easiest way to build and send Discord messages using webhooks
- Host: GitHub
- URL: https://github.com/discohook/site
- Owner: discohook
- License: agpl-3.0
- Created: 2019-04-22T11:02:04.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T03:34:48.000Z (5 months ago)
- Last Synced: 2024-08-01T08:15:14.349Z (3 months ago)
- Topics: discord, discord-api, discord-messages, discord-webhooks, embeds, mobx, react, typescript, webhooks
- Language: TypeScript
- Homepage: https://discohook.app
- Size: 5.06 MB
- Stars: 370
- Watchers: 10
- Forks: 126
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome - discohook/site - The easiest way to build and send Discord messages using webhooks (TypeScript)
README
# Discohook
[![ci](https://github.com/discohook/site/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/discohook/site/actions/workflows/ci.yml)
An easy-to-use tool for building and sending Discord messages and embeds using webhooks.
Live instance is available at .
## Running via Container
This application is setup to publish a container image to `ghcr.io/discohook/site:latest`. This image can be run with [podman](https://podman.io/), [docker](https://www.docker.com/), or another service compliant with the [OCI](https://opencontainers.org/). The image can be run from the command line with the following command or in the desktop guis ([podman desktop guide](https://podman-desktop.io/docs/working-with-containers/starting-a-container))
```sh
# 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
```## Local build and run
Requires Node.js 16 and the Yarn package manager installed
```sh
# Install dependencies
yarn install# Run a development server
yarn run dev# Run a production server
yarn run build
yarn run start
```