[{"data":1,"prerenderedAt":239},["ShallowReactive",2],{"repo-nicbarker-clay-zh-CN":3,"i18n-nicbarker-clay-zh-CN":236},{"mirrorPool":4,"detail":13,"relatedProjects":96},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgithub.xxlab.tech\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":28,"homepage":42,"pushedAt":43,"ownerAvatar":44,"ownerName":45,"ownerBio":46,"lastSyncTime":47,"lastReleaseTime":48,"tags":49,"license":52,"category":53,"subgroup":54,"releases":55},"nicbarker","clay",831578771,"https:\u002F\u002Fgithub.com\u002Fnicbarker\u002Fclay",18215,"C","High performance UI layout library in C.",{"C":22,"C++":23,"HTML":24,"Odin":25,"CMake":26,"Shell":27,"Dockerfile":27},56.6,32.4,5.5,4.8,0.4,0.1,[29,34,38],{"sources":30},[31],{"kind":32,"url":33},"jsdelivr","https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fin-face\u002Fgithub_imgs@main\u002Fscreenshots\u002F831578771\u002F1.webp",{"sources":35},[36],{"kind":32,"url":37},"https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fin-face\u002Fgithub_imgs@main\u002Fscreenshots\u002F831578771\u002F2.webp",{"sources":39},[40],{"kind":32,"url":41},"https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fin-face\u002Fgithub_imgs@main\u002Fscreenshots\u002F831578771\u002F3.webp","https:\u002F\u002Fnicbarker.com\u002Fclay","2026-05-20","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2264338?v=4","Nic Barker","Open source developer & programming educator.","2026-10-04T13:15:07.726549+00:00","2025-06-06T01:16:01Z",[50,51],"layout","ui","Zlib","development","开发库\u002F框架",[56,68,78,87],{"tag":57,"publishAt":48,"semVer":58,"prerelease":60,"assets":61},"v0.14",[59,59,59],0,false,[62],{"fileName":63,"sizeMb":64,"sha256":65,"downloadCount":66,"originUrl":67},"clay-odin.zip",0.57,"f0af4da51510680362d7992a5e3664619b4cddad90580c67ab29400e41d2e7d8",561,"https:\u002F\u002Fgithub.com\u002Fnicbarker\u002Fclay\u002Freleases\u002Fdownload\u002Fv0.14\u002Fclay-odin.zip",{"tag":69,"publishAt":70,"semVer":71,"prerelease":60,"assets":72},"v0.13","2025-02-12T00:26:07Z",[59,59,59],[73],{"fileName":63,"sizeMb":74,"sha256":75,"downloadCount":76,"originUrl":77},0.34,"",232,"https:\u002F\u002Fgithub.com\u002Fnicbarker\u002Fclay\u002Freleases\u002Fdownload\u002Fv0.13\u002Fclay-odin.zip",{"tag":79,"publishAt":80,"semVer":81,"prerelease":60,"assets":82},"v0.12","2024-10-22T23:44:07Z",[59,59,59],[83],{"fileName":63,"sizeMb":84,"sha256":75,"downloadCount":85,"originUrl":86},0.28,212,"https:\u002F\u002Fgithub.com\u002Fnicbarker\u002Fclay\u002Freleases\u002Fdownload\u002Fv0.12\u002Fclay-odin.zip",{"tag":88,"publishAt":89,"semVer":90,"prerelease":60,"assets":91},"v0.11","2024-09-17T23:55:32Z",[59,59,59],[92],{"fileName":63,"sizeMb":93,"sha256":75,"downloadCount":94,"originUrl":95},0.33,16,"https:\u002F\u002Fgithub.com\u002Fnicbarker\u002Fclay\u002Freleases\u002Fdownload\u002Fv0.11\u002Fclay-odin.zip",[97,131,154,182,200,220],{"owner":98,"repo":99,"repoId":100,"category":53,"subgroup":54,"language":101,"tags":102,"starCount":121,"ownerUid":122,"latestTag":123,"platforms":124,"lastReleaseTime":128,"downloadCount":129,"description":130},"unslothai","unsloth",725205304,"Python",[103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,51,99],"agent","ai","chatgpt","deepseek","fine-tuning","gemma","image-generation","llama","llm","llms","openai","python","qwen","reinforcement-learning","self-hosted","stable-diffusion","text-to-speech","tts",79329,150920049,"v0.1.917-beta",[125,126,127],"windows","mac","linux","2026-11-11T16:00:56Z",1739,"一个用于加速大型语言模型（LLM）微调的开源库，支持大幅降低显存占用并提升训练速度。",{"owner":132,"repo":133,"repoId":134,"category":53,"subgroup":54,"language":101,"tags":135,"starCount":147,"ownerUid":148,"latestTag":149,"platforms":150,"lastReleaseTime":151,"downloadCount":152,"description":153},"openbq-org","OpenBB",323048702,[104,136,137,138,139,140,141,142,143,144,114,145,146],"crypto","derivatives","economics","equity","finance","fixed-income","machine-learning","openbb","options","quantitative-finance","stocks",74466,328144346,"ODP",[125,126],"2026-09-30T01:47:43Z",1099,"OpenBB 是面向分析师、量化研究员和 AI Agent 的开放金融数据平台，以 Python 库与 REST API 形式聚合股票、期权、加密货币、宏观经济等多源数据，一次接入多处消费。",{"owner":155,"repo":156,"repoId":157,"category":53,"subgroup":54,"language":101,"tags":158,"starCount":174,"ownerUid":175,"latestTag":176,"platforms":177,"lastReleaseTime":179,"downloadCount":180,"description":181},"pathwaycom","pathway",571186647,[159,160,161,162,163,164,165,166,167,168,156,114,169,170,171,172,173],"batch-processing","data-analytics","data-pipelines","data-processing","dataflow","etl","etl-framework","iot-analytics","kafka","machine-learning-algorithms","real-time","rust","stream-processing","streaming","time-series-analysis",62092,25750857,"v0.32.1",[178],"other","2026-08-01T09:17:35Z",359,"Pathway 是一个 Python ETL 框架，统一处理批数据与流数据，适用于流处理、实时分析、LLM 管道与 RAG，底层由基于 Differential Dataflow 的 Rust 引擎驱动。",{"owner":183,"repo":184,"repoId":185,"category":53,"subgroup":54,"language":101,"tags":186,"starCount":193,"ownerUid":194,"latestTag":195,"platforms":196,"lastReleaseTime":197,"downloadCount":198,"description":199},"psf","requests",1362490,[187,188,189,190,191,114,192,184],"client","cookies","forhumans","http","humans","python-requests",54522,50630501,"v2.34.2",[178],"2026-05-14T19:27:15Z",1182,"Requests 是 Python 最流行的 HTTP 客户端库，用极简 API 发送 HTTP\u002F1.1 请求，自动处理查询串、表单编码、Cookie、认证与压缩解码。",{"owner":201,"repo":202,"repoId":203,"category":53,"subgroup":54,"language":101,"tags":204,"starCount":213,"ownerUid":214,"latestTag":215,"platforms":216,"lastReleaseTime":217,"downloadCount":218,"description":219},"run-llama","llama_index",560704231,[205,206,207,107,208,209,111,210,211,212],"agents","application","data","framework","llamaindex","multi-agents","rag","vector-database",52579,130722866,"v0.14.25",[178],"2026-09-21T16:22:27Z",35,"LlamaIndex 是一个面向大语言模型应用的开源数据框架（Python），提供数据连接器、索引、查询引擎与 Agent 编排，把私有数据接入 LLM 构建 RAG 与智能体应用。",{"owner":221,"repo":222,"repoId":223,"category":53,"subgroup":54,"language":101,"tags":224,"starCount":229,"ownerUid":230,"latestTag":231,"platforms":232,"lastReleaseTime":233,"downloadCount":234,"description":235},"pandas-dev","pandas",858127,[225,226,227,228,222,114],"alignment","data-analysis","data-science","flexible",50327,21206976,"v3.1.1",[178],"2026-11-04T15:46:25Z",10,"pandas 是 Python 最流行的数据分析与处理库，提供类似 R data.frame 的带标签数据结构 Series 与 DataFrame，覆盖清洗、对齐、分组聚合、时间序列等日常数据工作全流程。",{"description":237,"readmeHtml":238},"一个用C语言编写的高性能2D UI布局库，基于flex-box模型，单头文件、零依赖，支持Wasm，微秒级布局性能，提供渲染器无关的输出。","\u003Ch2 id=\"项目概述\">项目概述\u003C\u002Fh2>\u003Cp>Clay（C Layout的缩写）是一个高性能的2D UI布局库，采用flex-box布局模型，能够实现复杂、响应式的UI布局，包括文本换行、滚动容器和宽高比缩放。它是一个单头文件库（约4800行代码），零依赖（不链接标准库），支持Wasm编译。Clay基于静态内存分配，无malloc\u002Ffree操作，内存开销低（约3.5MB可容纳8192个布局元素）。\u003C\u002Fp>\n\u003Ch2 id=\"主要功能\">主要功能\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>微秒级布局性能\u003C\u002Fstrong>：高性能的布局计算\u003C\u002Fli>\n\u003Cli>\u003Cstrong>flex-box布局模型\u003C\u002Fstrong>：支持复杂、响应式布局，包括文本换行、滚动容器和宽高比缩放\u003C\u002Fli>\n\u003Cli>\u003Cstrong>过渡动画API\u003C\u002Fstrong>：轻松实现布局动画\u003C\u002Fli>\n\u003Cli>\u003Cstrong>单头文件\u003C\u002Fstrong>：约4800行代码的clay.h，零依赖\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Wasm支持\u003C\u002Fstrong>：编译为约15KB的.wasm文件，可在浏览器中运行\u003C\u002Fli>\n\u003Cli>\u003Cstrong>静态内存管理\u003C\u002Fstrong>：基于arena的内存使用，无malloc\u002Ffree，内存开销低\u003C\u002Fli>\n\u003Cli>\u003Cstrong>声明式语法\u003C\u002Fstrong>：类似React的嵌套声明式语法\u003C\u002Fli>\n\u003Cli>\u003Cstrong>渲染器无关\u003C\u002Fstrong>：输出排序后的渲染原语列表，可轻松在任意3D引擎中合成，甚至编译为HTML\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"适用人群\">适用人群\u003C\u002Fh2>\u003Cul>\n\u003Cli>需要高性能UI布局的C\u002FC++开发者\u003C\u002Fli>\n\u003Cli>构建嵌入式UI、游戏UI或浏览器应用（通过Wasm）的开发者\u003C\u002Fli>\n\u003Cli>希望减少依赖、追求轻量级UI布局方案的用户\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"快速上手\">快速上手\u003C\u002Fh2>\u003Col>\n\u003Cli>下载或克隆clay.h文件\u003C\u002Fli>\n\u003Cli>在一个文件中定义\u003Ccode>CLAY_IMPLEMENTATION\u003C\u002Fcode>后包含clay.h\u003C\u002Fli>\n\u003Cli>实现文本测量函数和错误处理函数\u003C\u002Fli>\n\u003Cli>初始化Clay并配置内存arena\u003C\u002Fli>\n\u003Cli>使用声明式语法构建UI布局\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"核心优势\">核心优势\u003C\u002Fh2>\u003Cul>\n\u003Cli>单头文件、零依赖，易于集成\u003C\u002Fli>\n\u003Cli>微秒级布局性能，适合高性能场景\u003C\u002Fli>\n\u003Cli>支持Wasm，可在浏览器中运行\u003C\u002Fli>\n\u003Cli>渲染器无关，可适配任意渲染后端\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"系统要求\">系统要求\u003C\u002Fh2>\u003Cul>\n\u003Cli>操作系统：跨平台（C语言环境）\u003C\u002Fli>\n\u003C\u002Ful>\n",1794593770772]