head to head · open source
BookStack vs pg-aiguide
BookStack has 19,050 GitHub stars, 2,422 forks, 3 open issues and last shipped today. pg-aiguide has 1,848 stars, 109 forks, 8 open issues and last shipped 4 days ago. BookStack leads on adoption by 931% (19,050 vs 1,848 stars). BookStack is written in PHP under MIT; pg-aiguide is written in Python under Apache-2.0. BookStack has attracted 13% as many forks as stars, pg-aiguide 6%. BookStack was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (documentation), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| BookStack | pg-aiguide | |
|---|---|---|
| GitHub stars | ★ 19K | ★ 1.8K |
| License | MIT | Apache-2.0 |
| Written in | PHP | Python |
| Last push | 2026-09-20 | 2026-09-16 |
| Forks | ⑂ 2.4K | ⑂ 109 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick BookStack if
- You weight community size — 19K stars and counting
- You want the MIT license terms
- Your stack matches PHP
- You value the larger contributor base for long-term maintenance
pick pg-aiguide if
- You want the pg-aiguide feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Python
- You evaluated both and pg-aiguide fits your workflow better
About BookStack
BookStack is a self hosted documentation platform written in PHP on top of the Laravel framework, released under the MIT license. It is described by its maintainers as an opinionated platform for storing and organising information and documentation, and it is distributed as an open source project whose development is now managed on Codeberg. The project has existed for roughly eleven years and carries a substantial community footprint, with more than nineteen thousand stars and over two thousand forks recorded against its repository history.
read the full BookStack overview →
About pg-aiguide
pg aiguide is an Apache 2.0 MCP server and Claude Code plugin that gives AI coding agents version aware PostgreSQL documentation and curated best practice skills, built for developers and teams whose assistants write outdated or incomplete Postgres code.
read the full pg-aiguide overview →
More in Content & Publishing
Related comparisons
More Documentation & Knowledge Base projects
Compare either of these against the rest of the Documentation & Knowledge Base field.
Frequently asked questions
Is BookStack or pg-aiguide more popular?
BookStack has 19,050 GitHub stars and pg-aiguide has 1,848. BookStack has the larger community by that measure.
Are BookStack and pg-aiguide free?
Both are open source. BookStack is licensed under MIT and pg-aiguide under Apache-2.0. Neither carries a licence fee.
What is the difference between BookStack and pg-aiguide?
BookStack is written in PHP and pg-aiguide in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, BookStack or pg-aiguide?
Choose BookStack if you want the larger community (19,050 stars) or its MIT licence terms. Choose pg-aiguide if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.