项目介绍

jub0t/Mechon 是一个托管在 GitHub 上的开源项目,主要使用 Rust 编写,目前获得 292 个 Star、33 次 Fork。

仓库全名
jub0t/Mechon
Star 数
292
Fork 数
33

README 摘要

Mechon Start your own bot hosting company. A self-hosted panel that runs every Discord bot in its own sandbox. About Mechon is Pterodactyl for bots. Install it on your servers, define the plans you sell, and your customers get a clean panel to deploy their bots, watch the logs and hit restart. You keep the servers, the customers and the money. Every bot runs in its own locked-down container as its own Linux user,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Mechon 用什么语言开发?

主要使用 Rust 编写,目前有 292 个 Star。

如何获取 Mechon 的源码?

可以直接克隆仓库:git clone https://github.com/jub0t/Mechon.git,默认分支为 main;安装与运行步骤见仓库 README。

Mechon 最近还在维护吗?

仓库最近一次更新为 2 周前,当前没有未关闭的 Issue;Star 数为 292,可作为社区活跃度的参考。

关于

Powerful tool to host, manage and deploy Discord bots in multiple languages.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
365
价值分
185
活跃状态
活跃

语言占比

CSS
Go
HTML
JavaScript
Makefile
Python
Shell
TypeScript

Release

README

Mechon

Mechon

Start your own bot hosting company. A self-hosted panel that runs every Discord bot in its own sandbox.

The Mechon dashboard: bots by state, memory in use, deploys and node capacity

Status: preview License: MIT Built with Go Runs on Linux GitHub stars

About

Mechon is Pterodactyl for bots. Install it on your servers, define the plans you sell, and your customers get a clean panel to deploy their bots, watch the logs and hit restart. You keep the servers, the customers and the money.

Every bot runs in its own locked-down container as its own Linux user, with memory, CPU, process and disk limits the kernel enforces. One customer’s bot cannot read another’s token, touch their files or starve their neighbours.

Highlights

  • 🔒 A sandbox per bot. Read-only filesystem, no capabilities, no route to other bots or your private network.
  • 🧾 Plans and quotas. Sell pools of bots, memory, CPU and disk, with per-customer overrides when you need them.
  • 🚀 Deploy any way. discord.js, discord.py and Bun templates. Upload a folder, deploy from git, or ship from CI.
  • 📟 Live console and metrics. Logs as they happen, usage per bot, capacity per server.
  • 💳 Plugs into your billing. An API and signed webhooks for Paymenter, WHMCS or Stripe. No cut, no lock-in.
  • 📦 Two binaries. The panel with Postgres, and one agent per server next to Docker. Nodes dial out, so no ports to open.

Screenshots

A bot's live console with memory, CPU and disk usage

Live console and usage for every bot

Deploy history with a rollback

Deploys by upload, git or API, with rollback

Creating a bot from a template

Pick a template and a size, paste the token

The bot list in the light theme

Every bot at a glance, dark or light

The math

One Hetzner AX41 costs about $65 a month: 6 cores, 64 GB of RAM, 2× 512 GB NVMe. Keep 4 GB for the system and you have about 60 GB to sell. Bots mostly wait on the network, so memory runs out first.

Plan (example price) Per bot Bots per server Revenue / month Profit / month
Starter · $1.50 256 MB, ¼ core, 1 GB disk 240 $360 $295
Standard · $2.50 512 MB, ½ core, 2 GB disk 120 $300 $235
Pro · $4.50 1 GB, 1 core, 5 GB disk 60 $270 $205

A server pays for itself at about 26 Standard customers. Taxes, payment fees and support are yours to add.

Get started

Running it on a server: follow the install guide. Trying it locally needs Go, Node with pnpm, and Postgres:

git clone https://github.com/jub0t/mechon && cd mechon
createdb mechon_dev && make web && make seed   # [email protected] / dev-password-123
make run                                       # then open http://localhost:8080
Warning 警告

Mechon is in preview. Every milestone is built and tested end to end, including a suite of isolation attacks that must all fail, but it has not run in production yet. Next up: a CLI, AI agent templates and the first release.

Contributing

Run a bot host, or want to? Open an issue with what your panel does badly today. Want to write code? The spec and the decision log explain what is being built and why.

Star History

Star History Chart

License

MIT. Host it, change it, sell hosting with it.

评论

暂无评论