[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2074":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":29,"discoverSource":30},2074,"tabula-docs","Lauwed\u002Ftabula-docs","Lauwed","Static, dependency-free API documentation driven by a single JSON file.",null,"JavaScript",179,13,130,2,0,4,9,34,12,3.44,"MIT License",false,"main",true,[],"2026-06-12 02:00:36","# Tabula\n\n**Static, dependency-free API documentation driven by a single JSON file.**\n\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Ftabula-docs)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Ftabula-docs)\n[![license](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FLauwed\u002Ftabula-docs)](.\u002FLICENSE)\n[![CI](https:\u002F\u002Fgithub.com\u002FLauwed\u002Ftabula-docs\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FLauwed\u002Ftabula-docs\u002Factions)\n\n🔗 **[Live demo](https:\u002F\u002Flauwed.github.io\u002Ftabula-docs\u002F)**\n\n\u003Cimg width=\"1710\" height=\"1004\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F583c95d1-bc84-4363-b95c-2e36298e8bbe\" \u002F>\n\n---\n\n> [!NOTE]\n> Most of the non-source files in this repository — documentation, CI workflows, CLI scripts, and configuration — were largely generated with the help of [Claude](https:\u002F\u002Fclaude.ai). The source files (`src\u002F`) were written by hand and reviewed carefully. That said, if you spot anything insecure or incorrect anywhere in the repo, please don't hesitate to [open an issue](https:\u002F\u002Fgithub.com\u002FLauwed\u002Ftabula-docs\u002Fissues) or submit a PR — all reports are welcome and appreciated.\n\n---\n\n## Why Tabula?\n\n- **Zero runtime dependencies.** Pure HTML + CSS + vanilla JavaScript. No React, no build step, no `node_modules` to serve.\n- **One source of truth.** Edit `api.json`, reload — your docs are up to date.\n- **Framework agnostic.** PHP, Go, Python, Rust, Node — Tabula doesn't care what's behind your API.\n- **Machine-validated.** A built-in linter catches schema errors before they reach the browser.\n- **Themeable.** Colors, fonts, logo, dark mode — all from the `settings` block, no CSS editing needed.\n\n---\n\n## Quickstart\n\n```bash\n# 1. Scaffold a new docs folder\nnpx tabula-docs init my-docs\n\n# 2. Edit your API schema\ncd my-docs && $EDITOR api.json\n\n# 3. Preview locally\nnpx tabula-docs serve .\n```\n\nOpen [http:\u002F\u002Flocalhost:3000](http:\u002F\u002Flocalhost:3000). Done.\n\n---\n\n## Manual setup\n\nNo CLI needed. Copy `src\u002F` into your project, drop your `api.json` next to `index.html`, and serve with any static server.\n\n```\nmy-docs\u002F\n├── index.html\n├── assets\u002F\n│   ├── images\u002F\n│   ├── scripts\u002F\n│   │   ├── pretty-json.js\n│   │   ├── constants.js\n│   │   ├── endpoints.js\n│   │   ├── inputs.js\n│   │   └── script.js\n│   └── styles\u002F\n│       └── styles.css\n└── api.json        ← your file\n```\n\n---\n\n## Validate your schema\n\n```bash\nnpx tabula-docs validate path\u002Fto\u002Fapi.json\n```\n\nExit `0` = all clear. Exit `1` = errors to fix before deploying.\nSee [`docs\u002Fvalidator.md`](docs\u002Fvalidator.md) for the full list of checks.\n\n---\n\n## Examples\n\n| Example                                              | Description                                                  |\n| ---------------------------------------------------- | ------------------------------------------------------------ |\n| [`examples\u002Fminimal\u002F`](examples\u002Fminimal\u002Fapi.json)     | Two tables, ready in 30 seconds                              |\n| [`examples\u002Fblog\u002F`](examples\u002Fblog\u002Fapi.json)           | Realistic CRUD — posts, users, tags, pagination              |\n| [`examples\u002Fecommerce\u002F`](examples\u002Fecommerce\u002Fapi.json) | Advanced — multipart uploads, order state machine, full auth |\n\n---\n\n## Documentation\n\n| Doc                                                    | Content                                         |\n| ------------------------------------------------------ | ----------------------------------------------- |\n| [`docs\u002Fgetting-started.md`](docs\u002Fgetting-started.md)   | CLI and manual setup walkthrough                |\n| [`docs\u002Fschema-reference.md`](docs\u002Fschema-reference.md) | Complete `api.json` field reference             |\n| [`docs\u002Ftheming.md`](docs\u002Ftheming.md)                   | Colors, fonts, logo, dark mode                  |\n| [`docs\u002Fcustom-endpoints.md`](docs\u002Fcustom-endpoints.md) | Non-CRUD endpoints, file uploads                |\n| [`docs\u002Fvalidator.md`](docs\u002Fvalidator.md)               | Linter usage and GitHub Actions integration     |\n| [`docs\u002Fdeployment.md`](docs\u002Fdeployment.md)             | GitHub Pages, Vercel, Netlify, Cloudflare Pages |\n\n---\n\n## Contributing\n\nContributions are welcome. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for setup instructions, commit conventions, and the PR process.\n\n---\n\n## License\n\n[MIT](.\u002FLICENSE) © Lauwed\n","Tabula 是一个静态的、无依赖的API文档生成工具，通过单一JSON文件驱动。其核心功能包括零运行时依赖（仅使用纯HTML、CSS和原生JavaScript）、单一数据源管理（编辑api.json即可更新文档）、框架无关性（支持多种后端技术栈）以及内置校验器确保文档结构正确。此外，Tabula 提供了丰富的自定义选项，如主题颜色、字体及暗黑模式等，无需直接修改CSS代码即可实现。该工具非常适合需要快速搭建或维护API文档且不希望引入额外复杂性的开发者或团队，在各种规模的项目中都能发挥良好作用。","2026-06-11 02:47:58","CREATED_QUERY"]