| Crates.io | stellar-org |
| lib.rs | stellar-org |
| version | 1.0.0-beta.3 |
| created_at | 2025-12-16 02:25:34.88867+00 |
| updated_at | 2025-12-17 02:49:07.018171+00 |
| description | A fast CLI tool to organize your files automatically by category, date, or hybrid mode |
| homepage | https://github.com/musem23/stellar |
| repository | https://github.com/musem23/stellar |
| max_upload_size | |
| id | 1987087 |
| size | 191,330 |
\|/
--*-- Stellar
/|\
A fast CLI tool to organize your files automatically.
Stellar includes a secure file encryption suite:
# Lock a file
stellar lock secret.pdf
# Unlock a file
stellar unlock secret.pdf.stlr
# Vault commands
stellar vault init # Initialize vault
stellar vault add file.pdf # Add to vault
stellar vault list # List contents
stellar vault extract file.pdf # Extract from vault
# Clone
git clone https://github.com/musem23/stellar.git
cd stellar
# Build
cargo build --release
# Run
./target/release/stellar-org
# Or install globally
cargo install --path .
curl -L https://github.com/musem23/stellar/releases/latest/download/stellar-macos.tar.gz | tar -xz
sudo mv stellar /usr/local/bin/
stellar
? What would you like to do?
> [>] Organize a folder
[~] Watch mode (auto-organize)
[=] Find duplicates
[<] Undo last operation
[H] History
[L] Security (lock/vault)
[*] Settings
[x] Exit
# Organize Downloads by category
stellar ~/Downloads
# Organize by date
stellar ~/Downloads -m date
# Hybrid mode (Documents/2024, Images/2024...)
stellar ~/Downloads -m hybrid
# Recursive scan
stellar ~/Downloads -R
# Dry-run (preview only)
stellar ~/Downloads --dry-run
# Watch mode
stellar ~/Downloads --watch
# Custom rename mode
stellar ~/Downloads -r date-prefix
stellar ~/Downloads -r skip
| Option | Short | Description |
|---|---|---|
--mode |
-m |
Organization: category, date, hybrid |
--rename |
-r |
Rename: clean, date-prefix, skip |
--recursive |
-R |
Scan subdirectories |
--dry-run |
-d |
Preview without changes |
--watch |
-w |
Auto-organize new files |
--help |
-h |
Show help |
--version |
-V |
Show version |
Downloads/
├── Documents/
├── Images/
├── Videos/
├── Audio/
└── Others/
Downloads/
├── 2024/
│ ├── 01-january/
│ ├── 02-february/
│ └── ...
└── 2025/
└── ...
Downloads/
├── Documents/
│ ├── 2024/
│ └── 2025/
├── Images/
│ ├── 2024/
│ └── 2025/
└── ...
| Mode | Example |
|---|---|
| Clean | Rapport FINAL (1).pdf → rapport-final.pdf |
| Clean | élève café.pdf → eleve-cafe.pdf |
| Date prefix | report.pdf → 2024-01-15-report.pdf |
| Skip | No renaming |
| Category | Extensions |
|---|---|
| Documents | pdf, doc, docx, txt, md, odt, rtf, xlsx, xls, csv, pptx, ppt |
| Images | png, jpg, jpeg, gif, webp, svg, bmp, ico, tiff, heic, psd |
| Videos | mp4, mkv, avi, mov, wmv, flv, webm, m4v |
| Audio | mp3, wav, flac, aac, ogg, wma, m4a |
| Archives | zip, tar, gz, rar, 7z, bz2, xz |
| Code | rs, js, ts, py, html, css, json, yaml, toml, sh |
| Executables | exe, msi, app, dmg, pkg, deb, rpm, iso |
| Fonts | ttf, otf, woff, woff2, eot |
| Ebooks | epub, mobi, azw, azw3, fb2, djvu |
Categories are customizable in Settings or via ~/.config/stellar/stellar.toml.
Stellar refuses to organize:
/, /System, /Library, etc.).ssh, .gnupg, .config).git, package.json, Cargo.toml, etc.)node_modules, target, venv, etc.)Config file: ~/.config/stellar/stellar.toml
[preferences]
organization_mode = 0 # 0=category, 1=date, 2=hybrid
rename_mode = 0 # 0=clean, 1=date-prefix, 2=skip
[categories]
Documents = ["pdf", "doc", "docx", "txt"]
Images = ["png", "jpg", "jpeg", "gif"]
# ... add your own
src/
├── main.rs # CLI entry point
├── modes.rs # Type-safe enums
├── interactive/ # Interactive mode
│ ├── mod.rs # Main menu
│ ├── security.rs # Lock/Vault menu
│ └── settings.rs # Configuration
├── vault/ # Security suite
│ ├── crypto.rs # Argon2id + AES-256-GCM
│ ├── storage.rs # Vault storage
│ └── recovery.rs # Recovery codes
├── scanner.rs # File scanning
├── organizer.rs # File organization
├── renamer.rs # Smart renaming
└── ...
MIT - @musem23