Mirror any file from a link to PixelDrain and automatically create a GitHub release with the uploaded file link.
This repository contains a GitHub Actions workflow that handles everything for you: downloading, uploading, and release creation.
- Download files from any URL.
- Upload them to PixelDrain using your API token.
- Automatically create a GitHub release with the uploaded file link and file size.
- Fully automated workflow via GitHub Actions.
-
Fork this repository to your GitHub account.
-
Trigger the workflow:
- Go to Actions → Mirror2PixelDrain → Run workflow.
- Enter the following inputs:
- Input Link To Mirror: URL of the file you want to mirror.
- Input PixelDrain Token: Your PixelDrain API token.
- Click Run workflow.
-
Wait for completion:
- The workflow will download the file, upload it to PixelDrain, and create a release in your repository.
- The release notes will contain the PixelDrain link and file size.
To get your PixelDrain API token:
- Sign in or create an account at PixelDrain.
- Go to Account → API Key and copy your token.
- Use this token when triggering the workflow.
- PixelDrain CLI (
go-pd
) - Script created for automated mirroring and releases.