|
Download README.md from officialcyber88/File-and-Directory-Inspection: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/spaces/officialcyber88/File-and-Directory-Inspection/resolve/main/README.md
- Command line
-
hf download hf://spaces/officialcyber88/File-and-Directory-Inspection/README.md
-
curl -L -o README.md https://huggingface.co/spaces/officialcyber88/File-and-Directory-Inspection/resolve/main/README.md
1.4 kB
A newer version of the Gradio SDK is available: 6.32.0
metadata
title: File And Directory Inspection
emoji: 🧪
colorFrom: yellow
colorTo: red
sdk: gradio
sdk_version: 5.35.0
app_file: app.py
pinned: false
license: unlicense
File Inspector Tool
The File Inspector is a Gradio-based web application for analyzing the contents of a local directory or ZIP archive. It can display the full folder structure, extract readable text and code files, and export the results in multiple formats.
Features
- Supports both local directories and uploaded ZIP archives
- Displays full directory tree with size and timestamp information
- Extracts readable text/code content from supported files
- Supports syntax highlighting for common programming languages
- Allows export to multiple formats:
- TXT (plain text)
- JSON / JSONL
- YAML
- Markdown
- CSV / TSV
- HTML
How to Use
- Choose the input source:
- Local Path: enter a directory path
- Upload ZIP: upload a
.zipfile
- Select the desired action:
- Display Tree
- Extract Code
- Display Tree + Extract Code
- Choose an export format
- Click "Run" to process the files
- View the output and download the result
Installation (Local Use)
To run this tool locally, install the required dependencies and start the app:
pip install gradio pyyaml
python app.py
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference