Crate

dirs

Cross-platform standard directory paths — home, config, cache, data.

What it is

dirs provides platform-appropriate paths for user home, configuration, cache, data, and temp directories. It follows XDG Base Directory conventions on Linux, AppData on Windows, and Library conventions on macOS.

Why it is commonly used

Used in CLI tools and desktop applications to locate config files, caches, and user data correctly on every platform without hardcoding paths like ~/.config or %APPDATA%.

335
Repositories
3.0M
Total stars
544
Active
545
Owners
Browse 596 repositories using dirs in Repos →
Often used with
Used by these organizations
50 of 596 repositories · ranked by stars
rustdesk116kactive

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

cc-switch95kactive

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io

zed85kactive

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

RuView72kactive

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

⑂ 9.6k193
openinterpreter64kactive

A lightweight coding agent for open models like Deepseek, Kimi, and Qwen

⑂ 5.6k270
rtk60kactive

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

⑂ 3.7k1.1k
starship58kactive

☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

⑂ 2.5k1.0k
typst54kactive

A markup-based typesetting system that is powerful and easy to learn.

⑂ 1.6k1.2k
goose48kactive

an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

Antigravity-Manager30kactive

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。

⑂ 3.2k1.7k
llmfit28kactive

Hundreds of models & providers. One command to find what runs on your hardware.

⑂ 1.7k80
cli27kactive

Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.

Graphite26kactive

Community-built comprehensive 2D content creation appplication for graphic design, digital art, and interactive real-time motion graphics powered by a node-based procedural graphics engine

⑂ 1.2k531
Ciphey21kactive

⚡ Automatically decrypt encryptions without knowing the key or cipher, decode encodings, and crack hashes ⚡

gitbutler21kactive

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte

⑂ 951663
turso19kactive

Turso is an in-process SQL database, compatible with SQLite.

⑂ 1.0k695
← Browse all repos