Skip to content

Commit 3c97c43

Browse files
Merge origin/dev-v2 into pr@dev-v2@workflows
2 parents 2684f56 + 4eda92f commit 3c97c43

942 files changed

Lines changed: 110880 additions & 38137 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "gomod"
5+
directories:
6+
- "/agent"
7+
- "/core"
8+
schedule:
9+
interval: "daily"
10+
11+
- package-ecosystem: "npm"
12+
directory: "/frontend"
13+
schedule:
14+
interval: "daily"
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
1-
name: Create Release And Upload Cloudflare R2
1+
name: Build And Publish (OSS + R2)
2+
23
on:
34
push:
45
tags:
56
- 'v*'
7+
68
jobs:
79
create-release:
810
runs-on: ubuntu-latest
911
steps:
1012
- name: Checkout Code
1113
uses: actions/checkout@v4
14+
1215
- name: Setup Node
1316
uses: actions/setup-node@v4
1417
with:
15-
node-version: '22.19.0'
18+
node-version: '24.11.1'
19+
1620
- name: Build Web
1721
run: |
1822
cd frontend && npm install && npm run build:pro
1923
env:
2024
NODE_OPTIONS: --max-old-space-size=8192
25+
2126
- name: Setup Go
2227
uses: actions/setup-go@v5
2328
with:
24-
go-version: '1.24'
29+
go-version: '1.25'
30+
cache-dependency-path: |
31+
core/go.sum
32+
agent/go.sum
33+
2534
- name: Build Release
2635
uses: goreleaser/goreleaser-action@v6
2736
with:
2837
distribution: goreleaser
2938
version: '~> v2'
3039
args: release --skip=publish --clean
40+
3141
- name: Upload Assets
3242
uses: softprops/action-gh-release@v1
3343
if: startsWith(github.ref, 'refs/tags/')
@@ -36,10 +46,24 @@ jobs:
3646
files: |
3747
dist/*.tar.gz
3848
dist/checksums.txt
49+
50+
- name: Setup OSSUTIL
51+
uses: yizhoumo/setup-ossutil@v2
52+
with:
53+
endpoint: ${{ secrets.OSS_ENDPOINT }}
54+
access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
55+
access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
56+
ossutil-version: '1.7.18'
57+
58+
- name: Upload Assets to OSS
59+
run: |
60+
ossutil cp -r dist/ oss://resource-fit2cloud-com/1panel/package/v2/stable/${{ github.ref_name }}/release/ --include "*.tar.gz" --include "checksums.txt" --only-current-dir --force
61+
3962
- name: Setup Rclone
4063
uses: AnimMouse/setup-rclone@v1
4164
with:
4265
rclone_config: ${{ secrets.RCLONE_CONFIG }}
66+
4367
- name: Upload to Cloudflare R2
4468
run: |
4569
rclone copy dist/ cloudflare_r2:package/v2/stable/${{ github.ref_name }}/release/ --include "*.tar.gz" --include "checksums.txt" --progress

.github/workflows/build-publish-to-oss.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.gitignore

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ build/1panel-core
99

1010
# Mac
1111
.DS_Store
12-
*/.DS_Store
1312

1413
# VS Code
1514
.vscode
@@ -41,15 +40,10 @@ core/cmd/server/web/index.html
4140
frontend/auto-imports.d.ts
4241
frontend/components.d.ts
4342
frontend/src/xpack
43+
frontend/src/xpack-ee
4444
agent/xpack
45-
agent/router/entry_xpack.go
46-
agent/server/init_xpack.go
47-
agent/utils/xpack/xpack_xpack.go
4845
core/xpack
49-
core/router/entry_xpack.go
50-
core/server/init_xpack.go
51-
core/utils/xpack/xpack_xpack.go
52-
xpack
46+
core/xpack-ee
5347

5448
.history/
5549
dist/
@@ -62,4 +56,12 @@ cmd/server/fileList.txt
6256
1Panel.code-workspace
6357

6458
core/.golangci.yml
65-
agent/.golangci.yml
59+
agent/.golangci.yml
60+
61+
.opencode
62+
openspec
63+
CLAUDE.md
64+
AGENTS.md
65+
opencode.json
66+
superpowers
67+
.worktrees/

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ PR are always welcome, even if they only contain small fixes like typos or a few
1010

1111
Please submit a PR broken down into small changes bit by bit. A PR consisting of a lot of features and code changes may be hard to review. It is recommended to submit PRs in an incremental fashion.
1212

13-
This [development guideline](https://docs.1panel.pro/dev_manual/dev_manual/) contains information about repository structure, how to set up development environment, how to run it, and more.
14-
1513
Note: If you split your pull request to small changes, please make sure any of the changes goes to master will not break anything. Otherwise, it can not be merged until this feature complete.
1614

15+
## Add a new translation
16+
17+
If you'd like to help translate 1Panel into a new language, please read the [Translation Contribution Guide](docs/TRANSLATION.md). It lists every file you need to create or modify, along with a reference PR you can use as a concrete example.
18+
1719
## Report issues
1820
It is a great way to contribute by reporting an issue. Well-written and complete bug reports are always welcome! Please open an issue and follow the template to fill in required information.
1921

README.md

Lines changed: 69 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,115 @@
11
<p align="center"><a href="https://1panel.pro"><img src="https://resource.1panel.pro/img/1panel-logo.png" alt="1Panel" width="300" /></a></p>
2-
<p align="center"><b>Top-Rated Web-based Linux Server Management Tool</b><br>Best VPS control panel<br>新一代的 Linux 服务器运维管理面板</p>
2+
3+
<h3 align="center">The open-source VPS control panel with native AI agent support</h3>
4+
5+
<p align="center">
6+
Trusted by <strong>2,000,000+</strong> self-hosters worldwide
7+
</p>
8+
39
<p align="center">
410
<a href="https://trendshift.io/repositories/2462" target="_blank"><img src="https://trendshift.io/api/badge/repositories/2462" alt="1Panel-dev%2F1Panel | Trendshift" style="width: 240px; height: auto;" /></a>
511
</p>
12+
613
<p align="center">
714
<a href="https://www.gnu.org/licenses/gpl-3.0.html"><img src="https://shields.io/github/license/1Panel-dev/1Panel?color=%231890FF" alt="License: GPL v3"></a>
8-
<a href="https://app.codacy.com/gh/1Panel-dev/1Panel?utm_source=github.com&utm_medium=referral&utm_content=1Panel-dev/1Panel&utm_campaign=Badge_Grade_Dashboard"><img src="https://app.codacy.com/project/badge/Grade/da67574fd82b473992781d1386b937ef" alt="Codacy"></a>
9-
<a href="https://discord.gg/bUpUqWqdRr" target="_blank">
10-
<img src="https://img.shields.io/discord/1318846410149335080?logo=discord&labelColor=%20%235462eb&logoColor=%20%23f5f5f5&color=%20%235462eb"
11-
alt="chat on Discord"></a>
15+
<a href="https://app.codacy.com/gh/1Panel-dev/1Panel"><img src="https://app.codacy.com/project/badge/Grade/da67574fd82b473992781d1386b937ef" alt="Codacy"></a>
16+
<a href="https://discord.gg/bUpUqWqdRr"><img src="https://img.shields.io/discord/1318846410149335080?logo=discord&labelColor=%20%235462eb&logoColor=%20%23f5f5f5&color=%20%235462eb" alt="Discord"></a>
1217
<a href="https://github.com/1Panel-dev/1Panel/releases"><img src="https://img.shields.io/github/v/release/1Panel-dev/1Panel" alt="GitHub release"></a>
13-
<a href="https://github.com/1Panel-dev/1Panel"><img src="https://img.shields.io/github/stars/1Panel-dev/1Panel?color=%231890FF&style=flat-square" alt="Stars"></a><br>
18+
<a href="https://github.com/1Panel-dev/1Panel"><img src="https://img.shields.io/github/stars/1Panel-dev/1Panel?color=%231890FF&style=flat-square" alt="Stars"></a>
1419
</p>
20+
1521
<p align="center">
1622
<a href="/README.md"><img alt="English" src="https://img.shields.io/badge/English-d9d9d9"></a>
1723
<a href="/docs/README.zh-Hans.md"><img alt="中文(简体)" src="https://img.shields.io/badge/中文(简体)-d9d9d9"></a>
1824
<a href="/docs/README.ja.md"><img alt="日本語" src="https://img.shields.io/badge/日本語-d9d9d9"></a>
1925
<a href="/docs/README.pt-br.md"><img alt="Português (Brasil)" src="https://img.shields.io/badge/Português (Brasil)-d9d9d9"></a>
2026
<a href="/docs/README.ar.md"><img alt="العربية" src="https://img.shields.io/badge/العربية-d9d9d9"></a>
2127
<a href="/docs/README.de.md"><img alt="Deutsch" src="https://img.shields.io/badge/Deutsch-d9d9d9"></a>
22-
<a href="/docs/README.es.md"><img alt="Español" src="https://img.shields.io/badge/Español-d9d9d9"></a><br>
28+
<a href="/docs/README.es.md"><img alt="Español" src="https://img.shields.io/badge/Español-d9d9d9"></a>
2329
<a href="/docs/README.fr.md"><img alt="français" src="https://img.shields.io/badge/français-d9d9d9"></a>
2430
<a href="/docs/README.ko.md"><img alt="한국어" src="https://img.shields.io/badge/한국어-d9d9d9"></a>
2531
<a href="/docs/README.id.md"><img alt="Bahasa Indonesia" src="https://img.shields.io/badge/Bahasa Indonesia-d9d9d9"></a>
2632
<a href="/docs/README.zh-Hant.md"><img alt="中文(繁體)" src="https://img.shields.io/badge/中文(繁體)-d9d9d9"></a>
2733
<a href="/docs/README.tr.md"><img alt="Türkçe" src="https://img.shields.io/badge/Türkçe-d9d9d9"></a>
28-
<a href="/docs/README.ru.md"><img alt="Русский" src="https://img.shields.io/badge/%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9-d9d9d9"></a>
34+
<a href="/docs/README.ru.md"><img alt="Русский" src="https://img.shields.io/badge/Русский-d9d9d9"></a>
2935
<a href="/docs/README.ms.md"><img alt="Bahasa Melayu" src="https://img.shields.io/badge/Bahasa Melayu-d9d9d9"></a>
3036
</p>
3137

32-
------------------------------
38+
---
39+
40+
## What is 1Panel?
41+
42+
1Panel is a modern, open-source VPS control panel — and the only one with **native AI agent support**. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface. No CLI memorization required.
43+
44+
👉 Watch the [2-minute introduction](https://www.youtube.com/watch?v=Jl_wqp-XA08)
45+
46+
## Why 1Panel?
3347

34-
1Panel is an open-source, modern web-based control panel for Linux server management.
48+
| | 1Panel | cPanel / Plesk | aaPanel | Webmin |
49+
|--|--------|----------------|---------|--------|
50+
| Free & open source ||| Partial ||
51+
| Native AI agent runtime |||||
52+
| One-click app marketplace | ✅ 165+ apps ||||
53+
| Modern UI (post-2020) ||| Partial ||
54+
| Docker / container management |||||
55+
| Active development |||| Slow |
3556

36-
- **Efficient Management**: Through a user-friendly web graphical interface, 1Panel enables users to effortlessly manage their Linux servers. Key features include host monitoring, file management, database administration, container management, LLMs management.
37-
- **Rapid Website Deployment**: With deep integration of the popular open-source website building software WordPress, 1Panel streamlines the process of domain binding and SSL certificate configuration, all achievable with just one click.
38-
- **Application Store**: 1Panel curates a wide range of high-quality open-source tools and applications, facilitating easy installation and updates for its users.
39-
- **Security and Reliability**: By leveraging containerization and secure application deployment practices, 1Panel minimizes vulnerability exposure. It further enhances security through integrated firewall management and log auditing capabilities.
40-
- **One-Click Backup & Restore**: Data protection is made simple with 1Panel's one-click backup and restore functionality, supporting various cloud storage solutions to ensure data integrity and availability.
57+
## Key Features
58+
59+
- **AI Agent Runtime**: Deploy Ollama LLMs, spin up OpenClaw personal agents, and monitor GPU utilization — all from the dashboard. No separate AI stack to manage.
60+
- **One-Click Website Deployment**: Launch production-ready websites with automatic domain binding, SSL provisioning, and Nginx config — zero manual setup.
61+
- **App Marketplace**: 165+ trusted open-source apps (Nextcloud, Bitwarden, Umami, NocoBase, and more) installed and updated with a single click.
62+
- **Docker & Container Management**: Create, start, stop, and inspect containers, images, networks, and volumes through a visual UI — no CLI juggling.
63+
- **Security Out of the Box**: Firewall rules, fail2ban, container isolation, WAF, and audit logs — configured and running from day one.
64+
- **Backup & Restore**: Schedule automated backups to AWS S3, Cloudflare R2, or local storage. Restore any snapshot in one click.
4165

4266
## Quick Start
4367

44-
Execute the script below and follow the prompts to install 1Panel:
68+
> **Requirements:** Linux VPS (Debian / Ubuntu / CentOS / Rocky), 1 GB RAM, internet access.
69+
> Takes ~60 seconds.
4570
4671
```bash
47-
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh
72+
bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"
4873
```
4974

50-
Please refer to our [documentation](https://docs.1panel.pro/quick_start/) for more details.
51-
52-
中国用户请使用这个 [安装脚本](https://1panel.cn/docs/installation/online_installation/),其应用数量比国际版本更丰富。
75+
After installation, open `http://<your-server-ip>:<port>/<security-path>` in your browser.
76+
Run `1pctl user-info` via SSH if you need to retrieve your access credentials.
5377

5478
## Screenshot
5579

56-
![UI Display](https://resource.1panel.pro/img/1panel.png)
80+
![1Panel UI](https://resource.1panel.pro/img/overview_en_v2.png)
81+
82+
## Pro Edition
83+
84+
1Panel OSS is free forever. Pro adds features built for teams and production workloads:
85+
86+
| Feature | OSS | Pro |
87+
|---------|:---:|:---:|
88+
| One-click app installs |||
89+
| AI agents (OpenClaw) | 1 agent | Unlimited |
90+
| WAF & advanced security | Basic ||
91+
| Website tamper protection |||
92+
| Website uptime monitoring |||
93+
| Multi-node management |||
94+
| Custom logo & theme |||
95+
| Priority support |||
96+
97+
**From $80/year.** [Compare plans & start 30-day free trial →](https://1panel.pro/pricing)
5798

5899
## Star History
59100

60101
[![Star History Chart](https://api.star-history.com/svg?repos=1Panel-dev/1Panel&type=Date)](https://star-history.com/#1Panel-dev/1Panel&Date)
61102

62-
## Pro Edition
103+
## Community & Support
63104

64-
Compared to the OSS Edition, 1Panel Pro Edition provides users with a wealth of enhanced features and technical support services. Enhanced features include WAF enhancement, website tamper protection, website monitoring, GPU monitoring, custom logo and theme color, etc. [Click to view the detailed introduction of the Pro Edition](https://1panel.pro/pricing).
105+
- **Discord**[Join the community](https://discord.gg/bUpUqWqdRr) for help, feature requests, and show-and-tell
106+
- **Docs**[1panel.pro/docs](https://1panel.pro/docs)
107+
- **Issues**[GitHub Issues](https://github.com/1Panel-dev/1Panel/issues) for bug reports
65108

66-
## Security Information
109+
## Security
67110

68-
If you discover any security issues, please refer to [SECURITY.md](/SECURITY.md).
111+
Found a vulnerability? Please read [SECURITY.md](/SECURITY.md) before disclosing.
69112

70113
## License
71114

72-
Licensed under The GNU General Public License version 3 (GPLv3) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
73-
74-
<https://www.gnu.org/licenses/gpl-3.0.html>
75-
76-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
115+
Licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html).

0 commit comments

Comments
 (0)