An open API service indexing awesome lists of open source software.

https://github.com/zenthcloud/lab-bot


https://github.com/zenthcloud/lab-bot

api discord-js javascript lab proxmox tools zenthcloud

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# Zenth Lab Discord Bot

The **Zenth Lab Discord Bot** is an open-source command-driven assistant that allows users to deploy, manage, and interact with cybersecurity and cloud labs directly from Discord. It integrates with the Zenth Cloud infrastructure to provision ephemeral, secure lab environments for training, pentesting, or academic purposes.

---

## โœจ Features

- ๐Ÿš€ Launch cyber labs and training environments via Discord commands
- ๐Ÿ”’ Role-based access and user authentication
- ๐Ÿงช Integration with Zenth Cloud infrastructure (Proxmox, Docker, Kubernetes)
- โณ Automatic lab expiration and lifecycle control
- ๐Ÿ“ก Real-time status updates and logs
- ๐Ÿง  Designed for education, pentesting, and research communities

---

## ๐Ÿ’ฌ Available Commands

| Command | Description |
|--------|-------------|
| `/lab launch [lab_name]` | Launch a predefined lab |
| `/lab list` | List all available labs |
| `/lab status [lab_id]` | Check the status of an active lab |
| `/lab stop [lab_id]` | Stop a running lab manually |
| `/lab help` | Get help on usage |

---

## ๐Ÿ— Architecture

- **Bot Framework**: `discord.py` or `discord.js`
- **API Backend**: Connects to `zenth-cyber-orchestrator` for infrastructure provisioning
- **Cloud Providers**: Integrates with Zenth Container Server, Proxmox, Kubernetes
- **SSO & Access**: Uses Zenth SSO or Discord roles for access control
- **Monitoring**: Connected to Zenth Monitoring Server

---

## ๐Ÿงฐ Requirements

- Python 3.10+ or Node.js 18+
- Discord Bot Token
- Access to Zenth Cloud API
- Optional: VPN or proxy access to internal infrastructure

---

## ๐Ÿš€ Getting Started

1. Clone the repository:

```bash
git clone https://github.com/zenthcloud/lab-bot.git
cd lab-bot
````

2. Set up your environment variables:

```env
DISCORD_BOT_TOKEN=your_token_here
ZENTH_API_URL=https://api.zenthcloud.com/labs
ZENTH_API_KEY=your_api_key_here
```

3. Install dependencies and run the bot:

```bash
# Node.js version
npm install
node index.js
```
---

## ๐Ÿ“š Use Cases

* Cybersecurity training (Kali Linux, CTFs, pentest labs)
* Educational environments for schools or universities
* Research & development on cloud security
* Discord-integrated community labs (HTB-style)

---

## ๐Ÿ”— Links

* ๐Ÿ”— Zenth Cloud: [Website](https://zenthcloud.com)
* ๐Ÿ”ง Zenth Cyber Orchestrator: `zenth-cyber-orchestrator`
* ๐Ÿ“ฆ Zenth Container Server: `zenth-container-server`
* ๐Ÿ“š Labs and curriculum: `zenth-network-academic`

---

## ๐Ÿ›ก License

This project is licensed under the **AGPLv3**. See [LICENSE](./LICENSE) for details.

---

## ๐Ÿค Contributing

We welcome community contributions! Please open issues, submit PRs, or join the discussion on [Discord](https://discord.gg/zenthcloud) or Matrix.