head to head · open source
BookStack vs pg-aiguide
BookStack has 19,123 GitHub stars, 2,435 forks, 3 open issues and last shipped today. pg-aiguide has 1,881 stars, 120 forks, 8 open issues and last shipped yesterday. BookStack leads on adoption by 917% (19,123 vs 1,881 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.9K |
| License | MIT | Apache-2.0 |
| Written in | PHP | Python |
| Last push | 2026-11-04 | 2026-11-03 |
| Forks | ⑂ 2.4K | ⑂ 120 |
| 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 A platform for storing and organising information and documentation. Details for BookStack can be found on the official website at Installation Instructions Documentation Demo Instance Screenshots BookStack Blog Issue List Community Discussions Support Options 📚 Project Definition BookStack is an opinionated documentation platform that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power…
read the full BookStack overview →
About pg-aiguide
pg aiguide AI optimized PostgreSQL expertise for coding assistants pg aiguide helps AI coding tools write dramatically better PostgreSQL code. It provides: Semantic search across the official PostgreSQL manual (version aware) AI optimized “skills” — curated, opinionated Postgres best practices used automatically by AI agents Extension ecosystem docs , starting with TimescaleDB, with more coming soon Use it as: Agent Skills via npx skills — works with Claude Code, Cursor, Codex, Gemini CLI, and 40+ other agents a public MCP server that can be used with any AI coding agent, or a Claude Code plugin optimized for…
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,123 GitHub stars and pg-aiguide has 1,881. 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,123 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.