Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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
```