<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>goclaw - Go 语言 AI Agent 框架</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-color: #00ADD8; /* Go Cyan */
--primary-dark: #00758D;
--secondary-color: #00A29C;
--accent-color: #5DC9E2;
--bg-color: #F4F7F9;
--card-bg: #FFFFFF;
--text-main: #1F2937;
--text-secondary: #4B5563;
--code-bg: #1E1E1E;
--font-main: 'Noto Sans SC', sans-serif;
--font-code: 'JetBrains Mono', monospace;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-main);
background-color: #E0E0E0;
display: flex;
justify-content: center;
min-height: 100vh;
}
.poster-container {
width: 720px;
min-height: 960px;
background-color: var(--bg-color);
background-image:
radial-gradient(circle at 10% 10%, rgba(0, 173, 216, 0.05) 0%, transparent 40%),
radial-gradient(circle at 90% 90%, rgba(0, 162, 156, 0.05) 0%, transparent 40%),
linear-gradient(#E5E7EB 1px, transparent 1px),
linear-gradient(90deg, #E5E7EB 1px, transparent 1px);
background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
color: var(--text-main);
padding: 40px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* Decorative Elements */
.paw-bg {
position: absolute;
top: -50px;
right: -50px;
width: 300px;
height: 300px;
opacity: 0.08;
background-image: url('https://sfile.chatglm.cn/image/34/3404ed18.jpg');
background-size: contain;
background-repeat: no-repeat;
z-index: 0;
transform: rotate(-15deg);
}
/* Header */
header {
position: relative;
z-index: 1;
margin-bottom: 30px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 3px solid var(--primary-color);
padding-bottom: 20px;
}
.header-text h1 {
font-size: 64px;
font-weight: 900;
color: var(--primary-dark);
line-height: 1.1;
letter-spacing: -2px;
margin-bottom: 5px;
}
.header-text h2 {
font-size: 24px;
font-weight: 500;
color: var(--text-secondary);
}
.header-logo {
width: 80px;
height: 80px;
border-radius: 16px;
background: white;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 173, 216, 0.2);
}
.header-logo img {
width: 60px;
height: 60px;
object-fit: contain;
}
/* Content Grid */
.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 30px;
position: relative;
z-index: 1;
}
.card {
background: var(--card-bg);
border-radius: 16px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
border-left: 4px solid var(--primary-color);
transition: transform 0.2s;
display: flex;
flex-direction: column;
}
.card:hover {
transform: translateY(-2px);
}
.card.full-width {
grid-column: span 2;
}
.card-title {
display: flex;
align-items: center;
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
color: var(--primary-dark);
}
.card-title .material-icons {
margin-right: 8px;
font-size: 24px;
color: var(--primary-color);
}
.card-content {
font-size: 14px;
color: var(--text-secondary);
line-height: 1.6;
flex-grow: 1;
}
.feature-list {
list-style: none;
}
.feature-list li {
display: flex;
align-items: center;
margin-bottom: 6px;
}
.feature-list li::before {
content: "•";
color: var(--primary-color);
font-weight: bold;
margin-right: 8px;
}
/* Skills Highlight */
.skills-highlight {
background: linear-gradient(135deg, #00ADD8 0%, #00A29C 100%);
color: white;
border-left: none;
}
.skills-highlight .card-title,
.skills-highlight .card-content {
color: white;
}
.skills-tag {
display: inline-block;
background: rgba(255,255,255,0.2);
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
margin-right: 5px;
margin-bottom: 5px;
}
/* Architecture Section */
.architecture-section {
margin-bottom: 30px;
position: relative;
z-index: 1;
}
.section-title {
font-size: 20px;
font-weight: 700;
color: var(--text-main);
margin-bottom: 15px;
display: flex;
align-items: center;
}
.section-title .material-icons {
margin-right: 8px;
color: var(--primary-dark);
}
.arch-diagram {
width: 100%;
height: 200px;
border-radius: 12px;
overflow: hidden;
position: relative;
background: #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.arch-diagram img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
/* Quick Start Code */
.code-section {
background: var(--code-bg);
border-radius: 12px;
padding: 20px;
margin-bottom: 30px;
color: #D4D4D4;
font-family: var(--font-code);
font-size: 14px;
position: relative;
z-index: 1;
border-top: 4px solid var(--secondary-color);
}
.code-line {
margin-bottom: 6px;
display: flex;
}
.prompt {
color: #4EC9B0;
margin-right: 8px;
}
.command {
color: #DCDCAA;
}
.comment {
color: #6A9955;
font-style: italic;
}
/* CLI Commands */
.cli-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.cli-table th {
background: #F3F4F6;
text-align: left;
padding: 10px 15px;
color: var(--text-secondary);
font-weight: 600;
width: 40%;
}
.cli-table td {
padding: 10px 15px;
border-top: 1px solid #E5E7EB;
color: var(--text-main);
}
.cli-cmd {
font-family: var(--font-code);
color: var(--primary-dark);
font-weight: 600;
}
/* Footer */
footer {
margin-top: auto;
padding-top: 20px;
border-top: 1px solid #E5E7EB;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
color: var(--text-secondary);
position: relative;
z-index: 1;
}
.footer-info {
display: flex;
align-items: center;
}
.footer-info img {
width: 20px;
height: 20px;
margin-right: 8px;
border-radius: 4px;
}
.tag {
background: var(--primary-color);
color: white;
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
margin-left: 8px;
}
</style>
</head>
<body>
<div class="poster-container">
<div class="paw-bg"></div>
<header>
<div class="header-text">
<h1>goclaw</h1>
<h2>Go 语言 AI Agent 框架</h2>
</div>
<div class="header-logo">
<img src="https://sfile.chatglm.cn/image/dd/dd38019d.jpg" alt="Go Logo">
</div>
</header>
<div class="content-grid">
<!-- Core Features -->
<div class="card">
<div class="card-title">
<i class="material-icons">build</i>
工具系统
</div>
<div class="card-content">
<ul class="feature-list">
<li>FileSystem & Shell</li>
<li>Web & Browser 自动化</li>
<li>Docker 沙箱支持</li>
</ul>
</div>
</div>
<div class="card">
<div class="card-title">
<i class="material-icons">hub</i>
多渠道支持
</div>
<div class="card-content">
<ul class="feature-list">
<li>Telegram / WhatsApp</li>
<li>飞书 / QQ / 企业微信</li>
<li>WebSocket Gateway</li>
</ul>
</div>
</div>
<!-- Skills System Highlight -->
<div class="card skills-highlight full-width">
<div class="card-title">
<i class="material-icons">auto_awesome</i>
强大的技能系统 (Skills)
</div>
<div class="card-content">
<p style="margin-bottom: 10px;">基于 Markdown 编写技能 (SKILL.md),完全兼容 OpenClaw 生态。</p>
<div>
<span class="skills-tag">Prompt-Driven</span>
<span class="skills-tag">Auto Gating</span>
<span class="skills-tag">Environment Aware</span>
<span class="skills-tag">Hot Reload</span>
</div>
</div>
</div>
<div class="card">
<div class="card-title">
<i class="material-icons">psychology</i>
多 LLM 支持
</div>
<div class="card-content">
支持 OpenAI, Anthropic, OpenRouter 等多模型提供商,支持故障转移策略。
</div>
</div>
<div class="card">
<div class="card-title">
<i class="material-icons">schedule</i>
Cron 调度
</div>
<div class="card-content">
内置定时任务调度器,支持复杂的时间规则配置。
</div>
</div>
</div>
<!-- Architecture -->
<div class="architecture-section">
<div class="section-title">
<i class="material-icons">account_tree</i>
架构概览
</div>
<div class="arch-diagram">
<img src="https://sfile.chatglm.cn/image/ab/ab1a187e.jpg" alt="Architecture Diagram">
<div style="position: absolute; bottom: 10px; right: 15px; background: rgba(0,0,0,0.6); color: white; padding: 2px 8px; border-radius: 4px; font-size: 10px;">
Agent Core: Loop, Context, Memory, Tools
</div>
</div>
</div>
<!-- Quick Start -->
<div class="code-section">
<div class="code-line"><span class="comment"># 快速开始</span></div>
<div class="code-line">
<span class="prompt">$</span>
<span class="command">git clone https://github.com/smallnest/goclaw</span>
</div>
<div class="code-line">
<span class="prompt">$</span>
<span class="command">go build -o goclaw .</span>
</div>
<div class="code-line">
<span class="prompt">$</span>
<span class="command">./goclaw start</span>
</div>
<div class="code-line" style="margin-top:10px; opacity: 0.8;">
<span class="prompt">$</span>
<span class="command">./goclaw skills list</span>
<span class="comment" style="margin-left: 10px;"># 列出可用技能</span>
</div>
</div>
<!-- CLI Reference -->
<table class="cli-table">
<tr>
<th>命令</th>
<th>功能</th>
</tr>
<tr>
<td class="cli-cmd">goclaw start</td>
<td>启动 Agent 服务</td>
</tr>
<tr>
<td class="cli-cmd">goclaw tui</td>
<td>交互式终端界面</td>
</tr>
<tr>
<td class="cli-cmd">goclaw gateway run</td>
<td>运行 WebSocket 网关</td>
</tr>
<tr>
<td class="cli-cmd">goclaw agent --msg "..."</td>
<td>单次执行任务</td>
</tr>
</table>
<footer>
<div class="footer-info">
<span>MIT License</span>
<span class="tag">v1.0</span>
</div>
<div class="footer-info">
<img src="https://sfile.chatglm.cn/image/dd/dd38019d.jpg" alt="Go">
<span>Made with ❤️ by smallnest</span>
</div>
</footer>
</div>
</body>
</html>
登录后可参与表态
讨论回复
0 条回复还没有人回复,快来发表你的看法吧!