File size: 2,170 Bytes
fe16f4b 50a52ca fe16f4b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | ---
license: mit
language:
- py
tags:
- filesystem
- auditor
---
# filesystem-auditor
## Description
`filesystem-auditor` is a pair of high-performance Python scripts designed to scan and analyze repository structures and tech stacks. It handles massive filesystems efficiently using `os.scandir` and provides detailed Markdown-formatted audits of file types, counts, and sizes. Look at `example_output\` forlder for examples.




## System Overview
```mermaid
graph TD
A[Repository Path] --> B{Action}
B -->|Structure Scan| C[scan_structure.py]
B -->|Techstack Scan| D[scan_techstack.py]
C --> E[STRUCTURE.md]
D --> F[TECHSTACK.md]
E --> G[Visual Documentation]
F --> G
```
## Project Structure
```text
filesystem-auditor (local)/
├── scan_structure.py
└── scan_techstack.py
```
## Usage
To audit your repository, run the scripts from the command line:
```powershell
# Scan directory structure
python scan_structure.py . --output STRUCTURE.md
# Audit techstack (file types, counts, sizes)
python scan_techstack.py . --output TECHSTACK.md
```
## Sample Output
<table>
<tr>
<td>
<img src="https://cdn-uploads.huggingface.co/production/uploads/69a2c0056574c22e42cf6624/qb5-yIYhJ8kVeZ1qt4bZN.png" alt="Image 1" width="400">
</td>
<td>
<img src="https://cdn-uploads.huggingface.co/production/uploads/69a2c0056574c22e42cf6624/Ybw9rbkPZ_jQfVfV3Ck3K.png" alt="Image 2" width="400">
</td>
</tr>
</table>
## BibTeX Citation
```bibtex
@misc{albeos2026filesystemauditor,
author = {Rembrant Oyangoren Albeos},
title = {filesystem-auditor: High-performance repository structure and techstack scanner},
year = {2026},
publisher = {Hugging Face},
journal = {Hugging Face Repository},
howpublished = {\url{https://huggingface.co/algorembrant/filesystem-auditor/}}
}
```
## Author
Rembrant Oyangoren Albeos (2026)
|