Automated scripts to configure AWS S3 + Route53 for short redirect URLs.
Creates a simple redirect service at get.hiveforge.sh (or any subdomain) that redirects to GitHub raw URLs:
Before:
curl -sSL https://raw.githubusercontent.com/hiveforge-sh/scripts/master/setup-repo/setup-repo-standards.sh | bash -s repo-nameAfter:
curl -sL http://get.hiveforge.sh/setup-repo.sh | bash -s repo-name-
AWS CLI installed
- Windows:
winget install Amazon.AWSCLI - macOS:
brew install awscli - Linux: Install guide
- Windows:
-
AWS credentials configured
aws configure
-
Route53 hosted zone for your domain
See full prerequisites and permissions in README.md.
PowerShell:
./setup-aws-redirects.ps1Bash:
./setup-aws-redirects.shResult:
- Creates
get.hiveforge.shredirect service - URLs:
http://get.hiveforge.sh/setup-repo.shand.ps1 - DNS propagation: 5-10 minutes
See README.md for:
- Detailed prerequisites
- Usage examples
- HTTPS setup (CloudFront)
- Cost estimates
- Troubleshooting
- Security notes
After setup (wait 5-10 min for DNS):
curl -I http://get.hiveforge.sh/setup-repo.sh
# Should return: HTTP/1.1 302 Found