# Lua project architecture examples

Interactive architecture diagrams of 50 open-source Lua repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

## Repositories 1 to 50 of 50

1. [kong/kong](https://gitdiagram.com/kong/kong) (44.2k stars): Kong Gateway is a programmable API, AI, and MCP gateway. Markdown: https://gitdiagram.com/kong/kong.md
2. [nvim-lua/kickstart.nvim](https://gitdiagram.com/nvim-lua/kickstart.nvim) (30k stars) Markdown: https://gitdiagram.com/nvim-lua/kickstart.nvim.md
3. [koreader/koreader](https://gitdiagram.com/koreader/koreader) (29.9k stars): KOReader is a portable document viewer, principally taking a reader from choosing a local document through format-specific opening to an interactive, customizable reading… Markdown: https://gitdiagram.com/koreader/koreader.md
4. [nagadomi/waifu2x](https://gitdiagram.com/nagadomi/waifu2x) (28.2k stars): Core Processing Engine: Illustrate the deep convolutional neural network engine that handles noise reduction and upscaling. Represent this as a module powered by Torch7 and CUDA. Markdown: https://gitdiagram.com/nagadomi/waifu2x.md
5. [nvchad/nvchad](https://gitdiagram.com/nvchad/nvchad) (28k stars): Based on our analysis of the provided file tree and README, the project is a Neovim configuration—specifically the NvChad config written in Lua. Markdown: https://gitdiagram.com/nvchad/nvchad.md
6. [lazyvim/lazyvim](https://gitdiagram.com/lazyvim/lazyvim) (27.5k stars): LazyVim is a Neovim configuration distribution that turns a fresh editor into an extensible IDE. Markdown: https://gitdiagram.com/lazyvim/lazyvim.md
7. [folke/lazy.nvim](https://gitdiagram.com/folke/lazy.nvim) (21.6k stars): lazy.nvim is a Neovim plugin manager. Markdown: https://gitdiagram.com/folke/lazy.nvim.md
8. [idvel/rime-ice](https://gitdiagram.com/idvel/rime-ice) (19.8k stars): 雾凇拼音是面向 Rime 的离线简体中文输入配置：用户在 Rime 客户端选择全拼、双拼或九键方案，利用词库生成候选，并可启用英文混输、转换、反查等功能。仓库还包含一个词库维护工具，用于生成中英混输词库、补充注音、校验并排序词条。输入配置之间的具体调用关系未在所示源码中展开，相关边依据 README 的功能说明；工具内部调用则依据已展示的入口代码。 Markdown: https://gitdiagram.com/idvel/rime-ice.md
9. [nvim-telescope/telescope.nvim](https://gitdiagram.com/nvim-telescope/telescope.nvim) (19.2k stars) Markdown: https://gitdiagram.com/nvim-telescope/telescope.nvim.md
10. [yetone/avante.nvim](https://gitdiagram.com/yetone/avante.nvim) (17.7k stars): Based on our analysis of the file tree and README, the project is a Neovim plugin (avante.nvim) that brings AI-powered code assistance into the Neovim ecosystem. Markdown: https://gitdiagram.com/yetone/avante.nvim.md
11. [apache/apisix](https://gitdiagram.com/apache/apisix) (16.4k stars): Plugin Engine: The “apisix/plugins” directory (and related plugin directories under “admin”, “discovery”, “core”, etc.) shows that the gateway’s functionality is extended by… Markdown: https://gitdiagram.com/apache/apisix.md
12. [cmusatyalab/openface](https://gitdiagram.com/cmusatyalab/openface) (15.4k stars): OpenFace is an open-source face-recognition library and toolkit. It provides. Markdown: https://gitdiagram.com/cmusatyalab/openface.md
13. [astronvim/astronvim](https://gitdiagram.com/astronvim/astronvim) (14.4k stars): AstroNvim is a Neovim configuration that assembles plugin configurations into an editor workflow. Markdown: https://gitdiagram.com/astronvim/astronvim.md
14. [openwrt-passwall/openwrt-passwall](https://gitdiagram.com/openwrt-passwall/openwrt-passwall) (9.9k stars): This repository provides the LuCI/OpenWrt integration layer for PassWall, a router-side proxy client/server manager. Markdown: https://gitdiagram.com/openwrt-passwall/openwrt-passwall.md
15. [sjj1024/pakeplus-android](https://gitdiagram.com/sjj1024/pakeplus-android) (9k stars): This repository is the Android packaging template for PakePlus: it produces a native Android wrapper around packaged web content, including optional injected JavaScript and… Markdown: https://gitdiagram.com/sjj1024/pakeplus-android.md
16. [theprimeagen/harpoon](https://gitdiagram.com/theprimeagen/harpoon) (9k stars): Core Library – This is the heart of the plugin that handles configuration (via the setup function), global settings, and the common utilities (lua/harpoon/utils.lua). Markdown: https://gitdiagram.com/theprimeagen/harpoon.md
17. [ntop/ntopng](https://gitdiagram.com/ntop/ntopng) (8.2k stars): ntopng is a web-based network traffic monitoring application. Markdown: https://gitdiagram.com/ntop/ntopng.md
18. [rxi/lite](https://gitdiagram.com/rxi/lite) (8.1k stars): Contains: Lua runtime environment and core functionality Markdown: https://gitdiagram.com/rxi/lite.md
19. [folke/tokyonight.nvim](https://gitdiagram.com/folke/tokyonight.nvim) (7.9k stars): Style Variants (Storm, Night, Moon, Day) Markdown: https://gitdiagram.com/folke/tokyonight.nvim.md
20. [folke/snacks.nvim](https://gitdiagram.com/folke/snacks.nvim) (7.3k stars): Neovim Host Environment: At the top level, show “Neovim” as the environment that loads this plugin. Markdown: https://gitdiagram.com/folke/snacks.nvim.md
21. [mfussenegger/nvim-dap](https://gitdiagram.com/mfussenegger/nvim-dap) (7.3k stars): nvim-dap is a Lua Debug Adapter Protocol (DAP) client and Neovim plugin. Markdown: https://gitdiagram.com/mfussenegger/nvim-dap.md
22. [nvim-neorg/neorg](https://gitdiagram.com/nvim-neorg/neorg) (7.3k stars): Purpose: To provide an integrated and extensible environment for structured note taking, task management, and documentation—all built atop a single, expressive plaintext file… Markdown: https://gitdiagram.com/nvim-neorg/neorg.md
23. [stevearc/oil.nvim](https://gitdiagram.com/stevearc/oil.nvim) (6.9k stars): oil.nvim is a Neovim file explorer that presents directories as editable buffers; saving the buffer performs filesystem changes. Markdown: https://gitdiagram.com/stevearc/oil.nvim.md
24. [awesomewm/awesome](https://gitdiagram.com/awesomewm/awesome) (6.8k stars): Lua Integration and Libraries: Under the ‘lib/’ directory you have several Lua modules grouped by functionality. Markdown: https://gitdiagram.com/awesomewm/awesome.md
25. [olimorris/codecompanion.nvim](https://gitdiagram.com/olimorris/codecompanion.nvim) (6.4k stars) Markdown: https://gitdiagram.com/olimorris/codecompanion.nvim.md
26. [saghen/blink.cmp](https://gitdiagram.com/saghen/blink.cmp) (6.1k stars) Markdown: https://gitdiagram.com/saghen/blink.cmp.md
27. [lite-xl/lite-xl](https://gitdiagram.com/lite-xl/lite-xl) (6.1k stars) Markdown: https://gitdiagram.com/lite-xl/lite-xl.md
28. [lsyncd/lsyncd](https://gitdiagram.com/lsyncd/lsyncd) (6k stars) Markdown: https://gitdiagram.com/lsyncd/lsyncd.md
29. [nvim-neo-tree/neo-tree.nvim](https://gitdiagram.com/nvim-neo-tree/neo-tree.nvim) (5.3k stars) Markdown: https://gitdiagram.com/nvim-neo-tree/neo-tree.nvim.md
30. [pathofbuildingcommunity/pathofbuilding](https://gitdiagram.com/pathofbuildingcommunity/pathofbuilding) (5.2k stars): 1. This repository is a standalone desktop application: an offline build planner for Path of Exile called Path of Building Community. Markdown: https://gitdiagram.com/pathofbuildingcommunity/pathofbuilding.md
31. [amzxyz/rime-wanxiang](https://gitdiagram.com/amzxyz/rime-wanxiang) (4.7k stars): 万象拼音是面向 Rime 的中文输入方案与词库，提供 Base、Pro、Lite、Pure 等配置。主要流程是用户输入，经 Rime 加载方案并利用拼音/双拼编码和词库提供候选；Lua 扩展增加筛选、注释、转换等能力。README 说明了主要功能与版本差异，但未提供源码摘录，因此图中只表示有文档依据的运行入口和能力，不推断各配置之间的具体调用关系。 Markdown: https://gitdiagram.com/amzxyz/rime-wanxiang.md
32. [corsixth/corsixth](https://gitdiagram.com/corsixth/corsixth) (4.6k stars): CorsixTH is a Lua-and-C++ reimplementation of Theme Hospital. Markdown: https://gitdiagram.com/corsixth/corsixth.md
33. [theprimeagen/99](https://gitdiagram.com/theprimeagen/99) (4.5k stars): 1. This is a Neovim plugin, not a standalone app. Markdown: https://gitdiagram.com/theprimeagen/99.md
34. [meanderingprogrammer/render-markdown.nvim](https://gitdiagram.com/meanderingprogrammer/render-markdown.nvim) (4.3k stars): This is a Neovim plugin (“render-markdown.nvim”) written in Lua that renders Markdown in-editor without external windows. Markdown: https://gitdiagram.com/meanderingprogrammer/render-markdown.nvim.md
35. [beyond-all-reason/beyond-all-reason](https://gitdiagram.com/beyond-all-reason/beyond-all-reason) (4.3k stars): Beyond All Reason is an RTS game running on the Recoil engine. Markdown: https://gitdiagram.com/beyond-all-reason/beyond-all-reason.md
36. [zbirenbaum/copilot.lua](https://gitdiagram.com/zbirenbaum/copilot.lua) (4.1k stars): copilot.lua is a Neovim plugin that connects editor buffers to the Copilot Language Server and presents generated completions through inline suggestions or a preview panel. Markdown: https://gitdiagram.com/zbirenbaum/copilot.lua.md
37. [luvit/luvit](https://gitdiagram.com/luvit/luvit) (4k stars): Luvit is a Lua runtime and module collection that offers a Node.js-style API for luvi/lit, usable by applications as a library or as a standalone executable. Markdown: https://gitdiagram.com/luvit/luvit.md
38. [williamboman/mason-lspconfig.nvim](https://gitdiagram.com/williamboman/mason-lspconfig.nvim) (3.9k stars): Below are step-by-step guidelines tailored for this project’s structure and purpose. Markdown: https://gitdiagram.com/williamboman/mason-lspconfig.nvim.md
39. [ms-jpq/coq_nvim](https://gitdiagram.com/ms-jpq/coq_nvim) (3.8k stars) Markdown: https://gitdiagram.com/ms-jpq/coq_nvim.md
40. [bryanthaboi/gen1recomp](https://gitdiagram.com/bryanthaboi/gen1recomp) (3.7k stars): Gen1Recomp is a native LÖVE2D recreation of Pokémon generations 1 and 2. Markdown: https://gitdiagram.com/bryanthaboi/gen1recomp.md
41. [nvim-orgmode/orgmode](https://gitdiagram.com/nvim-orgmode/orgmode) (3.7k stars): Purpose: To replicate core Orgmode functionalities (agenda views, capture, highlighting, clocking, export, etc.) in a Neovim environment, leveraging Lua as the implementation… Markdown: https://gitdiagram.com/nvim-orgmode/orgmode.md
42. [theprimeagen/refactoring.nvim](https://gitdiagram.com/theprimeagen/refactoring.nvim) (3.6k stars): refactoring.nvim is a Neovim plugin for Tree-sitter- and LSP-powered code refactoring and debug-print operations. Markdown: https://gitdiagram.com/theprimeagen/refactoring.nvim.md
43. [copilotc-nvim/copilotchat.nvim](https://gitdiagram.com/copilotc-nvim/copilotchat.nvim) (3.6k stars) Markdown: https://gitdiagram.com/copilotc-nvim/copilotchat.nvim.md
44. [jitsi/docker-jitsi-meet](https://gitdiagram.com/jitsi/docker-jitsi-meet) (3.6k stars): This repository builds and composes Docker images for a self-hosted Jitsi Meet videoconferencing deployment. Markdown: https://gitdiagram.com/jitsi/docker-jitsi-meet.md
45. [raexera/yoru](https://gitdiagram.com/raexera/yoru) (3.6k stars): Yoru is a personal AwesomeWM desktop environment configuration for Arch-based Linux. Markdown: https://gitdiagram.com/raexera/yoru.md
46. [oxy2dev/markview.nvim](https://gitdiagram.com/oxy2dev/markview.nvim) (3.4k stars) Markdown: https://gitdiagram.com/oxy2dev/markview.nvim.md
47. [pelican-eggs/eggs](https://gitdiagram.com/pelican-eggs/eggs) (3.1k stars): 1. This repository is a catalog of Pelican Panel “eggs” — deployment definitions for server applications packaged as containerized workloads. Markdown: https://gitdiagram.com/pelican-eggs/eggs.md
48. [coder/claudecode.nvim](https://gitdiagram.com/coder/claudecode.nvim) (2.9k stars): - claudecode.nvim is a Neovim plugin that bridges the editor to the Claude Code CLI. Markdown: https://gitdiagram.com/coder/claudecode.nvim.md
49. [teal-language/tl](https://gitdiagram.com/teal-language/tl) (2.7k stars): Compiler Engine: This is the heart of the project and is primarily contained in the single-file core (tl.lua) and its Teal counterpart (tl.tl). Markdown: https://gitdiagram.com/teal-language/tl.md
50. [mfussenegger/nvim-lint](https://gitdiagram.com/mfussenegger/nvim-lint) (2.7k stars): This is an open-source Neovim plugin (“nvim-lint”) written in Lua. Markdown: https://gitdiagram.com/mfussenegger/nvim-lint.md

More hubs: https://gitdiagram.com/architecture-examples

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the [2026 open-source architecture report](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
