Skip to main content

A interactive terminal directory navigator for Windows.

Project description

📂 terminaltreeview

PyPI version Python Version License: MIT

terminaltreeview is a sleek, interactive terminal directory navigator designed specifically for Windows. It brings a modern, tree-like navigation experience directly to your command line, allowing you to jump between folders with fluid keyboard shortcuts.


Features

  • Visual Tree View: Navigate your folders with a clean, indented structure.
  • Lightning Fast: Optimized for speed and low latency.
  • Intuitive Shortcuts:
    • ↑ / ↓: Navigate through files and folders.
    • Enter / →: Expand/Collapse directories.
    • : Go to the parent directory (smart jumping).
    • Ctrl + Enter: Exit and open the terminal in the parent directory.
    • Shift + Enter: Go Inside! Exit and teleport your terminal into the selected directory.
    • Ctrl + O: Open file! Use start command to open file.
    • Ctrl + N: New folder! Create and name a folder inside the selected directory.
    • Type letters: Filter Filter all folders and files on the view.
  • Rich Styling: Beautiful colors and icons powered by the rich library.

One-Minute Setup

Getting the full experience ready is extremely simple:

1. Install via pip

pip install terminaltreeview

2. Enable Shell Integration (Magic CD)

To allow terminaltreeview to change your terminal's directory (the "Teleport" feature), run this setup command once:

ttv-setup

[!TIP] This command automatically configures every shell it detects — PowerShell 7 (pwsh), Windows PowerShell 5.1, and CMD (via a ttv.bat shim on your PATH). After running it, simply restart your terminal or run . $PROFILE.

3. Start Navigating

Now just type ttv from anywhere:

ttv

Key Mappings

Key Action
/ Move selection
Enter / Expand folder
Collapse folder or jump to Parent
Ctrl + Enter Open shell at current selection level
Shift + Enter Open shell inside selected folder
Ctrl + O Open the selected item
Ctrl + N Create a new folder in the selected directory
Q / Ctrl + C Quit

Requirements

  • OS: Windows (Uses Win32 API for cursor and key handling).
  • Python: 3.8 or higher.

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to make terminaltreeview even better.

Made with ❤️ by FlipNeves

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminaltreeview-0.2.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminaltreeview-0.2.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file terminaltreeview-0.2.0.tar.gz.

File metadata

  • Download URL: terminaltreeview-0.2.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for terminaltreeview-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1bade0795bef51cee9bb822812f264c9f1970e55423123c577aee80827ddb788
MD5 c41155f73a58e1a0767d95b0508a093b
BLAKE2b-256 768c16e611e377eacea5f3f40c6b2d4d7a5f71bb2adece2171414bae731f5c87

See more details on using hashes here.

File details

Details for the file terminaltreeview-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terminaltreeview-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 314134d87edbadab362cfb51d020158b0668ede7e7d438dd68eedb72ad499a8d
MD5 4a45a9c0dc7ada6df8e4ecd7afb0600e
BLAKE2b-256 82ea426090bd3cef06be7a5596482300b4e012717db9084f99bff71cf0a7a85a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page