ShareToS3
A Sublime Text package for quickly uploading text files to S3-compatible storage and copying the public URL to your clipboard.
Details
Installs
- Total 3
- Win 2
- Mac 1
- Linux 0
| Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
ShareToS3
A Sublime Text package for quickly uploading text files to S3-compatible storage and copying the public URL to your clipboard.
Features
- Upload current buffer content to S3 with automatic timestamped filename
- Upload with custom filename via input panel
- Copy public URL to clipboard automatically
- Support for AWS S3 and S3-compatible storage (MinIO, DigitalOcean Spaces, etc.)
- AWS Signature Version 4 authentication
Installation
Via Package Control (Recommended)
- Install Package Control
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run
Package Control: Install Package - Search for “ShareToS3” and install
Manual Installation
- Clone this repository to your Sublime Text Packages directory
- Restart Sublime Text
Configuration
Configure your S3 settings via Preferences → Package Settings → ShareToS3 → Settings - User:
{
"s3_endpoint": "https://your-minio-server.com",
"s3_username": "your-access-key",
"s3_password": "your-secret-key",
"s3_url_prefix": "https://your-minio-server.com",
"s3_bucket": "your-bucket-name",
"s3_region": "global"
}
Settings Reference
- s3_endpoint: S3 endpoint URL (e.g.,
https://s3.amazonaws.comfor AWS) - s3_username: S3 access key ID
- s3_password: S3 secret access key
- s3_url_prefix: Public URL prefix for accessing uploaded files
- s3_bucket: S3 bucket name (optional, defaults to “uploads”)
- s3_region: AWS region (optional, defaults to “global” for MinIO)
Usage
Upload with Auto-Generated Filename
- Open or create a text file in Sublime Text
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run
ShareToS3: Upload - File uploads with timestamp filename (e.g.,
2024-01-15_14-30-25.txt) - Public URL is copied to clipboard automatically
Upload with Custom Filename
- Open or create a text file in Sublime Text
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run
ShareToS3: Upload with Custom Name - Enter desired filename in the input panel
- File uploads and public URL is copied to clipboard
Commands
- ShareToS3: Upload - Upload with auto-generated timestamp filename
- ShareToS3: Upload with Custom Name - Upload with custom filename
Supported Storage Providers
- Amazon S3
- MinIO
- DigitalOcean Spaces
- Backblaze B2 (S3-compatible API)
- Any S3-compatible storage service
Troubleshooting
“Please configure S3 settings” Error
Make sure all required settings are configured:
s3_endpoints3_usernames3_passwords3_url_prefix
“Buffer is empty” Error
The current file/buffer has no content. Add some text before uploading.
Upload Fails
Check:
- S3 credentials are correct
- Bucket exists and is accessible
- Network connectivity
- S3 endpoint URL is correct
License
MIT License