Skip to main content

A CLI tool for extracting AWS metrics and managing resources (SQS, S3, Lambda Logs)

Project description

AWS Vibe Guru 🔧

A powerful command-line interface (CLI) tool for managing AWS resources and extracting metrics. Currently supports Amazon SQS queue monitoring and Amazon S3 bucket operations.

✨ Quick Overview

AWS Vibe Guru provides intuitive commands to interact with AWS services directly from your terminal, with beautiful visual output and comprehensive analytics.

Current Features

  • 📊 SQS Monitoring: Queue management, message volume tracking, age monitoring, and advanced analytics
  • 📦 S3 Operations: Bucket management, object listing, file reading with JSON formatting
  • 🔍 Lambda Logs: Search and analyze CloudWatch logs for Lambda functions
  • 🎨 Beautiful Output: Rich terminal formatting with colors, charts, and panels
  • 📈 Analytics: Statistical analysis with charts, trends, and comparisons

🚀 Quick Start

Installation

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/daniellbastos/aws-vibe-guru.git
cd aws-vibe-guru
uv sync

Basic Usage

aws-vibe-guru sqs-list-queues
aws-vibe-guru sqs-analyze-volume "my-queue" --days 30

aws-vibe-guru s3-list-buckets
aws-vibe-guru s3-read-object "my-bucket" "config.json" --json

aws-vibe-guru lambda-search-logs "my-function" "ERROR" --hours 24
aws-vibe-guru lambda-get-logs "my-function" --hours 6

AWS Credentials

Configure credentials via ~/.aws/credentials file or environment variables:

export AWS_ACCESS_KEY_ID="your_access_key"
export AWS_SECRET_ACCESS_KEY="your_secret_key"
export AWS_DEFAULT_REGION="us-east-1"

📚 Complete Documentation

For detailed information about all commands, parameters, return values, and examples:

👉 Read the Full Technical Reference

The reference documentation includes:

  • All 12 available commands (5 SQS + 4 S3 + 3 Lambda)
  • Detailed parameter descriptions
  • Usage examples for each command
  • Return value structures
  • AWS permissions required
  • Configuration guide

📋 Available Commands

SQS Commands

  • sqs-list-queues - List all SQS queues with optional filtering
  • sqs-get-attributes - Get comprehensive queue attributes
  • sqs-get-metrics - Get message volume metrics with charts
  • sqs-get-oldest-message - Monitor oldest message age
  • sqs-analyze-volume - Advanced statistical analysis

S3 Commands

  • s3-list-buckets - List all S3 buckets
  • s3-list-objects - List objects in a bucket (with prefix filter and summary mode)
  • s3-get-object - Get detailed object information
  • s3-read-object - Read and display file content (with JSON formatting)

Lambda/CloudWatch Commands

  • lambda-list-log-groups - List CloudWatch log groups with optional filtering
  • lambda-search-logs - Search for specific terms in Lambda function logs
  • lambda-get-logs - Get recent logs from a Lambda function

Run aws-vibe-guru --help to see all available commands.

🎥 Demo

https://github.com/user-attachments/assets/1ad28f09-05c4-4dc6-b2ef-9e174da47b08

🛠️ Development

git clone https://github.com/daniellbastos/aws-vibe-guru.git
cd aws-vibe-guru
uv sync --extra dev
make pre-commit-install
make quality

Development Commands

  • make quality - Run linting and formatting
  • make lint - Check code with Ruff
  • make format - Format code with Ruff

📦 Requirements

  • Python 3.8.1 or higher
  • AWS credentials configured
  • UV package manager (recommended)

🙏 Built With

  • boto3 - AWS SDK for Python
  • Typer - CLI framework
  • Rich - Terminal formatting
  • UV - Package manager
  • Ruff - Linter and formatter

📄 Documentation & Release Notes

📄 License

MIT License - see the LICENSE file for details.

🔗 Links


Made with ❤️

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_vibe_guru-0.1.3.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_vibe_guru-0.1.3-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file aws_vibe_guru-0.1.3.tar.gz.

File metadata

  • Download URL: aws_vibe_guru-0.1.3.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.2

File hashes

Hashes for aws_vibe_guru-0.1.3.tar.gz
Algorithm Hash digest
SHA256 eefee7607a09acc789742a8a05a41ac0cc113a465b4d6000b730e0056202f95e
MD5 9b4653bf1e9a0eb2c3525ff8b2d0a013
BLAKE2b-256 945b0eb78a49feecbcc884565a73c91248b01e5ea005de4b81554e52962eb523

See more details on using hashes here.

File details

Details for the file aws_vibe_guru-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: aws_vibe_guru-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.2

File hashes

Hashes for aws_vibe_guru-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 71aca02b57d3499ed4b23a67e1044d471baeff3c7f7228d2e7c78cd5deead23b
MD5 259cb248dd2e7645bc435104eecf5182
BLAKE2b-256 b6945774c2c8363e20d67fbcbd247baa02d66684610fbd10c94a4b0294da58f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page