Wiki.js
The most powerful and extensible open-source Wiki software alternative to Confluence.
Why consider Wiki.js?
Wiki.js is a modern, extensible wiki application built on Node.js and PostgreSQL. It features multiple editors (Markdown, Visual, Code), Git storage sync, and enterprise authentication.
Learn Wiki.js by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide10 sections
What is Wiki.js?
Wiki.js is a modern, powerful open-source wiki and documentation engine built with Node.js, Vue.js, and PostgreSQL. It serves as an extensible, self-hosted alternative to proprietary enterprise wikis like Atlassian Confluence, Notion, and legacy software like MediaWiki.
Wiki.js offers deep flexibility: choose your preferred authoring editor (Markdown, Visual WYSIWYG, Raw HTML, AsciiDoc, or Code), synchronize all documentation bidirectionally with Git repositories (GitHub, GitLab), and integrate enterprise Single Sign-On (SSO) with extensive permission rules.
Who Is It For?
- Engineering & DevOps Teams: Documenting technical architecture with Git synchronization and Markdown code formatting.
- Enterprise Organizations: Centralizing corporate knowledge bases with Active Directory / LDAP and OAuth SSO integration.
- Open-Source Projects: Publishing multi-lingual user guides and software documentation with full-text search.
Key Features
- Multiple authoring editors: Markdown with live preview, Visual WYSIWYG, AsciiDoc, Raw HTML, and Code editors.
- Bidirectional Git storage sync: Automatically commit and push wiki edits to GitHub, GitLab, or custom Git remotes.
- Built-in multi-lingual translation engine: Manage and translate documentation across dozens of languages.
- Comprehensive search backends: Integrated Database search, Elasticsearch, Algolia, and Postgres Trigram search.
- Enterprise authentication integrations: Google, GitHub, Microsoft, Keycloak, Authentik, Okta, SAML 2.0, and LDAP.
Deploying Wiki.js with Docker Compose
version: '3.7'services: wikijs: image: ghcr.io/requarks/wiki:2.5.314 container_name: wikijs restart: unless-stopped ports: - "3000:3000" environment: - DB_TYPE=postgres - DB_HOST=db - DB_PORT=5432 - DB_USER=wikijs - DB_PASS=secure_wikijs_password - DB_NAME=wiki depends_on: - db db: image: postgres:15-alpine container_name: wikijs_db restart: unless-stopped volumes: - ./pgdata:/var/lib/postgresql/data environment: - POSTGRES_DB=wiki - POSTGRES_USER=wikijs - POSTGRES_PASSWORD=secure_wikijs_passwordStart the instance:
docker compose up -dNavigate to http://localhost:3000 in your browser to complete administrator onboarding and configure your first wiki page.
Practical Use Cases
1. Git-Backed Developer Knowledge Base
An engineering team authors wiki articles in Markdown; Wiki.js automatically commits all changes to a private GitHub repository, maintaining version histories and Git diffs.
2. Multi-Lingual Product Documentation
A SaaS company publishes help documentation in English, Spanish, and German, utilizing Wiki.js's native multi-lingual page localization features.
3. Corporate Intranet Wiki with SSO
An enterprise connects Wiki.js to corporate Authentik / Keycloak OIDC, granting internal employees instant single sign-on access to company documents.
Troubleshooting and Limitations
- Search Engine Selection: For large wikis with thousands of pages, configure PostgreSQL full-text search or Elasticsearch in Administration -> Search to ensure fast query indexing.
- Git Sync SSH Keys: When configuring Git storage synchronization, generate a dedicated SSH key pair within the Wiki.js admin dashboard and register the public key in your GitHub repository deploy keys.
Official Resources
- Official Website: https://js.wiki
- GitHub Repository: https://github.com/Requarks/wiki
- Documentation: https://docs.requarks.com
Related tools
More options with a similar category or technology profile.
McFly
Fly through your shell history with an intelligent neural network search engine.
cheat
Interactive command-line cheatsheets for system administrators and software engineers.
Pipenv
Python development workflow for humans uniting Pipfile, pip, and virtualenv.
Rye
Comprehensive Python package and workspace management tool written in Rust.