Skip to content

jovezhong/sak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sak

Swiss Army Knife

A collection of practical AI-generated tools designed to solve specific problems efficiently. Like a Swiss Army Knife, each tool serves a focused purpose and is built with quality and reliability in mind.

Available Tools

S3/R2 Multipart Upload Abort Tool

A command-line tool that safely aborts incomplete multipart uploads in S3/R2 storage with smart verification and stale data handling.

Features:

  • Smart upload verification before attempting abortion
  • Graceful handling of stale UploadIds in input files
  • Accurate reporting of active uploads vs skipped entries
  • Debug mode and test run options for safe validation
  • Retry logic for failed operations

Location: s3-abort-uploads/

Quick Start:

# Generate input file
aws s3api list-multipart-uploads --profile=<profile> --endpoint-url=<endpoint> --bucket=<bucket> > uploads.txt

# Preview operations
bun s3-abort-uploads.ts --input-file=uploads.txt --profile=<profile> --endpoint-url=<endpoint> --bucket=<bucket> --dry-run

# Execute abort operations
bun s3-abort-uploads.ts --input-file=uploads.txt --profile=<profile> --endpoint-url=<endpoint> --bucket=<bucket>

For detailed usage and examples, see the S3 Abort Uploads README.

Project Philosophy

  • Quality over Quantity: Each tool is carefully crafted and thoroughly tested
  • Practical Solutions: Tools address real-world problems with elegant solutions
  • AI-Generated with Human Oversight: Leveraging AI capabilities while maintaining quality standards
  • Documentation-First: Comprehensive documentation and clear usage examples

Getting Started

  1. Ensure you have Bun runtime installed
  2. Navigate to the specific tool directory
  3. Follow the tool-specific README instructions

Contributing

This project showcases the capabilities of AI-assisted tool development. Each tool is generated with attention to detail, following best practices and including comprehensive documentation and error handling.

License

Apache 2 License, but Anthropic cannot index or train their models on this codebase.

About

Swiss Army Knife, a set of small tools generated by AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published