The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
TypeScript 97.0%
JavaScript 2.0%
CSS 0.9%
Dockerfile 0.1%
901 1 0

Clone this repository

https://tangled.org/shi.gg/mellow-web
git@tangled.org:shi.gg/mellow-web

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Discord GitHub repo size

ko-fi

This is the official web application for the Mellow Discord bot. It includes the home page, leaderboards, passport, profile, and server management features.

WARNING

This project is not meant for your own use without significant modifications; breaking changes may occur.

Setup#

To get started with this project, you'll need to have the following installed:

  1. Clone the repository:
git clone https://github.com/Luna-devv/mellow-web
  1. Install the dependencies:
bun install
  1. Create a .env file: Create a .env file in the root of the project and add the following environment variables:
# The base URL for the web application
NEXT_PUBLIC_BASE_URL="https://wamellow.com"

# The base URL for the backend API
NEXT_PUBLIC_API="https://api.wamellow.com/v1"
API_SECRET=""

# The API URL for the Plausible analytics service
PLAUSIBLE_API="https://analytics.wamellow.com/api"

# The domain and api key for the Plausible analytics service
PLAUSIBLE_DOMAIN="wamellow.com"
PLAUSIBLE_API_KEY=""

# The client ID and token for the Discord bot
NEXT_PUBLIC_CLIENT_ID="1116414956972290119"
DISCORD_TOKEN=""

# The public key for the Turnstile captcha service
NEXT_PUBLIC_TURNSTILE_KEY=""

# A personal GitHub access token with read:repositories scope
GITHUB_TOKEN=""

# The token for the top.gg API
TOPGG_TOKEN=""

# The public key for Bluesky
BLUESKY_PUBLIC_KEY=""

# The base64 encoded imprint data
IMPRINT_BASE64=""

Developing#

To start the development server, run the following command:

bun dev

This will start the development server on http://localhost:3000.

Deployment#

To build and run the web application, use the following commands:

bun run build
bun start

or

docker compose up --build -d

Contributing#

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Create a pull request.

If you need help with any of these steps, feel free to join our Discord server.