ctt buckets

welcome to couleur's overengineered storage platform (R2 storage over WebDAV protocol)

what can be done on here?: you can store (and easily share) files you wanna share with the world

infinite storage glitch?: no, it's not free (matter of fact it even has a price)

why makes this special:

setup a webdav mount

this is the only way to interact with your folder (e.g. couleur/)

  1. go on this pc -> mount a network drive

  2. mount \\https://buckets.ctt.cx\ to any drive letter you want

  3. fill in your given credentials

  4. move in a video

  5. profit, file is available at https://bucket.ctt.cx/couleur/cian.mp4 (before it even finishes uploading)

curl endpoints

you can use curl to upload a file, or change a file's mimetype (so browser interpret file differently

The request path is always the destination — there is no /upload prefix.

Uploads accept both PUT and POST. All of these are jailed to the caller's

own directory and require Basic auth.

upload a file (type inferred from the .mp4 extension)

curl -u foo:pass -T ./clip.mp4 https:///clip.mp4 curl -u foo:pass --data-binary @clip.mp4 https:///clip.mp4 # POST works too

upload and set the type explicitly

curl -u foo:pass --data-binary @blob "https:///clip?type=video/mp4"

change the type of an EXISTING file, without re-uploading (no body)

curl -u foo:pass -X POST "https:///report.bin?type=application/pdf"

?type= (alias ?content-type=) takes a type/subtype[; params] string;

anything malformed returns 400. An explicit type sticks across serving and

PROPFIND; a later plain re-upload clears it and reverts to inference.

rules

the risks i have hosting your content comes before your freedom to upload here

if there's something i don't like i'm won't be willing to argue

access

this is something I manage on my free time for friends and mutuals, unless you like messing with really efficient ffmpeg video encode configurations (small renders), or want to advantage of webdav for cool hybrid local+mount wizardry, I probably have no reason to risk inviting you