Xpersona
U

Universal Video to S3 Uploader

CLAWHUB · Unverified

Download videos from YouTube, Twitter/X, TikTok, Douyin, Bilibili and upload to S3-compatible storage. Universal video downloader with smart quality selectio...

62
Rank
84
Safety
977
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 977 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fdda6gjhjbz5845ngpwcyw583j1rw:youtube-s3-uploader
  1. Install using `clawhub skill install s17fdda6gjhjbz5845ngpwcyw583j1rw:youtube-s3-uploader` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/aiastia/youtube-s3-uploader before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-aiastia-youtube-s3-uploader/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

148,112 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: Universal Video to S3 Uploader
description: Download videos from YouTube, Twitter/X, TikTok, Douyin, Bilibili and upload to S3-compatible storage. Universal video downloader with smart quality selection and audio merging.
summary: A universal video downloader that supports multiple platforms (YouTube, Twitter/X, TikTok, Douyin, Bilibili, etc.) and uploads to your own S3-compatible storage. Features platform detection, intelligent quality selection, readable filenames, reliable audio merging, and S3 Multipart Upload for large files.
metadata: {"clawdbot":{"emoji":"🌐→☁️","os":["linux","darwin"]}, "version": "3.0.1"}
---

# Universal Video to S3 Uploader v3.0.1

A universal video downloader that supports multiple platforms and uploads to S3-compatible storage.

## 🚀 Version 3.0.1 - Filename Optimization

### What's New:
- **✅ Clean Filenames**: Removes all punctuation marks, emojis, and special characters from filenames
- **✅ Better Unicode Support**: Proper handling of Chinese punctuation and emojis
- **✅ Platform Detection**: Automatic detection of video platform (YouTube, Twitter/X, TikTok, etc.)
- **✅ Universal Support**: Works with 1000+ websites via yt-dlp

### Breaking Changes:
- **❌ NOT backward compatible**: v3.x is a complete rewrite from v2.x
- **❌ New API**: Universal `video-to-s3-universal.js` script
- **❌ Platform Detection**: Automatically detects video platform

### Why v3.0.1?
v3.0.1 improves filename handling:
1. **Clean filenames** - Removes all punctuation and emojis
2. **Better S3 compatibility** - Avoids issues with special characters
3. **Improved readability** - Clean, readable filenames without clutter

### What's New:
- **✅ S3 Multipart Upload for All Files**: v2.0.0 uses S3 multipart upload for all file sizes
- **✅ Memory Optimization**: Chunked reading to avoid memory overflow
- **✅ Error Recovery**: Automatic retry mechanism for failed uploads
- **✅ Smart Chunk Sizing**: Automatically adjusts chunk size based on file size
- **✅ Performance Improvements**: Better progress tracking and speed calculation
- **✅ Fixed Help System**: Proper help information display

### Breaking Changes:
- **❌ NOT backward compatible**: v2.0.0 is a complete rewrite
- **❌ Old scripts removed**: All v1.x scripts have been replaced
- **❌ New API**: Uses S3 multipart upload for all files, not just large ones

### Why v2.0.0?
v2.0.0 fixes critical issues in v1.x:
1. **Fixed help system** - Proper `--help` display
2. **Consistent API** - Always uses multipart upload
3. **Better error handling** - Improved error messages
4. **Cleaner codebase** - Removed compatibility layers

## Features

- **One-command workflow**: Download YouTube video → Upload to S3 → Get access URL
- **S3-compatible**: Works with Cloudflare R2, AWS S3, MinIO, and any S3-compatible storage
- **Automatic cleanup**: Removes local files after successful upload
- **Progress tracking**: Real-time upload progress and speed calculation
- **Secure by default**: Uses your own 

README.md

# YouTube to S3 Uploader

A complete workflow for downloading YouTube videos and storing them in your own S3-compatible storage.

## What This Skill Does

1. **Downloads YouTube videos** using yt-dlp
2. **Uploads to your S3 storage** (Cloudflare R2, AWS S3, MinIO, etc.)
3. **Generates access URLs** for sharing
4. **Automatically cleans up** local files
5. **Tracks progress** with detailed logging

## Why Use This?

- **Own your data**: Videos stored in YOUR S3, not on YouTube's servers
- **Privacy control**: No third-party tracking of your watched videos
- **Permanent storage**: Videos won't disappear if YouTube removes them
- **Fast access**: CDN-accelerated through Cloudflare or AWS CloudFront
- **Cost effective**: Store videos cheaply with Cloudflare R2 (no egress fees)

## Quick Start

### 1. Install

```bash
clawhub install youtube-s3-uploader
```

### 2. Configure

Create `~/.youtube-s3-uploader.yml`:

```yaml
default: my-videos

buckets:
  my-videos:
    endpoint: https://your-s3-endpoint.com
    access_key_id: YOUR_ACCESS_KEY
    secret_access_key: YOUR_SECRET_KEY
    bucket_name: my-videos
    region: auto
```

### 3. Use

```bash
# Download and upload a YouTube video
youtube-s3-upload https://youtu.be/VIDEO_ID

# Test your S3 connection
youtube-s3-upload test

# Show configuration
youtube-s3-upload config
```

## Supported S3 Providers

- ✅ **Cloudflare R2** (recommended - no egress fees)
- ✅ **AWS S3**
- ✅ **MinIO** (self-hosted)
- ✅ **Backblaze B2**
- ✅ **Google Cloud Storage**
- ✅ **Any S3-compatible service**

## Use Cases

### Personal Media Archive
```bash
# Archive your favorite YouTube videos
youtube-s3-upload https://youtu.be/favorite-video-1
youtube-s3-upload https://youtu.be/favorite-video-2
```

### Content Backup
```bash
# Backup important tutorial videos
youtube-s3-upload https://youtu.be/important-tutorial --path tutorials/programming/
```

### Team Collaboration
```bash
# Share videos with team (generate presigned URLs)
youtube-s3-upload https://youtu.be/team-meeting --path team/meetings/
```

## Advanced Features

### Custom S3 Paths
```bash
# Organize by date and category
youtube-s3-upload https://youtu.be/VIDEO_ID --path videos/2026/march/education/
```

### Multiple Buckets
```bash
# Use different buckets for different purposes
youtube-s3-upload https://youtu.be/VIDEO_ID --bucket personal
youtube-s3-upload https://youtu.be/VIDEO_ID --bucket work
```

### Debug Mode
```bash
# See detailed logs for troubleshooting
youtube-s3-upload https://youtu.be/VIDEO_ID --debug
```

## Security Features

- **Encrypted uploads**: All data encrypted in transit (HTTPS)
- **Secure credentials**: Stored locally in your config file
- **Access control**: Fine-grained bucket policies supported
- **Audit logging**: All uploads logged with timestamps
- **No external APIs**: Everything runs locally

## Performance

- **Parallel processing**: Download and metadata extraction happen concurrently
- **Resumable uploads**: Large files upload in ch

_meta.json

{
  "ownerId": "kn730jymn8b79fzyv6t08zp6zd83b02z",
  "slug": "youtube-s3-uploader",
  "version": "3.0.5",
  "publishedAt": 1775783493377
}

CHANGELOG.md

# Changelog

## v3.0.3 (2026-03-27)

### Fixed
- **Filename restriction**: Added `--restrict-filenames` parameter to all yt-dlp commands
- **Twitter/X compatibility**: Prevents download failures due to excessively long filenames
- **System error prevention**: Avoids `[Errno 36] File name too long` errors on certain platforms

### Affected Files
- `scripts/video-to-s3-universal.js`: Lines 318, 322
- `scripts/youtube-to-s3.js`: Lines 263, 267

### Technical Details
- Added `--restrict-filenames` flag to all yt-dlp download commands
- Ensures compatibility with platforms that generate long filenames (Twitter/X, YouTube with Chinese titles)
- Maintains existing filename cleaning logic (removes whitespace, special characters)
- Backward compatible: ✅ No breaking changes

## v3.0.2 (2026-03-26)

### Fixed
- **Filename whitespace**: Changed from merging multiple spaces to removing all whitespace characters
- **Consistency**: Ensures no spaces in generated filenames
- **Affected files**: `video-to-s3-universal.js`, `youtube-to-s3.js`

## v3.0.1 (2026-03-26)

### Fixed
- **Filename cleaning**: Removes all punctuation marks, emojis, and special characters from filenames
- **Chinese punctuation**: Proper handling of Chinese punctuation marks (【】·、,。!?《》:;等)
- **Emoji removal**: Removes all emojis and special Unicode characters
- **S3 compatibility**: Ensures clean filenames for better S3 compatibility

### Technical Details
- Enhanced regex patterns for comprehensive character removal
- Extended Unicode range for emoji detection (U+1F300 to U+1F9FF)
- Maintains Chinese characters, letters, numbers, and spaces
- Preserves readability while removing clutter

## v3.0.0 (2026-03-25)

### Added
- **Universal video downloader**: Supports YouTube, Twitter/X, TikTok, Douyin, Bilibili, and 1000+ websites via yt-dlp
- **Platform detection**: Automatically detects video platform
- **New command**: `video-to-s3-universal.js` for universal video downloading
- **Backward compatibility**: `youtube-to-s3.js` still works for YouTube-specific use

### Changed
- **Complete rewrite**: From YouTube-specific to universal video downloader
- **Improved architecture**: Better separation of concerns
- **Enhanced error handling**: More robust error recovery

## v2.0.0 (2026-03-25)

### Added
- **S3 Multipart Upload**: Uses multipart upload for all file sizes
- **Memory optimization**: Chunked reading to avoid memory overflow
- **Error recovery**: Automatic retry mechanism
- **Smart chunk sizing**: Adjusts based on file size

### Fixed
- **Help system**: Proper `--help` display
- **Consistent API**: Always uses multipart upload
- **Cleaner codebase**: Removed compatibility layers

## v1.0.0 (2026-03-25)

### Initial Release
- Basic YouTube video download and S3 upload
- Simple PUT upload for small files
- Foundation for future improvements

skill-card.md

## Description:

Downloads videos from YouTube, Twitter/X, TikTok, Douyin, Bilibili and other yt-dlp-supported sites, then uploads them to S3-compatible storage with quality selection and audio merging.

This skill is ready for commercial/non-commercial use.

## Publisher:

[aiastia](https://clawhub.ai/user/aiastia)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and external users use this skill to archive, back up, or share videos from supported platforms through their own S3-compatible buckets. It helps configure storage, download media, upload files, and report resulting S3 access URLs and object paths.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Unsafe command handling could let a crafted video URL or S3 object path run commands on the user's machine.

Mitigation: Use only trusted video URLs and S3 object keys, review commands before execution, and prefer a maintained release that replaces shell-string execution with argument-array process execution.

Risk: The skill uses local S3 credentials and uploads media and metadata to configured storage.

Mitigation: Use least-privilege storage credentials, protect the local configuration file, and apply bucket policies and short-lived presigned URLs where appropriate.

Risk: Downloaded local copies may be deleted after successful upload unless kept by option.

Mitigation: Use the keep-local option when a local copy is required and verify the uploaded object before relying on cleanup behavior.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/aiastia/skills/youtube-s3-uploader)
- [README](artifact/README.md)
- [Skill instructions](artifact/SKILL.md)

## Skill Output:

**Output Type(s):** [Text, Shell commands, Configuration, Files]

**Output Format:** [Terminal output with S3 URLs and paths, plus YAML configuration guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Can upload media and metadata to configured S3-compatible storage and may delete downloaded local copies after successful upload unless kept by option.]

## Skill Version(s):

3.0.5 (source: server release metadata and package.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Universal Video to S3 Uploader and adjacent AI workflows.