Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

AWS Redirect Setup

Automated scripts to configure AWS S3 + Route53 for short redirect URLs.

What It Does

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-name

After:

curl -sL http://get.hiveforge.sh/setup-repo.sh | bash -s repo-name

Prerequisites

  1. AWS CLI installed

    • Windows: winget install Amazon.AWSCLI
    • macOS: brew install awscli
    • Linux: Install guide
  2. AWS credentials configured

    aws configure
  3. Route53 hosted zone for your domain

See full prerequisites and permissions in README.md.

Quick Start

PowerShell:

./setup-aws-redirects.ps1

Bash:

./setup-aws-redirects.sh

Result:

  • Creates get.hiveforge.sh redirect service
  • URLs: http://get.hiveforge.sh/setup-repo.sh and .ps1
  • DNS propagation: 5-10 minutes

Documentation

See README.md for:

  • Detailed prerequisites
  • Usage examples
  • HTTPS setup (CloudFront)
  • Cost estimates
  • Troubleshooting
  • Security notes

Quick Test

After setup (wait 5-10 min for DNS):

curl -I http://get.hiveforge.sh/setup-repo.sh
# Should return: HTTP/1.1 302 Found