···11-[](https://wamellow.com/support)
22-
11+
22+
3344[](https://ko-fi.com/I3I6AFVAP)
5566-**⚠️ In development, breaking changes ⚠️**
66+This is the official web application for the Mellow Discord bot. It includes the home page, leaderboards, passport, profile, and server management features.
7788-## About
99-This is the [wamellow.com](https://wamellow.com) website for our Discord App, including the home page, leaderboards, passport, profile and server management.
88+> [!WARNING]
99+> This project is not meant for your own use without significant modifications; breaking changes may occur.
10101111-If you need help developing with this, join **[our Discord Server](https://discord.com/invite/yYd6YKHQZH)**.
1111+* [Home](https://wamellow.com)
1212+* [Invite Wamellow](https://wamellow.com/invite)
1313+* [Documentation](https://wamellow.com/docs/index)
1414+* [Profile](https://wamellow.com/profile)
1515+* [Dashboard](https://wamellow.com/dashboard)
12161313-Note that this project is not meant to be used by anyone else, including other bots, as it is specifically designed for our bot and the backend API stays private. We will not provide support for this project if you use it for your own bot, though you are allowed to by the license.
1717+## Setup
14181515-Other open source projects relating to Wamellow can be found on [wamellow.com/team](https://wamellow.com/team).
1919+To get started with this project, you'll need to have the following installed:
16201717-## Setup
1818-Clone this repo with the following commands:
2121+* [Node.js](https://nodejs.org/en/) (v18 or higher)
2222+* [Bun](https://bun.sh/)
19232424+1. **Clone the repository:**
2025```bash
2126git clone https://github.com/Luna-devv/mellow-web
2227```
23282424-Create a `.env` file and add the following values:
2929+2. **Install the dependencies:**
3030+```bash
3131+bun install
3232+```
3333+3434+3. **Create a `.env` file:**
3535+Create a `.env` file in the root of the project and add the following environment variables:
3636+2537```env
2626-# Register a https://www.geetest.com/en/ account, this is used for
2727-NEXT_PUBLIC_CAPTCHA_ID=""
3838+# The base URL for the web application
3939+NEXT_PUBLIC_BASE_URL="https://wamellow.com"
28402929-# The API URL, this is the base URL for the backend
4141+# The base URL for the backend API
3042NEXT_PUBLIC_API="https://api.wamellow.com/v1"
3143API_SECRET=""
32443333-# The Nekostic API URL, https://github.com/Luna-devv/nekostic
3434-NEXT_PUBLIC_NEKOSTIC="https://nekostic.wamellow.com/statistics"
3535-3636-# The base URL for the website, this is used for the meta tags and other things
3737-NEXT_PUBLIC_BASE_URL="https://wamellow.com"
3838-3939-# https://plausible.com analytics
4545+# The API URL for the Plausible analytics service
4046PLAUSIBLE_API="https://analytics.wamellow.com/api"
4747+4848+# The domain and api key for the Plausible analytics service
4149PLAUSIBLE_DOMAIN="wamellow.com"
4250PLAUSIBLE_API_KEY=""
43514444-# The base URL for the ratings API
4545-RATINGS_API="http://localhost:5002"
5252+# The client ID and token for the Discord bot
5353+NEXT_PUBLIC_CLIENT_ID="1116414956972290119"
5454+DISCORD_TOKEN=""
46554747-# The Discord client ID and bot token
4848-NEXT_PUBLIC_CLIENT_ID="1125449347451068437"
4949-DISCORD_TOKEN=""
5656+# The public key for the Turnstile captcha service
5757+NEXT_PUBLIC_TURNSTILE_KEY=""
50585151-# A personal GitHub access token (read repositories)
5959+# A personal GitHub access token with read:repositories scope
5260GITHUB_TOKEN=""
6161+6262+# The token for the top.gg API
6363+TOPGG_TOKEN=""
6464+6565+# The public key for Bluesky
6666+BLUESKY_PUBLIC_KEY=""
6767+6868+# The base64 encoded imprint data
6969+IMPRINT_BASE64=""
5370```
54715572## Developing
5656-This project uses pnpm with nodejs, to start developing, run:
7373+7474+To start the development server, run the following command:
57755876```bash
5959-bun install
6077bun dev
6178```
62796363-## Deploy
6464-To build and run the website use
8080+This will start the development server on `http://localhost:3000`.
8181+8282+## Deployment
8383+8484+To build and run the web application, use the following commands:
8585+6586```bash
6666-bun build
8787+bun run build
6788bun start
6889```
6990or
7091```bash
7171-docker build -t mw-web .
7272-docker compose up -d
9292+docker compose up --build -d
7393```
7474-(docker is not tested nor maintained)9494+9595+## Contributing
9696+9797+Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
9898+9999+1. Fork the repository.
100100+2. Create a new branch for your changes.
101101+3. Make your changes and commit them.
102102+4. Push your changes to your fork.
103103+5. Create a pull request.
104104+105105+If you need help with any of these steps, feel free to join our [Discord server](https://discord.com/invite/yYd6YKHQZH).