🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis β†’
Socket
Book a DemoInstallSign in
Socket

create-docus

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-docus

CLI for creating Docus documentation projects

latest
Source
npmnpm
Version
5.3.1
Version published
Weekly downloads
286
-6.84%
Maintainers
3
Weekly downloads
Β 
Created
Source

docus

CLI tool to create beautiful docs with Markdown

npm version npm downloads License

The fastest way to create a new Docus documentation project. This CLI tool scaffolds a complete documentation website using the docus Nuxt layer.

πŸš€ Quick Start

Create a new documentation project in seconds:

# Create a new project
npx create-docus my-docs

# Or create with i18n template for multi-language docs
npx create-docus my-docs -t i18n

# Navigate to your project
cd my-docs

# Start development server
npm run dev

That's it! Your documentation site will be running at http://localhost:3000

🌍 Templates

Default Template

Creates a basic documentation project ready for single-language content.

I18n Template

Use the -t i18n flag to create a project with internationalization support:

npx create-docus my-docs -t i18n

The i18n template includes:

  • Pre-configured @nuxtjs/i18n module
  • Locale-based content structure (content/en/, content/fr/)
  • Built-in language switcher
  • Automatic URL prefixing (/en/docs, /fr/docs)

🎯 What it creates

The CLI scaffolds a complete documentation project with:

  • ✨ Beautiful Design - Clean, modern documentation theme
  • πŸ“± Responsive - Mobile-first responsive design
  • πŸŒ™ Dark Mode - Built-in dark/light mode support
  • 🌍 Internationalization - Native i18n support for multi-language docs
  • πŸ” Search - Full-text search functionality
  • πŸ“ Markdown Enhanced - Extended markdown with custom components
  • 🎨 Customizable - Easy theming and brand customization
  • ⚑ Fast - Optimized for performance with Nuxt 4
  • πŸ”§ TypeScript - Full TypeScript support

πŸ“ Project Structure

Generated project

my-docs/
β”œβ”€β”€ content/              # Your markdown content
β”‚   β”œβ”€β”€ index.md         # Homepage
β”‚   └── docs/            # Documentation pages
β”œβ”€β”€ public/              # Static assets
└── package.json         # Dependencies and scripts

Optional files and folders

Docus uses a layer system, you can go further and use any feature or file of a classical Nuxt project:

my-docs/
β”œβ”€β”€ app.config.ts        # App configuration
β”œβ”€β”€ nuxt.config.ts       # Nuxt configuration (add extra modules, components, etc.)
β”œβ”€β”€ app/                 # App directory
β”‚   β”œβ”€β”€ components/      # Components (add your own components)
β”‚   β”œβ”€β”€ layouts/         # Layouts (add your own layouts)
β”‚   └── pages/           # Pages (add your own pages)
└── server/              # Server-side code (add your own server-side code)

/content folder structure

Single language structure:

content/
β”œβ”€β”€ index.md
β”œβ”€β”€ getting-started.md
└── guide/
    β”œβ”€β”€ introduction.md
    └── configuration.md

Multi-language structure (with i18n):

content/
β”œβ”€β”€ en/
β”‚   β”œβ”€β”€ index.md
β”‚   └── guide/
β”‚       └── introduction.md
└── fr/
    β”œβ”€β”€ index.md
    └── guide/
        └── introduction.md

⚑ Built with

Your project comes pre-configured with the best of the Nuxt ecosystem:

  • docus - The Nuxt layer that powers your documentation

πŸ“– Documentation

For detailed documentation on customizing your Docus project, visit the Docus Documentation

πŸ› οΈ Development

This repository contains the CLI tool source code.

Local Development

To contribute to the CLI tool:

# Clone this repository
git clone https://github.com/nuxt-content/docus

# Install dependencies
pnpm install

# Build the CLI
pnpm run build

# Run the dev server to run the docus docs
pnpm run dev

πŸ“„ License

Published under the MIT license.

FAQs

Package last updated on 26 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts