Giter Club home page Giter Club logo

mellow-web's Introduction

ko-fi

⚠️ In development, breaking changes ⚠️

About

This is the wamellow.com website for our Discord App, including the home page, leaderboards, passport, profile and server management.

If you need help developing with this, join our Discord Server.

Setup

Clone this repo with the following commands:

git clone https://github.com/Luna-devv/mellow-web

Create a .env file and add the following values:

NEXT_PUBLIC_CAPTCHA_ID=""
NEXT_PUBLIC_API="https://api.local.wamellow.com/v1"
NEXT_PUBLIC_NEKOSTIC="https://nekostic.wamellow.com/statistics"
NEXT_PUBLIC_LOGIN="https://discord.com/oauth2/authorize?client_id=1116414956972290119&redirect_uri=https://local.wamellow.com/login&response_type=code&permissions=1426738113654&prompt=none&scope=identify+email+guilds"
NEXT_PUBLIC_BASE_URL="https://local.wamellow.com"

API_SECRET="a"

PLAUSIBLE_API="https://analytics.wamellow.com/api"
PLAUSIBLE_DOMAIN="wamellow.com"
PLAUSIBLE_API_KEY=""

RATINGS_API="http://100.65.0.1:5002"
CLIENT_ID="1125449347451068437"

DISCORD_TOKEN=""

For the NEXT_PUBLIC_CAPTCHA_ID register a https://www.geetest.com/en/ account, this is used for /passport's. For the API_SECRET hack my computer to get access to the backend API and it's secrets. (dun't duh) For the PLAUSIBE_* stuff you have to either create or selfhost https://plausible.com/ For the RATINGS_API enter a ip/domain to a ratings api duh, read the typings for a structure. For the CLIENT_ID enter your Discord client id. For the DISCORD_TOKEN go on repl.it and find a random repo that leaks the token and use it.

Deploy

The bun package manager is cool, the runtime sucks imo tho, you can also use pnpm.

To run the develoment server run

bun dev

To build and run the website use

bun build
bun start

mellow-web's People

Contributors

luna-devv avatar imexoodeex avatar drijonh avatar nitcord avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.