Free file hosting website https://void.cat
Go to file
2018-11-20 01:22:14 +08:00
src beta site release 2018-11-20 01:22:14 +08:00
utils track stats with matomo 2018-09-27 19:19:59 +08:00
.gitignore update upload logic 2018-10-23 00:48:11 +08:00
build.bat rewrite init 2018-10-13 01:48:29 +08:00
favicon.ico block crawl bots from counting views 2017-11-17 15:34:29 +08:00
index.html beta site release 2018-11-20 01:22:14 +08:00
README.md beta site release 2018-11-20 01:22:14 +08:00

Setup

  • Nginx
  • php-fpm
  • php-redis
  • php-curl
  • php-gmp
  • Redis

Nginx handler

location ~* "^\/([0-9a-z]{27})$" {
		try_files $uri /src/php/handler.php?h=download&id=$1;
}

Void Binary File Format (VBF)

Name Type Description
version uint8_t Binary file format version
hash SHA256 hash The hash of the unencrypted file
uploaded uint32_t Timestamp of when the upload started
payload >EOF The encrypted payload

VBF Payload Format

Name Type Description
header_length uint16_t Length of the header section
header string The header json
file >EOF The file