Zane Chen 131150d84d Feat/web UI (#4)
* feat: add learning website with Next.js

Add interactive web interface for the Build Your Own OpenClaw tutorial:
- Next.js app with TypeScript and Tailwind CSS
- Theme provider with dark/light mode toggle
- Step card components with diff visualization
- Utilities for loading step metadata and file diffs

* chore: ignore worktrees directory

* feat(web): implement learning website with step navigation and diff viewer

- Landing page with hero section and steps overview grouped by phase
- Step detail pages with README rendering and syntax highlighting (Shiki)
- Diff comparison pages with side-by-side GitHub-style viewer
- Custom 404 Not Found page
- Components: ReadmeRenderer, CodeBlock, DiffViewer, DiffSelector
- Generates 175 static pages (18 steps + 153 diff combinations)

* feat(web): enhance UI with zane-portfolio theme and improved UX

- Update color scheme to match zane-portfolio style (warm beige light, pure black dark)
- Add scrollbar styling for light/dark modes
- Fix card border visibility in dark mode
- Add GitHub CTA section with clone command and copy button
- Add star on GitHub call-to-action
- Use favicons from zane-portfolio
- Improve diff viewer with scroll sync and collapsible files
- Add sticky header with file navigation dropdown
- Rewrite README links to GitHub and internal step pages
- Remove default create-next-app template files

* ci: add GitHub Pages deployment workflow

- Add workflow to build and deploy Next.js static site
- Configure custom domain (build-your-own-openclaw.kiyo-n-zane.com)
- Trigger on push to main branch

* fix config

* fix config

* fix config
2026-03-14 21:10:15 -04:00
2026-03-14 21:06:19 -04:00
2026-03-13 09:17:50 -04:00
2026-03-12 22:12:30 -04:00
2026-03-12 22:12:30 -04:00
2026-03-12 22:12:30 -04:00
2026-03-12 22:12:30 -04:00
2026-03-12 22:12:30 -04:00
2026-03-13 13:41:55 -04:00
2026-03-12 22:12:30 -04:00
2026-03-13 13:41:55 -04:00
2026-03-13 13:41:55 -04:00
2026-03-13 00:30:32 -04:00
2026-03-13 13:41:55 -04:00
2026-03-13 09:17:50 -04:00
2026-03-13 09:17:50 -04:00
2026-03-13 00:30:32 -04:00
2026-03-13 09:17:50 -04:00
2026-03-13 09:17:50 -04:00
2026-03-13 13:41:55 -04:00
2026-03-12 22:12:30 -04:00
2026-03-14 21:10:15 -04:00
2026-03-14 17:47:12 -04:00
2026-03-10 22:35:02 -04:00

Build Your Own OpenClaw

A step-by-step tutorial to build your own AI agent, from a simple chat loop to a lightweight version of OpenClaw.

Overview

18 progressive steps that teach you how to build an minimal version of OpenClaw. Each step includes:

  • A README.md going through key components and design decision.
  • A Runnable codebase.

Example Project: pickle-bot - our reference implementation

Tutorial Structure

Phase 1: Capable Single Agent (Steps 1-7)

Build a fully-functional agent that can chat, use tools, learn skills, remember conversations, and access the internet.

Phase 2: Event-Driven Architecture (Steps 8-11)

Refactor to event-driven architecture for scalability and multi-platform support.

Phase 3: Autonomous & Multi-Agent (Steps 12-16)

Add scheduled tasks, agent collaboration, and intelligent routing.

Phase 4: Production & Scale (Steps 17-18)

Production features for reliability and long-term memory.

How to Use This Tutorial

Configure API Keys

Before running any step, you need to configure your API keys:

  1. Copy the example config:

    cp default_workspace/config.example.yaml default_workspace/config.user.yaml
    
  2. Edit config.user.yaml with your API keys:

  3. Just follow each steps, read and try it out.

Contributing

Each step is implemented in a separate session. Feel free to suggest improvements!

S
Description
No description provided
Readme MIT
1.3 MiB
Languages
Python 94.8%
TypeScript 4.8%
CSS 0.3%
JavaScript 0.1%