Documentation

Documentation

Understanding Byte Counting

Different platforms may count bytes differently, which can lead to variations in file sizes. Here are some common platforms and how they count bytes:

These differences can cause discrepancies in reported file sizes depending on the device and operating system.

API and Command Line Usage

Download File

GET https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/:size/:pattern?

Download a file of the specified size and pattern.

Parameters:

Query Parameters:

Example with custom pattern:

https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/custom?customPattern=ABC123

Example with zeros pattern:

https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/zeros

Example without pattern:

https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB

CLI Usage

You can use wget or curl to download the file from the command line:

wget

wget https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/custom?customPattern=ABC123

Example with custom pattern:

wget https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/custom?customPattern=ABC123

Example with zeros pattern:

wget https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/zeros

Example without pattern:

wget https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB

curl

curl -O https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/custom?customPattern=ABC123

Example with custom pattern:

curl -O https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/custom?customPattern=ABC123

Example with zeros pattern:

curl -O https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB/zeros

Example without pattern:

curl -O https://x4g0c4g0kw80gkg0sg44k80w.on.blckit.com/1TB

Version 1.0.6