XWiki: what it does and how to run it
a wiki with an application platform underneath it
Independent review. Some links are affiliate links; they never affect the verdict or the ranking. Full disclosure.
XWiki is a wiki where pages can also be structured records. Beyond writing and linking, you define classes with fields, render them with templates and query across them — enough to build a small internal application without writing a backend. It is a heavier install than a flat-file wiki and its interface has two decades of features to navigate, but for internal documentation with structure — asset registers, procedures with owners, project pages with status — it earns the complexity.
What XWiki actually does
This entry collects the essentials: what the project does, what licence it ships under, and where it fits next to the alternatives. Check the official site for the current feature list.
Core features
- Page tree with spaces, attachments and versioning
- Applications built from classes, sheets and queries
- Fine-grained rights down to a page
- Extensions catalogue for macros and integrations
Where it is strongest
- very extensible
- long maintenance history
Who it is for
organisations that need structured pages, not only prose
It blurs the line between wiki and database: you can define a class of page, give it fields and list the results, which is how teams end up replacing a spreadsheet without a second tool
How XWiki compares
These are the entries closest to XWiki on this site — same category, overlapping job. Licence and hosting model are the two columns worth reading first, because they decide your total cost more than the feature list does.
| Tool | Licence | Cost | Best for |
|---|---|---|---|
| XWiki This page | LGPL-2.1 | Free to self-host | a wiki with an application platform underneath it |
| BookStack | MIT | Free to self-host | Simple, organized knowledge base platform |
| Directus | GPL-3.0 | Free to self-host | Instant REST and GraphQL APIs over your database |
| Ghost | MIT | Free to self-host | A focused, modern platform for professional publishing |
How to get XWiki running
- Pick the hostA 2 GB VPS covers most of these apps for a small team. If you would rather not run an operating system, a managed app host gives you a one-click container with backups and TLS included.
- Provision the runtimeXWiki ships as a container image or a documented install script. Pin a
release tag rather than tracking
latest, so an upstream change never surprises you on a Friday. - Attach persistent storagePoint the data volume at a path you back up. Most of these apps keep everything — users, settings, history — in one database plus an uploads folder.
- Put it behind a domain with TLSAdd an A record, then terminate TLS at your proxy or at the host. Set the public URL in the app's environment before first login, because several apps bake it into links.
- Secure the admin accountChange the default credentials, enable 2FA where offered, and close registration unless the app is meant to be public.
- Schedule the first backupA nightly snapshot that you have actually restored once is worth more than any feature on this page.
Licence and cost
LGPL-2.1. Weak copyleft aimed at libraries: you can link it into proprietary software if users can replace the library.
Self-hosting removes the subscription but not the work: patching, backups, monitoring and the odd 2am alert. Budget a few hours a month for a small deployment.
Questions people ask
Is XWiki free to use?
Yes. XWiki is released under LGPL-2.1, so you can install and run it without a subscription. Weak copyleft aimed at libraries: you can link it into proprietary software if users can replace the library. Hosting and maintenance still cost money — a small VPS or a managed app host is the usual answer.
Can I self-host XWiki?
Yes — that is the point of this listing. You need a server with a supported runtime, persistent storage and a backup schedule. A managed app host removes most of the setup work if you would rather not maintain the operating system yourself.
What is a good alternative to XWiki?
BookStack is the closest option in the same category on this site — Simple, organized knowledge base platform. It is worth comparing licence terms before you pick.
Who is XWiki aimed at?
organisations that need structured pages, not only prose XWiki uses the LGPL-2.1 licence. Start with a single team and a single workflow rather than rolling it out to the whole company at once.