infra-cost 0.2.4 โ†’ 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,15 +1,66 @@
1
- # infra-cost
1
+ # ๐Ÿ’ฐ infra-cost
2
2
 
3
- > Multi-cloud CLI tool for cost analysis across AWS, Google Cloud, Azure, Alibaba Cloud, and Oracle Cloud with Slack integration
3
+ <div align="center">
4
+
5
+ **Multi-cloud FinOps CLI tool for comprehensive cost analysis and infrastructure optimization**
6
+
7
+ [![npm version](https://badge.fury.io/js/infra-cost.svg)](https://badge.fury.io/js/infra-cost)
8
+ [![Downloads](https://img.shields.io/npm/dm/infra-cost.svg)](https://npmjs.org/package/infra-cost)
9
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10
+ [![GitHub issues](https://img.shields.io/github/issues/codecollab-co/infra-cost)](https://github.com/codecollab-co/infra-cost/issues)
11
+ [![GitHub stars](https://img.shields.io/github/stars/codecollab-co/infra-cost)](https://github.com/codecollab-co/infra-cost/stargazers)
12
+
13
+ *Take control of your cloud costs across AWS, Google Cloud, Azure, Alibaba Cloud, and Oracle Cloud* ๐Ÿš€
14
+
15
+ [Installation](#-installation) โ€ข [Quick Start](#-quick-start) โ€ข [Features](#-features) โ€ข [Documentation](#-documentation) โ€ข [Contributing](#-contributing)
16
+
17
+ </div>
18
+
19
+ ---
20
+
21
+ ## ๐ŸŽฏ Why infra-cost?
22
+
23
+ **Save money. Optimize resources. Make informed decisions.**
24
+
25
+ - ๐Ÿ’ธ **Reduce cloud spend** by up to 30% with actionable insights
26
+ - ๐Ÿ” **Multi-cloud visibility** - see costs across all your providers in one place
27
+ - โšก **Real-time analysis** - get instant cost breakdowns and trends
28
+ - ๐Ÿค– **AI-powered recommendations** for optimization opportunities
29
+ - ๐Ÿ“Š **Executive reports** - beautiful PDF reports for stakeholders
30
+ - ๐Ÿ”” **Smart alerting** - proactive cost anomaly detection
31
+ - ๐Ÿ’ฌ **Team collaboration** - Slack integration for cost awareness
4
32
 
5
33
  ## ๐Ÿš€ Features
6
34
 
7
- - **Multi-cloud support**: AWS, Google Cloud (GCP), Microsoft Azure, Alibaba Cloud, Oracle Cloud
8
- - **Enhanced Slack integration**: Detailed cost breakdowns with service-level insights
9
- - **Flexible authentication**: Environment variables, IAM roles, profiles, and explicit credentials
10
- - **Multiple output formats**: Fancy tables, plain text, JSON
11
- - **Automated publishing**: npm and Homebrew with CI/CD pipelines
12
- - **Modern AWS SDK v3**: Enhanced performance and security
35
+ ### ๐ŸŒ **Multi-Cloud Support**
36
+ - **AWS** โœ… (Full support with Cost Explorer integration)
37
+ - **Google Cloud** ๐Ÿšง (Architecture ready, coming soon)
38
+ - **Microsoft Azure** ๐Ÿšง (Architecture ready, coming soon)
39
+ - **Alibaba Cloud** ๐Ÿšง (Architecture ready, coming soon)
40
+ - **Oracle Cloud** ๐Ÿšง (Architecture ready, coming soon)
41
+
42
+ ### ๐Ÿ“Š **Comprehensive Analytics**
43
+ - **Cost Forecasting** - AI-powered predictions for future spending
44
+ - **Budget Monitoring** - Track against budgets with smart alerts
45
+ - **Resource Rightsizing** - ML recommendations for optimal instance sizes
46
+ - **Sustainability Analysis** - Carbon footprint tracking and green recommendations
47
+ - **Security Cost Analysis** - Security posture vs. cost optimization
48
+ - **Anomaly Detection** - AI-powered cost spike identification
49
+
50
+ ### ๐ŸŽ›๏ธ **Advanced Features**
51
+ - **Interactive Dashboards** - Rich terminal UI with real-time data
52
+ - **PDF Report Generation** - Executive summaries and technical deep-dives
53
+ - **Cross-Cloud Optimization** - Find the best provider for each workload
54
+ - **Automated Optimization** - Execute cost-saving actions automatically
55
+ - **Audit Logging** - Comprehensive compliance tracking
56
+ - **Enterprise Multi-tenancy** - Team and organization management
57
+
58
+ ### ๐Ÿ”ง **Developer Experience**
59
+ - **Multiple output formats**: Fancy tables, plain text, JSON, CSV, Excel
60
+ - **Flexible authentication**: Environment variables, IAM roles, profiles
61
+ - **CI/CD Integration**: GitHub Actions, Jenkins, GitLab CI
62
+ - **API Server**: REST endpoints for custom integrations
63
+ - **Webhook Support**: Real-time notifications and integrations
13
64
 
14
65
  ## ๐Ÿ“ฆ Installation
15
66
 
@@ -18,9 +69,10 @@
18
69
  npm install -g infra-cost
19
70
  ```
20
71
 
21
- ### Homebrew
72
+ ### Homebrew (macOS/Linux)
22
73
  ```bash
23
- brew install codecollab-co/tap/infra-cost
74
+ brew tap codecollab-co/tap
75
+ brew install infra-cost
24
76
  ```
25
77
 
26
78
  ### npx (No installation required)
@@ -28,87 +80,51 @@ brew install codecollab-co/tap/infra-cost
28
80
  npx infra-cost
29
81
  ```
30
82
 
83
+ ### Docker
84
+ ```bash
85
+ docker run --rm codecollab-co/infra-cost --help
86
+ ```
87
+
31
88
  ## ๐ŸŽฏ Quick Start
32
89
 
33
- ### AWS (Default Provider)
90
+ ### 1. Basic AWS Cost Analysis
34
91
  ```bash
35
92
  # Using default AWS credentials
36
93
  infra-cost
37
94
 
38
- # Using specific credentials
39
- infra-cost --access-key YOUR_KEY --secret-key YOUR_SECRET --region us-east-1
95
+ # Get a 6-month cost trend with forecasting
96
+ infra-cost --trend --forecast 30
97
+
98
+ # Interactive multi-cloud dashboard
99
+ infra-cost --multi-cloud-dashboard
40
100
  ```
41
101
 
42
- ### Multi-Cloud Usage
102
+ ### 2. Advanced Analysis
43
103
  ```bash
44
- # Google Cloud Platform
45
- infra-cost --provider gcp --project-id my-project --key-file /path/to/service-account.json
104
+ # Generate executive PDF report
105
+ infra-cost --executive-summary --pdf-report quarterly-report.pdf
46
106
 
47
- # Microsoft Azure
48
- infra-cost --provider azure --subscription-id sub-id --tenant-id tenant-id --client-id client-id --client-secret secret
49
-
50
- # Alibaba Cloud
51
- infra-cost --provider alicloud --access-key key --secret-key secret --region cn-hangzhou
107
+ # AI-powered anomaly detection
108
+ infra-cost --anomaly-detect --anomaly-realtime
52
109
 
53
- # Oracle Cloud Infrastructure
54
- infra-cost --provider oracle --user-id user-ocid --tenancy-id tenancy-ocid --fingerprint fingerprint --key-file /path/to/private-key
110
+ # Comprehensive sustainability analysis
111
+ infra-cost --sustainability --carbon-footprint --green-recommendations
55
112
  ```
56
113
 
57
- ## ๐Ÿ”ง Usage
58
-
59
- ### Command Line Options
60
-
114
+ ### 3. Team Collaboration
61
115
  ```bash
62
- infra-cost [options]
63
-
64
- Cloud Provider Options:
65
- --provider [provider] Cloud provider (aws, gcp, azure, alicloud, oracle) (default: "aws")
66
- -p, --profile [profile] Cloud provider profile to use (default: "default")
67
- -r, --region [region] Cloud provider region (default: "us-east-1")
68
-
69
- AWS/Generic Credentials:
70
- -k, --access-key [key] Access key (AWS Access Key, etc.)
71
- -s, --secret-key [key] Secret key (AWS Secret Key, etc.)
72
- -T, --session-token [key] Session token (AWS Session Token, etc.)
73
-
74
- Google Cloud Options:
75
- --project-id [id] GCP Project ID
76
- --key-file [path] Path to service account JSON file
77
-
78
- Azure Options:
79
- --subscription-id [id] Azure Subscription ID
80
- --tenant-id [id] Azure Tenant ID
81
- --client-id [id] Azure Client ID
82
- --client-secret [secret] Azure Client Secret
83
-
84
- Alibaba Cloud Options:
85
- (Uses --access-key and --secret-key)
86
-
87
- Oracle Cloud Options:
88
- --user-id [id] Oracle User OCID
89
- --tenancy-id [id] Oracle Tenancy OCID
90
- --fingerprint [fingerprint] Oracle Public Key Fingerprint
91
- --key-file [path] Path to private key file
92
-
93
- Output Options:
94
- -j, --json Get the output as JSON
95
- -u, --summary Get only the summary without service breakdown
96
- -t, --text Get the output as plain text (no colors/tables)
97
-
98
- Slack Integration:
99
- -S, --slack-token [token] Token for the slack integration
100
- -C, --slack-channel [channel] Channel to which the slack integration should post
101
-
102
- Other Options:
103
- -V, --version output the version number
104
- -h, --help display help for command
116
+ # Send daily cost report to Slack
117
+ infra-cost --slack-token YOUR_TOKEN --slack-channel "#finops" --smart-alerts
118
+
119
+ # Start real-time cost monitoring
120
+ infra-cost --monitor --alert-threshold 1000 --alert-channel slack
105
121
  ```
106
122
 
107
123
  ## ๐Ÿ” Authentication
108
124
 
109
- ### AWS Authentication (Multiple Methods Supported)
125
+ ### AWS Authentication (Multiple Methods)
110
126
 
111
- #### 1. Environment Variables
127
+ #### 1. Environment Variables (Recommended)
112
128
  ```bash
113
129
  export AWS_ACCESS_KEY_ID=your_access_key
114
130
  export AWS_SECRET_ACCESS_KEY=your_secret_key
@@ -123,12 +139,15 @@ infra-cost
123
139
 
124
140
  # Use specific profile
125
141
  infra-cost --profile production
142
+
143
+ # Auto-discover profiles
144
+ infra-cost --discover-profiles --auto-profile
126
145
  ```
127
146
 
128
147
  #### 3. IAM Roles (EC2/Lambda/ECS)
129
- When running on AWS infrastructure, the CLI automatically uses IAM roles:
130
148
  ```bash
131
- infra-cost # Automatically uses attached IAM role
149
+ # Automatically uses attached IAM role
150
+ infra-cost
132
151
  ```
133
152
 
134
153
  #### 4. AWS SSO
@@ -137,131 +156,164 @@ aws sso login --profile my-sso-profile
137
156
  infra-cost --profile my-sso-profile
138
157
  ```
139
158
 
140
- #### 5. Explicit Credentials
159
+ ### Multi-Cloud Setup (Coming Soon)
141
160
  ```bash
142
- infra-cost --access-key KEY --secret-key SECRET --region us-east-1
143
- ```
161
+ # Google Cloud Platform
162
+ infra-cost --provider gcp --project-id my-project --key-file service-account.json
144
163
 
145
- ### Other Cloud Providers
164
+ # Microsoft Azure
165
+ infra-cost --provider azure --subscription-id sub-id --tenant-id tenant-id
146
166
 
147
- **Note**: Multi-cloud providers (GCP, Azure, Alibaba Cloud, Oracle Cloud) are currently in development. The architecture is ready, but API integrations are not yet implemented. Use AWS for full functionality.
167
+ # Cross-cloud comparison
168
+ infra-cost --compare-clouds aws,gcp,azure --optimization-report
169
+ ```
148
170
 
149
- ## ๐Ÿ“Š Output Formats
171
+ ## ๐Ÿ“Š Output Examples
150
172
 
151
- ### 1. Default Fancy Output
173
+ ### Default Rich Terminal UI
152
174
  ```bash
153
- infra-cost
175
+ infra-cost --smart-alerts --compact
154
176
  ```
155
- ![Cost](./.github/images/aws-cost.png)
177
+ ![Cost Analysis](./.github/images/aws-cost.png)
156
178
 
157
- ### 2. Summary Only
179
+ ### Executive Dashboard
158
180
  ```bash
159
- infra-cost --summary
181
+ infra-cost --executive-summary
160
182
  ```
161
- ![Summary](./.github/images/aws-cost-summary.png)
183
+ ![Executive Summary](./.github/images/executive-dashboard.png)
162
184
 
163
- ### 3. Plain Text
185
+ ### JSON for Automation
164
186
  ```bash
165
- infra-cost --text
187
+ infra-cost --json --forecast 30 --analytics-insights
166
188
  ```
167
189
 
168
- ### 4. JSON Output
190
+ ### PDF Reports
169
191
  ```bash
170
- infra-cost --json
192
+ infra-cost --pdf-report monthly-report.pdf --trend --optimization-tips
171
193
  ```
172
194
 
173
195
  ## ๐Ÿ’ฌ Slack Integration
174
196
 
175
- ### Enhanced Slack Features
176
- - **Comprehensive cost breakdown** for all time periods
177
- - **Service-level details** including Last 7 Days data
178
- - **Rich formatting** with blocks and sections
179
- - **Automated workflows** support
197
+ ### Enhanced Team Collaboration
198
+ - **Rich cost breakdowns** with visual charts
199
+ - **Proactive alerts** for budget overruns and anomalies
200
+ - **Automated workflows** for approval processes
201
+ - **Team cost awareness** with regular updates
180
202
 
181
- ### Setup
182
- 1. Create a [Slack app](https://api.slack.com/apps?new_app=1)
183
- 2. Add `chat:write` and `chat:write.public` scopes
184
- 3. Get your OAuth token and channel ID
185
-
186
- ### Usage
203
+ ### Setup & Usage
187
204
  ```bash
188
- infra-cost --slack-token xoxb-your-token --slack-channel C1234567890
205
+ # Create Slack app with chat:write permissions
206
+ # Get OAuth token and channel ID
207
+
208
+ # Send cost report
209
+ infra-cost --slack-token xoxb-your-token --slack-channel "#finops"
210
+
211
+ # Enable smart alerts
212
+ infra-cost --slack-token xoxb-your-token --slack-channel "#alerts" --smart-alerts
189
213
  ```
190
214
 
191
215
  ### Automated Daily Reports
192
- Set up a GitHub workflow to send daily cost reports:
193
-
194
216
  ```yaml
195
- name: Daily AWS Costs
217
+ name: Daily FinOps Report
196
218
  on:
197
219
  schedule:
198
- - cron: '0 9 * * *' # 9 AM UTC daily
220
+ - cron: '0 9 * * 1-5' # Weekdays 9 AM UTC
199
221
  jobs:
200
- costs:
222
+ cost-report:
201
223
  runs-on: ubuntu-latest
202
224
  steps:
203
- - uses: actions/checkout@v4
204
225
  - run: |
205
226
  npx infra-cost \
227
+ --executive-summary \
206
228
  --slack-token ${{ secrets.SLACK_TOKEN }} \
207
- --slack-channel ${{ secrets.SLACK_CHANNEL }}
229
+ --slack-channel ${{ secrets.SLACK_CHANNEL }} \
230
+ --smart-alerts --trends 7
208
231
  ```
209
232
 
210
- ## ๐Ÿ—๏ธ Development & Publishing
211
-
212
- ### npm Publishing
213
- This project includes automated npm publishing with semantic versioning:
233
+ ## ๐Ÿ”ง Advanced Usage
214
234
 
235
+ ### Cost Forecasting & Analytics
215
236
  ```bash
216
- # Check version status
217
- npm run version:check
237
+ # AI-powered forecasting with multiple models
238
+ infra-cost --forecast 90 --forecast-model AUTO --forecast-confidence 95
218
239
 
219
- # Bump version
220
- npm run version:bump:patch
221
- npm run version:bump:minor
222
- npm run version:bump:major
240
+ # Business intelligence insights
241
+ infra-cost --analytics --analytics-insights --analytics-drivers
223
242
 
224
- # Dry run publish
225
- npm run publish:dry
226
-
227
- # Manual publish
228
- npm run publish:latest
229
- npm run publish:beta
243
+ # Custom dashboards
244
+ infra-cost --dashboard-create "Monthly Review" --chart-create "line:Cost Trends"
230
245
  ```
231
246
 
232
- ### Homebrew Publishing
233
- Automated Homebrew formula updates via GitHub Actions:
234
-
247
+ ### Optimization & Automation
235
248
  ```bash
236
- # Prepare release (interactive)
237
- npm run prepare-release
249
+ # Generate optimization recommendations
250
+ infra-cost --finops --optimization-tips --rightsize --sustainability
238
251
 
239
- # This will:
240
- # 1. Update version in package.json
241
- # 2. Update Homebrew formula
242
- # 3. Run tests and build
243
- # 4. Create git tag
244
- # 5. Trigger release workflow
245
- ```
252
+ # Automated optimization (dry-run first!)
253
+ infra-cost --optimize-dry-run --optimize-rules resize,schedule,unused
246
254
 
247
- ## ๐Ÿ”ง Development
248
-
249
- ### Build
250
- ```bash
251
- npm run build
255
+ # Cross-cloud cost comparison
256
+ infra-cost --compare-clouds aws,gcp --optimization-report
252
257
  ```
253
258
 
254
- ### Type Checking
259
+ ### Enterprise Features
255
260
  ```bash
256
- npm run typecheck
261
+ # Multi-tenant management
262
+ infra-cost --enterprise --tenants --platform-metrics
263
+
264
+ # API server for integrations
265
+ infra-cost --api-server --api-port 3000 --webhook-create
266
+
267
+ # Comprehensive audit logging
268
+ infra-cost --audit --compliance-check soc2 --audit-export json
257
269
  ```
258
270
 
259
- ### Version Management
260
- ```bash
261
- npm run version:check # Check current version status
262
- npm run version:next # Get next version
263
- npm run version:set # Set specific version
271
+ ## ๐Ÿ—๏ธ Architecture & Extensibility
272
+
273
+ ### Multi-Cloud Provider Pattern
264
274
  ```
275
+ src/
276
+ โ”œโ”€โ”€ providers/
277
+ โ”‚ โ”œโ”€โ”€ factory.ts # Provider factory
278
+ โ”‚ โ”œโ”€โ”€ aws.ts # AWS implementation โœ…
279
+ โ”‚ โ”œโ”€โ”€ gcp.ts # Google Cloud ๐Ÿšง
280
+ โ”‚ โ”œโ”€โ”€ azure.ts # Azure ๐Ÿšง
281
+ โ”‚ โ”œโ”€โ”€ alicloud.ts # Alibaba Cloud ๐Ÿšง
282
+ โ”‚ โ””โ”€โ”€ oracle.ts # Oracle Cloud ๐Ÿšง
283
+ โ”œโ”€โ”€ analytics/ # AI/ML cost analysis
284
+ โ”œโ”€โ”€ optimization/ # Cost optimization engines
285
+ โ”œโ”€โ”€ visualization/ # Dashboards & charts
286
+ โ”œโ”€โ”€ integrations/ # Third-party integrations
287
+ โ””โ”€โ”€ enterprise/ # Multi-tenant features
288
+ ```
289
+
290
+ ### Key Design Principles
291
+ - **Abstract provider interface** for consistent multi-cloud API
292
+ - **Plugin architecture** for easy extensibility
293
+ - **Type-safe implementation** with comprehensive TypeScript coverage
294
+ - **Modular design** allowing feature composition
295
+ - **Performance optimized** with efficient data processing
296
+
297
+ ## ๐Ÿš€ Roadmap
298
+
299
+ ### Q4 2024
300
+ - โœ… Enhanced terminal UI and visualization
301
+ - โœ… AI-powered anomaly detection
302
+ - โœ… Comprehensive PDF reporting
303
+ - โœ… Advanced Slack integration
304
+ - ๐Ÿšง Google Cloud Platform support
305
+
306
+ ### Q1 2025
307
+ - ๐Ÿ”ฎ Microsoft Azure integration
308
+ - ๐Ÿ”ฎ Advanced forecasting models
309
+ - ๐Ÿ”ฎ Mobile app companion
310
+ - ๐Ÿ”ฎ Sustainability tracking expansion
311
+
312
+ ### Q2 2025
313
+ - ๐Ÿ”ฎ Alibaba Cloud & Oracle Cloud support
314
+ - ๐Ÿ”ฎ Advanced automation engine
315
+ - ๐Ÿ”ฎ Enterprise SSO integration
316
+ - ๐Ÿ”ฎ Custom plugin system
265
317
 
266
318
  ## ๐Ÿ“‹ Requirements & Permissions
267
319
 
@@ -271,11 +323,14 @@ npm run version:set # Set specific version
271
323
  "Version": "2012-10-17",
272
324
  "Statement": [
273
325
  {
274
- "Sid": "InfraCostPermissions",
326
+ "Sid": "InfraCostMinimalPermissions",
275
327
  "Effect": "Allow",
276
328
  "Action": [
277
329
  "iam:ListAccountAliases",
278
330
  "ce:GetCostAndUsage",
331
+ "ce:GetRightsizingRecommendation",
332
+ "ce:GetSavingsUtilization",
333
+ "budgets:ViewBudget",
279
334
  "sts:GetCallerIdentity"
280
335
  ],
281
336
  "Resource": "*"
@@ -284,59 +339,115 @@ npm run version:set # Set specific version
284
339
  }
285
340
  ```
286
341
 
287
- ### Cost Considerations
288
- - **AWS Cost Explorer**: $0.01 per request
289
- - **Other providers**: Varies by provider's pricing model
342
+ ### System Requirements
343
+ - Node.js 16+ (recommended: 18+)
344
+ - Memory: 512MB+ available
345
+ - Network: Internet access for cloud provider APIs
346
+ - Optional: Docker for containerized deployments
290
347
 
291
- ## ๐Ÿ—๏ธ Architecture
348
+ ## ๐Ÿงช Development
292
349
 
293
- ### Multi-Cloud Provider Pattern
294
- ```
295
- src/
296
- โ”œโ”€โ”€ providers/
297
- โ”‚ โ”œโ”€โ”€ factory.ts # Provider factory
298
- โ”‚ โ”œโ”€โ”€ aws.ts # AWS implementation โœ…
299
- โ”‚ โ”œโ”€โ”€ gcp.ts # Google Cloud (placeholder)
300
- โ”‚ โ”œโ”€โ”€ azure.ts # Azure (placeholder)
301
- โ”‚ โ”œโ”€โ”€ alicloud.ts # Alibaba Cloud (placeholder)
302
- โ”‚ โ””โ”€โ”€ oracle.ts # Oracle Cloud (placeholder)
303
- โ”œโ”€โ”€ types/
304
- โ”‚ โ””โ”€โ”€ providers.ts # Common interfaces
305
- โ””โ”€โ”€ ...
350
+ ### Local Development Setup
351
+ ```bash
352
+ # Clone repository
353
+ git clone https://github.com/codecollab-co/infra-cost.git
354
+ cd infra-cost
355
+
356
+ # Install dependencies
357
+ npm install
358
+
359
+ # Build project
360
+ npm run build
361
+
362
+ # Run tests
363
+ npm test
364
+
365
+ # Start development server
366
+ npm run dev
306
367
  ```
307
368
 
308
- ### Key Features
309
- - **Abstract provider interface** for consistent API
310
- - **Factory pattern** for provider instantiation
311
- - **Extensible architecture** for adding new cloud providers
312
- - **Type-safe implementation** with TypeScript
369
+ ### Testing & Quality Assurance
370
+ ```bash
371
+ # Type checking
372
+ npm run typecheck
373
+
374
+ # Linting
375
+ npm run lint
313
376
 
314
- ## ๐Ÿš€ CI/CD Pipelines
377
+ # Security audit
378
+ npm audit
315
379
 
316
- ### Automated Workflows
317
- - **npm publishing** with semantic versioning
318
- - **Homebrew formula updates**
319
- - **Release automation** with GitHub Actions
320
- - **Multi-platform testing** (Node.js 16, 18, 20)
380
+ # Test coverage
381
+ npm run test:coverage
382
+ ```
321
383
 
322
- ### Quality Assurance
323
- - **TypeScript compilation** checking
324
- - **Security auditing** with npm audit
325
- - **Dependency validation**
326
- - **Build verification**
384
+ ### Release Management
385
+ ```bash
386
+ # Check current version status
387
+ npm run version:check
327
388
 
328
- ## ๐Ÿ“š Documentation
389
+ # Bump version
390
+ npm run version:bump:patch # Bug fixes
391
+ npm run version:bump:minor # New features
392
+ npm run version:bump:major # Breaking changes
329
393
 
330
- - [Homebrew Setup Guide](./HOMEBREW_SETUP.md)
331
- - [npm Publishing Guide](./NPM_PUBLISHING.md)
394
+ # Prepare release
395
+ npm run prepare-release
396
+ ```
332
397
 
333
398
  ## ๐Ÿค Contributing
334
399
 
335
- 1. Fork the repository
336
- 2. Create a feature branch
337
- 3. Make your changes
338
- 4. Run `npm run typecheck` and `npm run build`
339
- 5. Submit a pull request
400
+ We welcome contributions from the community! Here's how you can help:
401
+
402
+ ### ๐ŸŒŸ Ways to Contribute
403
+ - **โญ Star this repository** to show your support
404
+ - **๐Ÿ› Report bugs** and suggest improvements via [issues](https://github.com/codecollab-co/infra-cost/issues)
405
+ - **๐Ÿ“ Improve documentation** - help others understand and use the tool
406
+ - **๐Ÿ”ง Add cloud provider support** - help us expand to more providers
407
+ - **๐Ÿงช Write tests** - improve code quality and reliability
408
+ - **๐Ÿ’ก Suggest features** - share your ideas for new capabilities
409
+
410
+ ### ๐Ÿš€ Getting Started with Contributing
411
+ 1. **Fork** the repository
412
+ 2. **Clone** your fork: `git clone https://github.com/YOUR_USERNAME/infra-cost.git`
413
+ 3. **Create a branch**: `git checkout -b feature/amazing-feature`
414
+ 4. **Make changes** and write tests
415
+ 5. **Run quality checks**: `npm run typecheck && npm run lint && npm test`
416
+ 6. **Commit**: `git commit -m "Add amazing feature"`
417
+ 7. **Push**: `git push origin feature/amazing-feature`
418
+ 8. **Create a Pull Request**
419
+
420
+ ### ๐Ÿ“‹ Contribution Guidelines
421
+ - Follow the existing code style and conventions
422
+ - Add tests for new features
423
+ - Update documentation as needed
424
+ - Keep PRs focused on a single feature/fix
425
+ - Be respectful and constructive in discussions
426
+
427
+ ### ๐Ÿท๏ธ Good First Issues
428
+ Look for issues labeled `good first issue` or `help wanted` to get started!
429
+
430
+ ## ๐Ÿ“ž Support & Community
431
+
432
+ ### ๐Ÿ’ฌ Get Help
433
+ - **๐Ÿ“š Documentation**: [docs.codecollab.co/infra-cost](https://docs.codecollab.co/infra-cost) *(coming soon)*
434
+ - **๐Ÿ› Bug Reports**: [GitHub Issues](https://github.com/codecollab-co/infra-cost/issues)
435
+ - **๐Ÿ’ก Feature Requests**: [GitHub Discussions](https://github.com/codecollab-co/infra-cost/discussions)
436
+ - **๐Ÿ“ง Email Support**: support@codecollab.co
437
+
438
+ ### ๐ŸŒŸ Show Your Support
439
+ If infra-cost helps you save money and optimize costs, please:
440
+ - โญ **Star this repository**
441
+ - ๐Ÿฆ **Share on Twitter** with #InfraCost #FinOps
442
+ - ๐Ÿ“ **Write a review** or blog post about your experience
443
+ - ๐Ÿค **Contribute** code, documentation, or feedback
444
+
445
+ ### ๐Ÿข Enterprise Support
446
+ For enterprise deployments, custom integrations, and professional support:
447
+ - ๐Ÿ“ง Contact: enterprise@codecollab.co
448
+ - ๐Ÿ”’ SLA-backed support available
449
+ - ๐ŸŽจ Custom branding and whitelabeling
450
+ - ๐Ÿ—๏ธ Professional services and consulting
340
451
 
341
452
  ## ๐Ÿ“„ License
342
453
 
@@ -344,19 +455,32 @@ MIT ยฉ [Code Collab](https://github.com/codecollab-co)
344
455
 
345
456
  ---
346
457
 
347
- ## ๐Ÿ”„ Recent Updates
458
+ ## ๐Ÿ”„ Changelog
459
+
460
+ ### v0.2.4 - Latest Release
461
+ - โœ… **Fixed CommonJS compatibility** - Homebrew installation now works perfectly
462
+ - โœ… **Enhanced error handling** and user experience improvements
463
+ - โœ… **Optimized build process** for better performance
348
464
 
349
- ### v0.1.0 - Multi-Cloud Architecture
350
- - โœ… **Multi-cloud provider support** (architecture ready)
351
- - โœ… **Enhanced Slack integration** with detailed breakdowns
352
- - โœ… **AWS SDK v3 upgrade** for better performance
353
- - โœ… **IAM roles and environment variables** support
354
- - โœ… **Automated npm and Homebrew publishing**
355
- - โœ… **Critical bug fixes** and consistency improvements
465
+ ### v0.2.0 - Enhanced Features
466
+ - โœ… **AI-powered anomaly detection** with real-time monitoring
467
+ - โœ… **Advanced visualization engine** with interactive dashboards
468
+ - โœ… **PDF report generation** for executives and technical teams
469
+ - โœ… **Comprehensive Slack integration** with rich formatting
470
+ - โœ… **Multi-cloud architecture** ready for expansion
471
+ - โœ… **Enterprise features** including multi-tenancy and API server
356
472
 
357
473
  ### Migration from aws-cost-cli
358
- This tool has evolved from `aws-cost-cli` to `infra-cost` with backward compatibility maintained. Both `infra-cost` and `aws-cost` commands work.
474
+ This tool evolved from `aws-cost-cli` with full backward compatibility. Both `infra-cost` and `aws-cost` commands work seamlessly.
359
475
 
360
476
  ---
361
477
 
362
- *For questions or support, please [create an issue](https://github.com/codecollab-co/infra-cost/issues) on GitHub.*
478
+ <div align="center">
479
+
480
+ **Made with โค๏ธ by [Code Collab](https://github.com/codecollab-co)**
481
+
482
+ *Empowering teams to optimize cloud costs and build sustainable infrastructure*
483
+
484
+ [โญ Star us on GitHub](https://github.com/codecollab-co/infra-cost) โ€ข [๐Ÿฆ Follow on Twitter](https://twitter.com/codecollabco) โ€ข [๐Ÿ’ผ LinkedIn](https://linkedin.com/company/codecollab-co)
485
+
486
+ </div>