directus-extension-inframe
v2.0.7
Published
Display dashboards, reports and external sites in iframes, directly in your Directus panel. Install, configure and centralize everything in one place!
Maintainers
Readme
Directus Extension - inFrame Module
View and manage external content through iframes directly in the Directus admin panel.

🎯 Why use it?
- 📊 External dashboards: Integrate Power BI, Tableau, Metabase or any BI tool
- 📈 Real-time reports: View updated data without leaving Directus
- 🔗 Organized links: Centralize access to external tools in one place
- 🌍 Multilingual support: Automatic translations for multiple languages
- ⚡ Zero configuration: Plug-and-play installation with automatic setup
✨ Features
🚀 Automatic Setup
The extension automatically creates all necessary collections, fields and relations upon installation!
No manual configuration required:
- ✅
inframecollection to manage content - ✅
languagescollection for languages - ✅
inframe_translationscollection for translations - ✅ Folder system for organization
- ✅ All fields and relations configured
How it works:
- Install the extension
- Restart Directus
- Done! Start using immediately
🔄 Navigation Persistence
Resume exactly where you left off:
- 💾 Automatically saves your last view
- 🔖 Restores state when returning to the module
- 🚀 Works even after closing/reopening browser
- ⚡ Zero performance impact
📦 Installation
Via NPM
npm install directus-extension-inframeVia PNPM
pnpm add directus-extension-inframeAfter installation
- Restart the Directus server
- Access the admin panel
- The "Reports" module will be available in the sidebar
💡 How to Use
1. Access the module
In the Directus sidebar, click "Reports" (document icon).
2. Create a new item
- Click "Create new"
- Fill in the fields:
- URL: Link to the content to be displayed in the iframe
- Status: Published, Draft or Archived
- Icon: Choose a Material Design icon
- Thumbnail: Preview image (optional)
- Add translations for different languages (optional)
- Save
3. View
The content will be displayed in the iframe within the Directus panel, allowing direct interaction.
⚙️ Docker Configuration (Optional)
If you use Docker, configure CSP to allow iframes:
environment:
CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC: "'self' https://your-domain.com"[!WARNING] Avoid using
'*'in production. Specify only trusted domains.
🔒 Security
- Configure CSP (Content Security Policy) properly
- List only trusted domains for iframes
- Use HTTPS in production
- Review user permissions in Directus
🌍 Compatibility
Tested and compatible with:
- Directus 9.x: 9.22.4, 9.23.1, 9.24.0
- Directus 10.x: 10.8.3
- Directus 11.x: 11.13.1 and newer versions
🐛 Known Issues
- Some websites block iframe display by policy (X-Frame-Options)
- HTTPS content cannot be displayed in HTTP Directus
🤝 Contributing
Contributions are welcome! See our Contributing Guide for details about:
- How to set up the development environment
- Running tests
- Submitting Pull Requests
- Code standards
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
