Skip to content

Releases: mreinrt/pystruct

Version 4.1.0 - WYSIWYG Tree Copying

04 May 20:18

Choose a tag to compare

What's New in v4.1.0

WYSIWYG Tree Copying

  • Copy Tree now respects collapse/expand state – What you see in the GUI is exactly what gets copied to the clipboard
  • Collapsed directories show only the folder name without children
  • Expanded directories include their full visible subtree

Documentation Updates

  • Updated README with more accurate feature list
  • Improved cross-platform installation instructions
  • Professionalized "About the Developer" section

Installation

git clone https://github.com/mreinrt/pystruct.git
cd pystruct
pip install -r requirements.txt
python pystruct.py

Version 4.0.0 - Cross-Platform Multi-Tab Directory Tree Viewer

01 May 22:58

Choose a tag to compare

Major Release: Cross-Platform Support & Multi-Tab Interface

New Features

  • Full cross-platform compatibility - Now runs on Linux, macOS, and Windows
  • Multi-tab support - Work with multiple directories simultaneously
  • About dialog - Project info, creator story, and donation addresses
  • Refresh button - Reload current tab's tree without regenerating
  • Platform detection system - Automatically handles platform-specific features

Cross-Platform Migration

  • Windows hidden file detection using native API
  • macOS hidden file detection with BSD flags
  • Linux standard dot-file detection
  • Theme-aware styling respects system GTK themes
  • Cross-platform clipboard operations

Technical Updates

  • Modernized GTK CSS using system theme variables
  • EventBox-based tab clicks for proper event handling
  • Deprecated GTK methods replaced
  • Cleaner terminal output (removed debug prints)

Documentation

  • Updated README with cross-platform installation guides
  • Comprehensive changelog for version history
  • Platform-specific requirements documented

Full Changelog: CHANGELOG.md

v3.0.0 - Major UI Overhaul: File Preview, Split Pane & ASCII Pipe Connectors

27 Apr 10:35

Choose a tag to compare

What's New in v3.0.0

This is a major release that completely overhauls the user interface and adds powerful new features for browsing and working with directory structures.

New Features

  • File Content Preview Panel – Click any file in the tree to view its contents in a new bottom panel. Supports multiple text encodings (UTF-8, Latin-1, CP1252) and gracefully handles binary files.

  • Copy Selected File Content – Copy the contents of any text file directly to your clipboard with one click.

  • Split Pane View – Resize the directory tree and file preview areas by dragging the movable divider. The divider position is remembered between sessions.

  • Full-Width Row Highlighting – Uses your system's native GTK theme colors for selection, providing a polished, integrated look.

  • ASCII Pipe Connectors – The GUI tree view now displays classic ASCII tree characters (├──, └──, ) for better visual hierarchy.

Improvements

  • Complete UI Refactor – Migrated from Gtk.TextView to Gtk.TreeView for better performance and native GTK integration.
  • Code Reorganization – Methods are now grouped by functionality with improved naming and comprehensive docstrings.
  • Better ASCII Export – The "Copy Tree" output now perfectly aligns pipe connectors.

Bug Fixes

  • Fixed spin button +/- controls for Max Depth (now increments/decrements by 1 correctly)
  • Fixed Show Groups/Permissions
  • Graceful handling of binary files during preview (shows user-friendly message instead of crashing)
  • Resolved GTK warnings about duplicate widget containers during UI setup

Removed

  • Removed deprecated per‑line text‑tag highlighting in favor of native TreeView selection

Installation

git clone https://github.com/mreinrt/pystruct.git
cd pystruct
pip install -r requirements.txt
python pystruct.py