directusmanager
v1.2.0
Published
Desktop application for managing Directus CMS instances
Maintainers
Readme
Directus Manager 🚀
Directus Manager is a powerful desktop client built with Electron + Vue designed to streamline your workflow when managing Directus instances. It provides a native feel and enhanced performance for developers who want a dedicated environment for their headless CMS management.

✨ Features
- Native Performance: Fast, lightweight desktop experience via Electron.
- Modern UI: Built with Vue and styled for clarity and ease of use.
- Instance Management: Quickly switch between different Directus environments.
- Interactive Schema Viewer: Visualize your database schema with an interactive graph showing collections and their relationships.
- TypeScript Type Generation: Pull TypeScript types directly from your Directus instance.
- Git Integration: Version control your schemas with built-in Git support — view commit history, diffs, and manage remotes.
- API Explorer: Browse and test Directus API endpoints with jq-powered JSON filtering.
- Developer Friendly: Open for modifications and community improvements.
Adding a New Instance
Connect to any Directus instance by providing its URL and access token. You can optionally set custom paths for schema storage and TypeScript type generation.

| Field | Description |
|---|---|
| Instance Name | A friendly name to identify your instance |
| Directus URL | The base URL of your Directus API (e.g. https://api.example.com) |
| Access Token | Your Directus static access token (stored encrypted) |
| Custom Schema Path | Optional custom folder for storing pulled schemas (defaults to app data) |
| Custom Types Path | Optional path to save generated TypeScript types (directus-types.d.ts) |
Interactive Schema Viewer
Explore your database structure with a visual, interactive schema graph. Collections are listed in a sidebar and rendered as nodes on a canvas, with edges representing relationships between tables.

- Browse all collections in the sidebar and click to focus on a specific table
- View fields, types, and relationships at a glance
- Zoom, pan, and rearrange nodes to explore complex schemas
- Color-coded edges distinguish different relationship types
Git Version Control
Track and manage schema changes with built-in Git integration. View commit history, see uncommitted changes, and inspect diffs — all without leaving the app.


- View full commit history with authors and timestamps
- See uncommitted and modified files at a glance
- Inspect line-by-line diffs for any changed file
- Pull and push to remote repositories with embedded credentials
API Explorer with jq Search
Browse and test your Directus API endpoints directly from the app. Send requests, view responses, and filter JSON data using jq expressions.


- Browse all available endpoints grouped by collection
- Send GET, POST, PATCH, and DELETE requests
- Set relational depth for nested data retrieval
- Filter and extract response data using jq path expressions (e.g.
.data[].date_created) - Copy response data to clipboard
🛠️ Tech Stack
🚀 Getting Started
Installation via npm (Recommended)
Install globally to use the directusmanager command from anywhere:
npm install -g directusmanagerThen run:
directusmanagerUpdating to a New Version
npm update -g directusmanagerInstallation from Source
Prerequisites
- Node.js (Latest LTS recommended)
- npm or yarn
Clone the repository:
git clone https://github.com/OSZII/DirectusManager.git cd DirectusManagerInstall dependencies:
npm installStart the development server:
npm run devBuild for production:
npm run build
📄 License
This project is licensed under a custom license — see LICENSE.md for details. Attribution must remain visible in the application footer.
