A self-hosted GitBook alternative — 4 PHP files, no database. Upload to any PHP hosting and get a full docs platform: block editor with 14 content types, slash commands, syntax highlighting for 200+ languages, full-text search, dark/light mode, drag & drop, and auto-generated OG images. Your server, your data. MIT licensed, free forever.
Why Webstudio Docs?
We're a web agency that got tired of paying $65/month per site for GitBook. So we built our own docs platform and open-sourced it.
4 files. No database. No build process. Upload index.php, api.php, auth.php, and .htaccess to any PHP 7.4+ hosting — and you have a full documentation platform.
Features
- Block editor with 14 content types — headings, code with syntax highlighting (200+ languages), tables, cards, timeline, callouts, collapsible sections, images, video embeds, and more
- Slash commands — type
/to search and insert any block, just like Notion - Full-text search — Ctrl+K searches titles, subtitles, and page content
- Dark & light mode, custom accent colors, logo, favicon, cover images with gradients
- Spaces & tree navigation — pages, subpages, sections, drag & drop reordering
- Drag & drop blocks with visual drop indicator + undo/redo
- Auto-generated OG images — dynamic social sharing cards with your brand colors
- Clean URLs —
?page=installationnot?page=_x7f2k9 - Secure — bcrypt passwords, rate limiting, setup wizard, .htaccess protection
- Mobile responsive — works on phones and tablets
- i18n ready — English & Slovak built-in, easy to add more
- Page templates — Blank, Documentation, Changelog, API Reference, Tutorial, FAQ
Roadmap
Open source (free): Multi-user support, markdown import/export, page versioning, more languages.
Premium (coming soon): AI-powered writing tools, integrations, analytics, and more. One-time purchase, no monthly fees. Every purchase funds continued development of the free version.
Live Demo
Try it: docs.web-studio.sk — password: DemoPassword@123
GitHub: github.com/webstudio-ltd/docs
MIT licensed. Free forever. Your server, your data, no vendor lock-in.
No comments yet.
Sign in to be the first to comment.