Go to this link and add the bot (this requires MANAGE_GUILD
permission) to your server.
Or to make it easier, visit our website
We are hosting Majo.exe on our own servers. Majo.exe will be online 24/7. Invite Majo here!
However, if you want to host Majo.exe yourself, you can do it. Check out our tutorials to learn how to do it.
[!IMPORTANT] This project is not for beginners. If you are not familiar with Node.js, Prisma, Discord.js or any other technology used in this project, you should not host Majo.exe yourself!
Ensure your setup meets these prerequisites before setting up Majo.exe:
PostgreSQL 14x
or higherNode.js 18x
or higher(Any)
Linux x64ยน~512MB
of RAM (minimum)~3GB
of hard drive space (minimum)[!NOTE]
- Debian based distros are recommended, bot can also run on Windows and MacOS but it's not recommended.
.env
fileVariable | Description | Required (Bot) | Required (Dashboard) |
---|---|---|---|
TOKEN |
Discord bot token | โ
Yes |
โ
Yes |
CLIENT_ID |
Discord client ID | โ
Yes |
โ
Yes |
CLIENT_SECRET |
Discord client secret | โ No |
โ
Yes |
DATABASE_URL |
Main database connection string | โ
Yes |
โ
Yes |
DATABASE_URL_UNPOOLED |
Non-pooling database connection string | โ No |
โ No |
REDIS_URL ยน |
Redis Cache connection string | โ No |
โ No |
SECRET |
Secret string (minimum 32 characters) | โ No |
โ
Yes |
NEXTAUTH_URL |
NextAuth.js URL (e.g., http://localhost:3000) | โ No |
โ
Yes |
NEXT_PUBLIC_URL |
Next.js public URL (e.g., http://localhost:3000) | โ No ยฒ |
โ
Yes |
HOTJAR_ID |
Hotjar ID | โ No |
โ No |
DISCORD_SUPPORT_SERVER_ID |
Discord support server ID | โ No |
โ No ยณ |
TOPGG_API_KEY |
top.gg API key | โ No |
โ No โด |
[!NOTE]
REDIS_URL
enables caching. If you don't want to use Redis caching, leave this variable empty. Majo.exe will use Memory caching instead.NEXT_PUBLIC_URL
is required only if you want to also include the dashboard.DISCORD_SUPPORT_SERVER_ID
is required only if you want to automatically add users to your own Discord server when they log in to the dashboard. Please note that the bot needsManage Server
permission in the server!\TOPGG_API_KEY
is required only if you want to automatically post server count to top.gg.
[!WARNING] There is one global
.env
file for all projects. Do not create.env
file inapps/bot
,packages/database
orapps/dashboard
folders! This can cause problems and potential security issues.
These wonderful people and services have helped develop Majo.exe, without them this project would not exist. Thanks goes to these wonderful people!
Sponsor | Description | |
---|---|---|
![]() |
TrestHost | TrestHost is a good and powerful hosting provider providing servers from the USA and Germany. Try us out today! |
By hosting the project, you agree to the following terms:
๐ Attribution:
๐ป Hosting Rights:
๐ง Modifications:
/about
command must not be modified or removed. This command contains information about the project and its authors.๐ฆ Distribution:
โ๏ธ Compliance:
If you have any issues with the page please create new issue here. When creating new issue please provide as much information as possible. If you can, please provide logs from console.
We will review your pull request as soon as possible. We might suggest some changes or improvements.
When submitting a pull request:
git clone https://github.com/igorkowalczyk/majo.exe
)master
and give it a meaningful name (e.g. my-awesome-new-feature
).This project is licensed under the MIT. See the LICENSE file for details