mirror of
https://github.com/acepanel/acepanel.github.io.git
synced 2026-02-04 07:57:17 +08:00
feat: hello AcePanel
This commit is contained in:
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
@@ -1,26 +1,22 @@
|
||||
name: Deploy site to Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
|
||||
# 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
# 只允许同时进行一次部署
|
||||
concurrency:
|
||||
group: pages
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
@@ -39,7 +35,6 @@ jobs:
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: .vitepress/dist
|
||||
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
@@ -49,4 +44,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
31
.github/workflows/l10n.yml
vendored
Normal file
31
.github/workflows/l10n.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: L10n
|
||||
on:
|
||||
schedule:
|
||||
- cron: "*/5 * * * *"
|
||||
workflow_dispatch:
|
||||
concurrency:
|
||||
group: l10n
|
||||
cancel-in-progress: true
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
jobs:
|
||||
l10n:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
- name: Sync with Crowdin
|
||||
uses: crowdin/github-action@v2
|
||||
with:
|
||||
config: crowdin.yml
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
download_translations: true
|
||||
export_only_approved: true
|
||||
create_pull_request: true
|
||||
pull_request_title: 'l10n: sync translations with Crowdin'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
@@ -1,7 +1,8 @@
|
||||
commit_message: '[skip ci] Update translations (%language%) %original_file_name%'
|
||||
pull_request_title: 'l10n: update translations'
|
||||
project_id_env: CROWDIN_PROJECT_ID
|
||||
api_token_env: CROWDIN_PERSONAL_TOKEN
|
||||
preserve_hierarchy: true
|
||||
files:
|
||||
- source: /en/**/*.md
|
||||
translation: /%locale_with_underscore%/**/%file_name%.md
|
||||
- source: /.vitepress/config/en.ts
|
||||
translation: /.vitepress/config/%locale_with_underscore%.ts
|
||||
translation: /.vitepress/config/%locale_with_underscore%.ts
|
||||
|
||||
@@ -30,7 +30,7 @@ const members = [
|
||||
|
||||
# About
|
||||
|
||||
RatPanel is a professional server operation and maintenance management panel dedicated to providing users with simple, efficient, and secure server management solutions.
|
||||
AcePanel is a professional server operation and maintenance management panel dedicated to providing users with simple, efficient, and secure server management solutions.
|
||||
|
||||
| Vision | Mission | Values |
|
||||
|----------------------------------------------------------|---------------------------------------------|---------------------------------------------------|
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Overview
|
||||
|
||||
RatPanel provides a secure RESTful interface for interacting with the panel system. All API requests require HMAC-SHA256 signature authentication to ensure the security and integrity of communications.
|
||||
AcePanel provides a secure RESTful interface for interacting with the panel system. All API requests require HMAC-SHA256 signature authentication to ensure the security and integrity of communications.
|
||||
|
||||
## Basic Information
|
||||
|
||||
@@ -182,7 +182,7 @@ func HMACSHA256(data string, secret string) string {
|
||||
```php
|
||||
<?php
|
||||
/**
|
||||
* RatPanel API Request Example (PHP)
|
||||
* AcePanel API Request Example (PHP)
|
||||
*/
|
||||
|
||||
function signRequest($method, $url, $body, $id, $token) {
|
||||
@@ -374,9 +374,9 @@ import javax.crypto.spec.SecretKeySpec;
|
||||
import java.util.Base64;
|
||||
|
||||
/**
|
||||
* RatPanel API Request Example (Java)
|
||||
* AcePanel API Request Example (Java)
|
||||
*/
|
||||
public class RatPanelApiExample {
|
||||
public class AcePanelApiExample {
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Frequently Asked Questions
|
||||
|
||||
Here are some common questions and answers about RatPanel. If you have any other questions, please feel free to ask in the [RatPanel Community](https://tom.moe/c/technical/ratpanel). If you find any bugs, please submit a [GitHub Issue](https://github.com/tnb-labs/panel/issues).
|
||||
Here are some common questions and answers about AcePanel. If you have any other questions, please feel free to ask in the [AcePanel Community](https://tom.moe/c/technical/acepanel). If you find any bugs, please submit a [GitHub Issue](https://github.com/tnborg/panel/issues).
|
||||
|
||||
## Configure QUIC (HTTP3)
|
||||
|
||||
RatPanel currently supports automatic QUIC configuration, but for compatibility reasons, the `Alt-Svc` header is not added by default. Browsers will not attempt to use QUIC connections without detecting the `Alt-Svc` header.
|
||||
AcePanel currently supports automatic QUIC configuration, but for compatibility reasons, the `Alt-Svc` header is not added by default. Browsers will not attempt to use QUIC connections without detecting the `Alt-Svc` header.
|
||||
|
||||
If you are not using a CDN, you can add the configuration below to your website's rewrite rules to let browsers know that the website supports and uses QUIC connections.
|
||||
|
||||
@@ -32,7 +32,7 @@ ssl_prefer_server_ciphers on;
|
||||
|
||||
## Configure Reverse Proxy
|
||||
|
||||
RatPanel v2.4.10+ comes with a built-in reverse proxy configuration generator, which you can access through the top right corner of the site rewrite configuration page.
|
||||
AcePanel v2.4.10+ comes with a built-in reverse proxy configuration generator, which you can access through the top right corner of the site rewrite configuration page.
|
||||
|
||||
Note: If you encounter issues with static resources like CSS/JS not loading properly after setting up a reverse proxy, please remove the **Do not log static files** section from the site's main configuration file.
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ The probability of serious security vulnerabilities in modern systems is low, bu
|
||||
|
||||
### Panel Aspects
|
||||
|
||||
RatPanel has the same privileges as root, and improper management can cause serious security problems. You should:
|
||||
AcePanel has the same privileges as root, and improper management can cause serious security problems. You should:
|
||||
|
||||
1. Regularly update the Panel and applications installed through it. We recommend following our channel or group to receive various update messages promptly.
|
||||
2. Prohibit weak passwords and the default 8888 port for the Panel. Passwords are strongly recommended to be generated using a random generator with more than 20 mixed characters and stored in a secure location.
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
---
|
||||
layout: home
|
||||
hero:
|
||||
name: "Rat Panel"
|
||||
name: "AcePanel"
|
||||
text: "Simple · lightweight · efficient"
|
||||
tagline: Enterprise server operation and maintenance management panel
|
||||
actions:
|
||||
- theme: brand
|
||||
text: 🌟 Star
|
||||
link: https://github.com/tnb-labs/panel
|
||||
link: https://github.com/tnborg/panel
|
||||
target: _blank
|
||||
- theme: alt
|
||||
text: Quick install
|
||||
@@ -46,7 +46,7 @@ features:
|
||||
<img width="160" src="/wxd.png" alt="WeiXiaoDuo">
|
||||
</a>
|
||||
<a href="https://www.dkdun.cn/aff/MQZZNVHQ" style="padding: 1rem;">
|
||||
<img width="160" src="/dk.png" alt="LinFeng Cloud">
|
||||
<img width="160" src="/dk.png" alt="LF Cloud">
|
||||
</a>
|
||||
<a href="https://waf.pro/">
|
||||
<img width="160" src="/wafpro.png" alt="WAFPRO" style="padding: 1rem;">
|
||||
|
||||
28
renovate.json
Normal file
28
renovate.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"commitMessagePrefix": "chore(deps): ",
|
||||
"lockFileMaintenance": {
|
||||
"enabled": true,
|
||||
"automerge": true
|
||||
},
|
||||
"platformAutomerge": true,
|
||||
"postUpdateOptions": [
|
||||
"pnpmDedupe"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"groupName": "non-major dependencies",
|
||||
"matchUpdateTypes": [
|
||||
"digest",
|
||||
"pin",
|
||||
"patch",
|
||||
"minor"
|
||||
],
|
||||
"automerge": true
|
||||
}
|
||||
],
|
||||
"ignoreDeps": []
|
||||
}
|
||||
Reference in New Issue
Block a user