npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

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!

Readme

Directus Extension - inFrame Module

npm version License

View and manage external content through iframes directly in the Directus admin panel.

Extension preview

🎯 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:

  • inframe collection to manage content
  • languages collection for languages
  • inframe_translations collection for translations
  • ✅ Folder system for organization
  • ✅ All fields and relations configured

How it works:

  1. Install the extension
  2. Restart Directus
  3. 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-inframe

Via PNPM

pnpm add directus-extension-inframe

After installation

  1. Restart the Directus server
  2. Access the admin panel
  3. 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

  1. Click "Create new"
  2. 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)
  3. Add translations for different languages (optional)
  4. 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.

👥 Authors

🏢 Organization

Devix Tecnologia Ltda.