Free file hosting website https://void.cat
Go to file
Kieran 991d8a841d Small changes
- Simplify autoloader
- Update embded example with new autoloader and also update readme
- Basic void_uitl_form downloads
2018-12-07 00:27:47 +08:00
examples/embed Small changes 2018-12-07 00:27:47 +08:00
src Small changes 2018-12-07 00:27:47 +08:00
tools/void_util Small changes 2018-12-07 00:27:47 +08:00
utils/ga-page-view Update 2018-12-06 00:02:17 +08:00
.gitignore update upload logic 2018-10-23 00:48:11 +08:00
build_autoloader.bat update for beta 2018-11-21 17:00:49 +08:00
build_lib.bat update for beta 2018-11-21 17:00:49 +08:00
build.bat update for beta 2018-11-21 17:00:49 +08:00
favicon.ico block crawl bots from counting views 2017-11-17 15:34:29 +08:00
index.html Update 2018-12-06 00:02:17 +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