Update project configuration files, and API routes accordingly. Add SQLite runtime file ignores to .gitignore for better file management.
This commit is contained in:
47
README.md
47
README.md
@@ -1,12 +1,9 @@
|
||||
<div align="center">
|
||||
|
||||
```
|
||||
███████╗██╗ ██╗██████╗ ██████╗ ██╗ ██╗
|
||||
╚══███╔╝╚██╗ ██╔╝██╔══██╗██╔═══██╗╚██╗██╔╝
|
||||
███╔╝ ╚████╔╝ ██████╔╝██║ ██║ ╚███╔╝
|
||||
███╔╝ ╚██╔╝ ██╔══██╗██║ ██║ ██╔██╗
|
||||
███████╗ ██║ ██║ ██║╚██████╔╝██╔╝ ██╗
|
||||
╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
|
||||
+-+-+-+-+-+-+-+-+
|
||||
|H|e|x|a|H|o|s|t|
|
||||
+-+-+-+-+-+-+-+-+
|
||||
```
|
||||
|
||||
<h3>A feature-rich Discord bot paired with a sleek Next.js dashboard</h3>
|
||||
@@ -21,9 +18,8 @@
|
||||
</p>
|
||||
<p>
|
||||
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-red?style=for-the-badge"/></a>
|
||||
<a href="https://discord.gg/codexdev"><img src="https://img.shields.io/badge/Discord-Join_Server-5865F2?style=for-the-badge&logo=discord&logoColor=white"/></a>
|
||||
<a href="https://youtube.com/@CodeXDevs"><img src="https://img.shields.io/badge/YouTube-CodeXDevs-FF0000?style=for-the-badge&logo=youtube&logoColor=white"/></a>
|
||||
<a href="https://github.com/RayExo"><img src="https://img.shields.io/badge/GitHub-RayExo-181717?style=for-the-badge&logo=github&logoColor=white"/></a>
|
||||
<a href="https://discord.gg/hexahost"><img src="https://img.shields.io/badge/Discord-Join_Server-5865F2?style=for-the-badge&logo=discord&logoColor=white"/></a>
|
||||
<a href="https://github.com/theoneandonlymace"><img src="https://img.shields.io/badge/GitHub-theoneandonlymace-181717?style=for-the-badge&logo=github&logoColor=white"/></a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
@@ -32,10 +28,10 @@
|
||||
|
||||
## ✦ Overview
|
||||
|
||||
ZyroX is a fully-featured Discord bot with a modern web dashboard for managing everything from antinuke to music. Built on `discord.py v2`, `FastAPI`, and `Next.js 14` with Tailwind CSS.
|
||||
HexaHost is a fully-featured Discord bot with a modern web dashboard for managing everything from antinuke to music. Built on `discord.py v2`, `FastAPI`, and `Next.js 14` with Tailwind CSS.
|
||||
|
||||
```
|
||||
ZyroX-CV2-With-Dashboard/
|
||||
HexaHost-CV2-With-Dashboard/
|
||||
├── 🤖 bot/ Python Discord bot + FastAPI backend
|
||||
│ ├── api/ Dashboard REST API (FastAPI)
|
||||
│ ├── cogs/ All bot features (commands, events, antinuke, automod…)
|
||||
@@ -43,7 +39,7 @@ ZyroX-CV2-With-Dashboard/
|
||||
│ ├── utils/ Shared utilities (emoji, tools, sync, cloudflare tunnel…)
|
||||
│ ├── games/ Standalone game modules
|
||||
│ ├── assets/ Fonts, backgrounds, GIFs
|
||||
│ └── CodeX.py Entry point
|
||||
│ └── HexaHost.py Entry point
|
||||
│
|
||||
└── 🌐 dashboard/ Next.js frontend
|
||||
├── app/ App Router pages & API routes
|
||||
@@ -122,7 +118,7 @@ ZyroX-CV2-With-Dashboard/
|
||||
- Slash + prefix commands
|
||||
- FastAPI backend with API key auth + rate limiting
|
||||
- Cloudflare Tunnel — unlimited bandwidth, permanent URL, zero system installs
|
||||
- CodeX Devs watermark on every source file
|
||||
- HexaHost watermark on every source file
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -148,8 +144,8 @@ ZyroX-CV2-With-Dashboard/
|
||||
**1 — Clone the repo**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/RayExo/ZyroX-CV2-With-Dashboard
|
||||
cd ZyroX-CV2-With-Dashboard/bot
|
||||
git clone https://github.com/theoneandonlymace/HexaHost-CV2-With-Dashboard
|
||||
cd HexaHost-CV2-With-Dashboard/bot
|
||||
```
|
||||
|
||||
**2 — Install dependencies**
|
||||
@@ -173,7 +169,7 @@ Copy `.env.example` to `.env` and fill in the values:
|
||||
```env
|
||||
# ── Core ──────────────────────────────────────────────────────────
|
||||
TOKEN = your_discord_bot_token
|
||||
brand_name = 'ZyroX'
|
||||
brand_name = 'HexaHost'
|
||||
|
||||
# ── Owner IDs (REQUIRED — your Discord user ID) ───────────────────
|
||||
OWNER_IDS = YOUR_DISCORD_USER_ID_HERE
|
||||
@@ -207,7 +203,7 @@ CF_TUNNEL_URL = "https://api.yourdomain.com"
|
||||
**4 — Run the bot**
|
||||
|
||||
```bash
|
||||
python CodeX.py
|
||||
python HexaHost.py
|
||||
```
|
||||
|
||||
---
|
||||
@@ -237,7 +233,7 @@ DISCORD_CLIENT_SECRET = your_discord_oauth_client_secret
|
||||
|
||||
ADMIN_IDS = your_discord_user_id
|
||||
NEXT_PUBLIC_ADMIN_IDS = your_discord_user_id
|
||||
NEXT_PUBLIC_BRAND_NAME = "ZyroX"
|
||||
NEXT_PUBLIC_BRAND_NAME = "HexaHost"
|
||||
NEXT_PUBLIC_BRAND_NAME_WORD = "ZX"
|
||||
```
|
||||
|
||||
@@ -309,7 +305,7 @@ The bot uses **pycloudflared** — a Python package that downloads the `cloudfla
|
||||
**Setup (browser only, no CLI needed):**
|
||||
|
||||
1. Go to [one.dash.cloudflare.com](https://one.dash.cloudflare.com) → **Networks → Tunnels → Create a tunnel**
|
||||
2. Choose **Cloudflared**, give it a name (e.g. `zyrox-api`), save
|
||||
2. Choose **Cloudflared**, give it a name (e.g. `hexahost-api`), save
|
||||
3. On the **Install connector** step, copy the token from the command shown:
|
||||
```
|
||||
cloudflared tunnel run --token <COPY_THIS>
|
||||
@@ -336,7 +332,7 @@ On every startup the console prints:
|
||||
### 🤖 Bot — any Python host
|
||||
|
||||
1. Upload the entire `bot/` folder to your host (Pterodactyl, Render, Railway, Fly.io, VPS…)
|
||||
2. Set the start command to `python CodeX.py`
|
||||
2. Set the start command to `python HexaHost.py`
|
||||
3. Add all environment variables
|
||||
4. `pycloudflared` downloads the binary automatically on first run — no extra steps
|
||||
|
||||
@@ -407,19 +403,18 @@ Runs automatically on startup when `EMOJI_SYNC=true`:
|
||||
|
||||
<div align="center">
|
||||
|
||||
## ✦ CodeX Devs
|
||||
## ✦ HexaHost
|
||||
|
||||
*Built for protection. Designed for style.*
|
||||
|
||||
<a href="https://discord.gg/codexdev"><img src="https://discord.com/api/guilds/1301573144817045524/widget.png?style=banner2" alt="CodeX Development Discord Server" width="480"/></a>
|
||||
<a href="https://discord.gg/hexahost"><img src="https://discord.com/api/guilds/1301573144817045524/widget.png?style=banner2" alt="HexaHost Discord Server" width="480"/></a>
|
||||
|
||||
<p>
|
||||
<a href="https://discord.gg/codexdev"><img src="https://img.shields.io/badge/Discord-Join_Server-5865F2?style=for-the-badge&logo=discord&logoColor=white"/></a>
|
||||
<a href="https://youtube.com/@CodeXDevs"><img src="https://img.shields.io/badge/YouTube-CodeXDevs-FF0000?style=for-the-badge&logo=youtube&logoColor=white"/></a>
|
||||
<a href="https://github.com/RayExo"><img src="https://img.shields.io/badge/GitHub-RayExo-181717?style=for-the-badge&logo=github&logoColor=white"/></a>
|
||||
<a href="https://discord.gg/hexahost"><img src="https://img.shields.io/badge/Discord-Join_Server-5865F2?style=for-the-badge&logo=discord&logoColor=white"/></a>
|
||||
<a href="https://github.com/theoneandonlymace"><img src="https://img.shields.io/badge/GitHub-theoneandonlymace-181717?style=for-the-badge&logo=github&logoColor=white"/></a>
|
||||
<a href="https://nexiohost.in"><img src="https://img.shields.io/badge/⭐%20PREMIUM%20HOSTING-NexioHost-FFD700?style=for-the-badge&labelColor=1a1a2e&color=FFD700&logoColor=FFD700"/></a>
|
||||
</p>
|
||||
|
||||
© 2026 CodeX Devs — MIT License
|
||||
© 2026 HexaHost — MIT License
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user