Community图像github.com

aradotso/git-city-3d-github-visualization

构建与扩展 Git City —— 一个3D像素艺术城市,通过 Next.js、Three.js 和 Supabase 将 GitHub 个人资料变为可交互的建筑。

git-city-3d-github-visualization 是什么?

该技能用于构建和扩展 Git City 项目——一个基于 Next.js、Three.js 和 Supabase 构建的 3D 像素艺术城市。它将 GitHub 用户个人资料可视化为一栋栋可交互的建筑物,每栋建筑代表一个 GitHub 仓库或用户活动,用户可以通过 3D 场景直观地探索 GitHub 生态。该技能适用于支持 Next.js 和 Three.js 的开发环境(如 Claude Code、Cursor 等),通过解析 GitHub API、生成建筑模型、结合 Supabase 数据库实现动态渲染。其核心价值在于将枯燥的代码统计数据转化为沉浸式的可视化体验,帮助开发者以新颖视角理解 GitHub 贡献模式。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aradotso/trending-skills/tree/main/skills/git-city-3d-github-visualization

Installed? Explore more 图像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

git-city-3d-github-visualization 是做什么的?

使用 Next.js、Three.js 和 Supabase 构建与扩展 Git City —— 一个3D像素艺术城市,将 GitHub 个人资料变为可交互的建筑。

概述

本技能旨在帮助您创建和扩展 Git City,这是一个将 GitHub 个人资料转换为 3D 像素艺术城市的 Web 应用。通过本技能,您可以快速搭建基于 Next.js 的全栈项目,利用 Three.js 渲染 3D 场景,并通过 Supabase 进行数据存储和实时更新。

功能特点

  • 3D 像素艺术渲染:使用 Three.js 创建低多边形、像素风格的建筑和城市景观。
  • GitHub 集成:自动获取 GitHub 用户和仓库数据,将仓库贡献度、星标数等指标映射为建筑高度和颜色。
  • 交互式探索:用户可旋转、缩放场景,点击建筑查看详细信息(如仓库名称、语言、星标数等)。
  • 实时更新:通过 Supabase 数据库存储用户配置和缓存数据,支持多人协作和动态更新。
  • 响应式设计:适配多种屏幕尺寸,提供良好的移动端体验。

环境要求

  • Node.js >= 18
  • npm 或 yarn
  • Git
  • Supabase 账户(用于数据库)
  • GitHub 个人访问令牌(用于 API 调用)

安装与配置

  1. 克隆项目仓库:
git clone https://github.com/aradotso/git-city-3d-github-visualization.git
cd git-city-3d-github-visualization
  1. 安装依赖:
npm install
  1. 创建 .env.local 文件并配置环境变量:
NEXT_PUBLIC_SUPABASE_URL=your-supabase-project-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
GITHUB_TOKEN=your-github-personal-access-token
  1. 启动开发服务器:
npm run dev

使用方法

  1. 打开浏览器访问 http://localhost:3000。
  2. 输入 GitHub 用户名,系统将自动生成对应的 3D 城市。
  3. 拖拽或旋转视角浏览城市,点击建筑查看详细信息。
  4. 您可以通过修改 src/app/page.tsx 中的配置调整城市布局和建筑样式。

项目结构

  • src/app/ — Next.js 应用程序路由和页面
  • src/components/ — React 组件(包括 Three.js 场景、建筑生成器、UI 元素等)
  • src/lib/ — 工具函数和 API 客户端
  • src/types/ — TypeScript 类型定义
  • public/ — 静态资源
  • supabase/ — Supabase 数据库迁移和配置文件

扩展指南

  • 添加新建筑类型:在 src/components/Building.tsx 中添加新的几何体组合。
  • 自定义数据源:修改 src/lib/github.ts 以支持其他 Git 平台(如 GitLab、Bitbucket)。
  • 增强交互效果:在 src/components/CityScene.tsx 中集成点击、悬停事件。
  • 部署:推荐使用 Vercel 进行部署,并确保设置好环境变量。

技术栈

贡献指南

欢迎提交 Pull Request 或 Issue。请确保代码遵循现有风格并通过 lint 检查。

许可证

MIT

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

aradotso/724-office-ai-agent

Self-evolving AI agent system with 26 tools, three-layer memory, MCP plugins, and 24/7 self-repair in pure Python.

aradotso/agency-agents-ai-specialists

A collection of specialized AI agent personalities for Claude Code, Cursor, Aider, Windsurf, and other AI coding tools — covering engineering, design, marketing, sales, and more.

aradotso/agent-browser-automation

Headless browser automation CLI for AI agents using native Rust binary with Chrome DevTools Protocol

aradotso/antigravity-manager

AI coding agent skill for Antigravity Manager — a Tauri v2 + Rust desktop app and Docker service that manages multiple Google/Anthropic accounts and proxies them as standard OpenAI/Anthropic/Gemini API endpoints with intelligent account rotation.

aradotso/aracli-deploy-management

Guide to deploying and managing OpenClaw-compatible AI agent systems across cloud, bare metal, and hybrid infrastructure.

aradotso/autoresearchclaw-autonomous-research

Fully autonomous research pipeline that turns a topic idea into a complete academic paper with real citations, experiments, and conference-ready LaTeX.

aradotso/autoresearch-genealogy

Structured prompts, vault templates, and autonomous research workflows for AI-assisted genealogy using Claude Code.

aradotso/brreg

Search and retrieve Norwegian company data from Brønnøysundregistrene (the Norwegian Business Registry). Access all ~1.2 million registered companies in Norway.

aradotso/chrome-cdp-live-browser

Give AI agents access to your live Chrome session via CDP — interact with open tabs, logged-in accounts, and current page state

aradotso/claude-hud-statusline

A Claude Code plugin that displays a real-time HUD showing context usage, active tools, running agents, and todo progress in your terminal statusline.

aradotso/claude-peers-mcp

Enable multiple Claude Code instances to discover each other and exchange messages in real-time via a local broker daemon and MCP server.

aradotso/clui-cc-claude-overlay

Command Line User Interface for Claude Code — a floating macOS desktop overlay with multi-tab sessions, permission approval UI, voice input, and skills marketplace.

aradotso/cmux-terminal-multiplexer

AI-native terminal multiplexer with programmable socket API, full Playwright-equivalent browser automation, and agent team coordination — built for Claude Code and autonomous agent workflows

aradotso/code-review-graph

Build a persistent knowledge graph of your codebase so Claude reads only what matters — up to 49x fewer tokens on coding tasks.

aradotso/codex-autoresearch-loop

Self-directed iterative research skill for Codex that continuously cycles through modify, verify, retain or discard, and repeat until a measurable goal is reached.

aradotso/copaw-ai-assistant

Personal AI assistant framework supporting multiple chat channels (DingTalk, Feishu, QQ, Discord, etc.) with extensible skills, local/cloud deployment, and cron scheduling.

aradotso/corridorkey-green-screen

AI-powered green screen keyer that unmixes foreground colors and generates clean linear alpha channels using neural networks

aradotso/crucix-intelligence-dashboard

Personal intelligence agent that aggregates 27 OSINT data sources into a self-hosted Jarvis-style dashboard with Telegram/Discord bots, LLM analysis, and real-time alerts.

aradotso/daily-stock-analysis

LLM-powered A/H/US stock intelligent analysis system with multi-source data, real-time news, AI decision dashboards, and multi-channel push notifications via GitHub Actions.

aradotso/deepseek-ocr

Expert skill for using DeepSeek-OCR, a vision-language model for optical character recognition with context optical compression supporting documents, PDFs, and images.

相关技能