// Code generated by "jade.go"; DO NOT EDIT.
package web
import (
"html"
"io"
"strconv"
)
const (
index__0 = `
Arav's dwelling / Upload
Rules
Max. file size is `
index__2 = `.
It will be kept for `
index__3 = ` hours.
Anything you upload should comply with Russian Federation's law. Generally speaking, anything illegal, like CP, extremist literature etc., is forbidden.
Free space
`
index__4 = ``
index__7 = `
`
index__8 = `
Upload
You can use cURL to upload a file: curl -F 'file=@somefile.ext' https://upload.arav.top
Over I2P: curl --proxy 127.0.0.1:4444 -F 'file=@somefile.ext' http://upload.arav.i2p
A resulted link looks like this: /f/base64rawURL(sha256)/filename.ext.
filename.ext is mandatory. It is a name the file will be retrieved with.
Delete
You can delete a file using cURL: curl -XDELETE https://upload.arav.top/
Over I2P: curl --proxy 127.0.0.1:4444 -XDELETE https://upload.arav.top/
Privacy statements
I WILL cooperate with law enforcements and provide them with logs, guess I shouldn't clarify why. Abuses should be sent to admin@arav.top.
Upload logs include: access time, IP-address, name of a file it was uploaded with, a SHA-256 hash of the file, download name*, size of the file in bytes, User-Agent.
Each download also being logged and include: access time, IP-address, name of a file it was requested with, download name*, User-Agent.
*Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding. The hash is being salted to make useless any attempt of bruteforcing.