Skip to content

sebastienrousseau/dotfiles.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

216 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Dotfiles logo

Dotfiles Documentation โ€” the official guide for the Trusted Shell Platform

Build Version License DeepSource Website


Overview

This repository powers dotfiles.io, the official documentation site for the Dotfiles / Trusted Shell Platform. Built with VitePress, it provides comprehensive guides for installation, configuration, aliases, functions, paths, guides, and advanced usage across 22 languages.


Table of Contents


Features

  • Multi-Language Support: Documentation available in 22 languages with flag-based language selector.
  • Comprehensive CLI Reference: All 53 dot CLI commands documented with usage examples.
  • Alias Reference: 1,250+ shell aliases across 48 categories with overview and reference pages.
  • SEO Optimized: JSON-LD structured data, OpenGraph, Twitter Cards, and semantic HTML.
  • PWA Ready: Progressive Web App support for offline access.
  • Accessibility: ARIA labels, keyboard navigation, and screen reader support.
  • Performance: Optimized builds with HTML/CSS/JS minification and code splitting.
  • Search: Integrated search functionality across all documentation.

Supported Languages

Flag Language Code Path
๐Ÿ‡ฌ๐Ÿ‡ง English en-GB /
๐Ÿ‡ธ๐Ÿ‡ฆ ุงู„ุนุฑุจูŠุฉ ar-SA /ar/
๐Ÿ‡ฉ๐Ÿ‡ช Deutsch de-DE /de/
๐Ÿ‡ช๐Ÿ‡ธ Espaรฑol es-ES /es/
๐Ÿ‡ซ๐Ÿ‡ท Franรงais fr-FR /fr/
๐Ÿ‡ฎ๐Ÿ‡ฑ ืขื‘ืจื™ืช he-IL /he/
๐Ÿ‡ฎ๐Ÿ‡ณ เคนเคฟเค‚เคฆเฅ€ hi-IN /hi/
๐Ÿ‡ฎ๐Ÿ‡ฉ Bahasa Indonesia id-ID /id/
๐Ÿ‡ฎ๐Ÿ‡น Italiano it-IT /it/
๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่ชž ja-JP /ja/
๐Ÿ‡ฐ๐Ÿ‡ท ํ•œ๊ตญ์–ด ko-KR /ko/
๐Ÿ‡ณ๐Ÿ‡ฑ Nederlands nl-NL /nl/
๐Ÿ‡ต๐Ÿ‡ฑ Polski pl-PL /pl/
๐Ÿ‡ง๐Ÿ‡ท Portuguรชs pt-BR /pt/
๐Ÿ‡ท๐Ÿ‡ด Romรขnฤƒ ro-RO /ro/
๐Ÿ‡ท๐Ÿ‡บ ะ ัƒััะบะธะน ru-RU /ru/
๐Ÿ‡น๐Ÿ‡ญ เน„เธ—เธข th-TH /th/
๐Ÿ‡น๐Ÿ‡ท Tรผrkรงe tr-TR /tr/
๐Ÿ‡บ๐Ÿ‡ฆ ะฃะบั€ะฐั—ะฝััŒะบะฐ uk-UA /uk/
๐Ÿ‡ป๐Ÿ‡ณ Tiแบฟng Viแป‡t vi-VN /vi/
๐Ÿ‡จ๐Ÿ‡ณ ็ฎ€ไฝ“ไธญๆ–‡ zh-CN /zh/
๐Ÿ‡น๐Ÿ‡ผ ็น้ซ”ไธญๆ–‡ zh-TW /zh-tw/

Documentation Content

Each locale includes the following sections:

Section Description Pages (EN)
About Project overview, installation, and full dot CLI reference (53 commands) 1
Aliases 48 alias categories with overview and reference pages 96
Functions Shell functions reference 1
Paths PATH configuration reference 1
Guides SSH signing, GPG configuration, and secret management guides 3

Alias Categories

48 categories covering: AI, Archives, Benchmarks, cd, chmod, clear, Compliance, Configuration, Default, Diagnostics, dig, Disk Usage, Docker, Editor, find, Fonts, GCloud, Git, GNU, Go, Heroku, Installer, Interactive, Kubernetes, Legal, Lua, macOS, Make, mkdir, Modern, npm, Permission, pnpm, ps, Python, rsync, Rust, Security, Subversion, Sudo, System, Terraform, tmux, Update, UUID, Vagrant, wget, and Yarn.

dot CLI Commands

53 commands organised by category:

  • Core (11): apply, sync, update, add, diff, status, remove, cd, edit, clean-cache, prewarm
  • Diagnostics (14): doctor, heal, health, verify, scorecard, snapshot, smoke-test, chaos, bundle, rollback, drift, history, benchmark, perf
  • Appearance (4): theme, wallpaper, fonts, tune
  • Security (7): backup, encrypt-check, firewall, telemetry, dns-doh, lock-screen, usb-safety
  • Secrets (5): secrets-init, secrets, secrets-create, ssh-key, ssh-cert
  • AI (3+): ai, ai-setup, ai-query, plus wrappers (cl, gemini, kiro, sgpt, ollama, opencode, aider)
  • Tools (5): tools, new, sandbox, keys, learn
  • Meta (3): upgrade, packages, version/help

Quick Start

Prerequisites

  • Node.js v18+
  • npm
# Clone the repository
git clone https://github.com/sebastienrousseau/dotfiles.github.io.git
cd dotfiles.github.io

# Install dependencies
npm install

# Start development server
npm run dev

Open http://localhost:5173 to view the site.


Development

# Start local development server with hot reload
npm run dev

# Production build
npm run build

# Preview production build
npm run preview

# Run full quality suite (build + SEO validation + accessibility lint)
npm run test:quality

Available Scripts

Script Description
npm run dev Start development server with hot reload
npm run build Production build
npm run preview Preview production build locally
npm run content:normalize Normalize frontmatter across all pages
npm run docs:sync:en Sync EN docs from the dotfiles source repo
npm run docs:audit:en Audit EN docs for accuracy
npm run lint:content:a11y Lint content for accessibility issues
npm run validate:manifest Validate PWA manifest
npm run validate:seo Validate SEO metadata in built output
npm run test:axe Run axe accessibility tests
npm run test:lighthouse Run Lighthouse CI audits
npm run test:quality Full quality suite (build + manifest + SEO + a11y)

Build

# Production build
npm run build

Build output is generated in docs/.vitepress/dist/. The build process:

  • Compiles all 1,450+ pages across 22 locales
  • Generates static HTML for all locales
  • Produces an XML sitemap

Project Structure

dotfiles.github.io/
โ”œโ”€โ”€ docs/
โ”‚   โ”œโ”€โ”€ .vitepress/
โ”‚   โ”‚   โ”œโ”€โ”€ config.ts               # Main VitePress configuration
โ”‚   โ”‚   โ”œโ”€โ”€ config/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ head/               # SEO meta tags
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ nav/                # Navigation configs (22 locales)
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ sidebar/            # Sidebar configs (22 locales)
โ”‚   โ”‚   โ”œโ”€โ”€ public/                 # Static assets (favicons, manifest)
โ”‚   โ”‚   โ””โ”€โ”€ theme/                  # Theme overrides and CSS
โ”‚   โ”œโ”€โ”€ en/                         # English (default locale)
โ”‚   โ”‚   โ”œโ”€โ”€ about/                  # About & dot CLI reference
โ”‚   โ”‚   โ”œโ”€โ”€ aliases/                # 48 alias categories
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ai/                 # AI aliases
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ benchmarks/         # Benchmark aliases
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ docker/             # Docker aliases
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ git/                # Git aliases
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ system/             # System aliases
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ...                 # 43 more categories
โ”‚   โ”‚   โ”œโ”€โ”€ functions/              # Shell functions
โ”‚   โ”‚   โ”œโ”€โ”€ guides/                 # Guides
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ssh-signing/        # SSH signing guide
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ gpg-configuration/  # GPG configuration guide
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ secret-management/  # Secret management guide
โ”‚   โ”‚   โ””โ”€โ”€ paths/                  # PATH configuration
โ”‚   โ”œโ”€โ”€ ar/                         # Arabic
โ”‚   โ”œโ”€โ”€ de/                         # German
โ”‚   โ”œโ”€โ”€ es/                         # Spanish
โ”‚   โ”œโ”€โ”€ fr/                         # French
โ”‚   โ”œโ”€โ”€ he/                         # Hebrew
โ”‚   โ”œโ”€โ”€ hi/                         # Hindi
โ”‚   โ”œโ”€โ”€ id/                         # Indonesian
โ”‚   โ”œโ”€โ”€ it/                         # Italian
โ”‚   โ”œโ”€โ”€ ja/                         # Japanese
โ”‚   โ”œโ”€โ”€ ko/                         # Korean
โ”‚   โ”œโ”€โ”€ nl/                         # Dutch
โ”‚   โ”œโ”€โ”€ pl/                         # Polish
โ”‚   โ”œโ”€โ”€ pt/                         # Portuguese
โ”‚   โ”œโ”€โ”€ ro/                         # Romanian
โ”‚   โ”œโ”€โ”€ ru/                         # Russian
โ”‚   โ”œโ”€โ”€ th/                         # Thai
โ”‚   โ”œโ”€โ”€ tr/                         # Turkish
โ”‚   โ”œโ”€โ”€ uk/                         # Ukrainian
โ”‚   โ”œโ”€โ”€ vi/                         # Vietnamese
โ”‚   โ”œโ”€โ”€ zh/                         # Chinese (Simplified)
โ”‚   โ”œโ”€โ”€ zh-tw/                      # Chinese (Traditional)
โ”‚   โ””โ”€โ”€ README.md                   # Homepage
โ”œโ”€โ”€ scripts/                        # Build and validation scripts
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md                       # This file

Deployment

This repository is automatically deployed to GitHub Pages via GitHub Actions on every push to the main branch.

Live site: https://dotfiles.io


Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feat/amazing-feature)
  5. Open a Pull Request

Please ensure:

  • All 22 locales are updated simultaneously for content changes
  • npm run build passes without errors
  • Front matter follows the schema guidelines

Related


License

This project is licensed under the MIT License. See LICENSE for details.


โ†‘ Back to Top

About

Documentation website for Dotfiles.io

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors