š Universal Git Commit Automation - Intelligent batch commits with file type detection
npm install @dougcostadev/auto-commitbash
Install globally via NPM
npm install -g @dougcostadev/auto-commit
Or using Yarn
yarn global add @dougcostadev/auto-commit
Or using pnpm
pnpm add -g @dougcostadev/auto-commit
`
$3
`bash
Navigate to any Git repository
cd your-project
Initialize DAC configuration
dac init
Run intelligent batch commits
dac run
View repository statistics
dac stats
Configure settings
dac config
`
š Commands
$3
Initialize DAC in your repository with interactive setup.
`bash
dac init # Interactive setup
dac init --force # Force reinitialize
dac init --config # Custom config location
`
$3
Execute intelligent batch commit automation.
`bash
dac run # Full automated processing
dac run --dry-run # Preview without executing
dac run --type source web # Process only specific types
dac run --batch-size 500 # Override batch sizes
dac run --skip-analysis # Skip repository analysis
`
$3
Manage DAC configuration settings.
`bash
dac config --list # Show all settings
dac config --set key=value # Set configuration
dac config --get key # Get specific value
dac config --reset # Reset to defaults
`
$3
View repository and processing statistics.
`bash
dac stats # Basic statistics
dac stats --detailed # Detailed analysis
dac stats --history # Processing history
`
šÆ Features
$3
- 13 Categories: Binary, Media, Assets, Archives, Source, Web, Mobile, Database, Config, Docs, Data, System, Misc
- 200+ Extensions: Comprehensive coverage of all major file types
- Smart Detection: Advanced pattern matching and content analysis
$3
- Beautiful UI: Colorful, gradient interface with ASCII art
- Progress Tracking: Real-time progress bars and file-by-file updates
- Interactive Menus: Easy navigation and configuration
- Error Handling: Graceful error recovery and user feedback
$3
- Dynamic Batch Sizing: Automatically optimized based on file types and repository size
- Custom Settings: Configurable batch sizes, file type priorities, and processing rules
- GitHub Compliance: Respects 100MB file and ~1GB push limits
- Project Detection: Automatic detection of project type (Web, Mobile, Game, etc.)
š ļø Configuration
DAC creates a .dac.json configuration file in your repository:
`json
{
"version": "1.0.0",
"batchSizes": {
"binary": 50,
"media": 75,
"source": 800,
"web": 1200,
"docs": 2500
},
"excludePatterns": [
"node_modules/**",
".git/**",
"dist/**",
"build/**"
],
"commitMessage": {
"template": "{type} - Batch {batch}/{total} ({count} files)",
"useConventional": false
},
"processing": {
"parallel": true,
"maxConcurrency": 4,
"retryFailedPushes": true,
"skipLargeFiles": true
}
}
`
šØ Interface Preview
`
āāāāāāāāā āāāāāā āāāāāāā
āāāāāāāā āāāāāāāā āāāāāāāā
āāā āāā āāāāāāāā āāā
āāā āāā āāāāāāāā āāā
āāāāāāāā āāā āāā āāāāāāāā
āāāāāāā āāā āāā āāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā š Auto Commit v1.0.0 ā
ā Universal Git Commit Automation ā
ā https://github.com/dougcostadev/auto-commit ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š Repository Analysis:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā š web ā 4,521 files ā 30% ā 4 batches ā
ā š» source ā 3,245 files ā 21% ā 3 batches ā
ā š docs ā 2,890 files ā 19% ā 2 batches ā
ā šØ media ā 1,876 files ā 12% ā 25 batches ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
šÆ Repository Type: Web Development Project
ā” Processing Strategy: Optimized for frontend files
`
š§ Development
$3
`bash
Clone the repository
git clone https://github.com/dougcostadev/auto-commit.git
cd auto-commit
Install dependencies
npm install
Build TypeScript
npm run build
Run locally
npm run dev
Test the CLI
npm link
dac --help
`
$3
`bash
npm test # Run tests
npm run lint # Check code style
npm run format # Format code
`
š¤ Contributing
1. Fork the repository
2. Create a feature branch: git checkout -b feature/amazing-feature
3. Commit your changes: git commit -m 'Add amazing feature'
4. Push to the branch: git push origin feature/amazing-feature`