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

@kraftend/directus-terminal

v1.0.0

Published

A Directus extension that allows you to use the terminal in your Directus instance

Readme

Directus Terminal

⚠️ WORK IN PROGRESS ⚠️

This extension is currently in beta and is actively being developed. Features may change, and there may be bugs or breaking changes in future releases. Use at your own risk.

A Directus extension that allows you to use the terminal directly within your Directus instance. This extension provides an integrated terminal experience for managing your Directus environment.

This extension uses:

  • node-pty for terminal emulation
  • xterm.js for terminal rendering
  • Directus WebSocket API for real-time communication

Requirements

  • Directus instance with WebSocket support enabled
    • Set WEBSOCKETS_ENABLED=true in your Directus environment variables
  • Node.js environment with native module support (required for node-pty)

⚠️ CRITICAL SECURITY WARNING ⚠️

This extension should be used with extreme caution and only in environments where it is absolutely necessary.

We do not recommend using this extension in environments where administrators have regular SSH access with private keys. Using SSH with private keys is a more secure and standard way to access the server's terminal. This extension should only be used in environments where SSH access is not available or practical.

The terminal access provided by this extension grants users the same level of system access as the Directus application itself. This means:

  • Users with terminal access have full system-level privileges
  • They can execute any command on the server
  • They can access and modify any file on the system
  • They can install or remove any software
  • They can potentially compromise the entire server

NEVER install this extension on production environments unless absolutely necessary.

Docker Environment

When running Directus in a Docker container, this extension will only provide access to the container's environment, not the host system. This means:

  • Terminal access is limited to the container's filesystem and processes
  • Container isolation provides an additional layer of security
  • Changes made in the terminal will not affect the host system
  • Container restart will reset any changes made to the container's filesystem

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For support, please open an issue on GitHub.