Skip to content

shi-gg/mellow-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/shi-gg/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.

About

The weeb for the next gen discord boat

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 6