Skip to content

hackclub/cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CDN

Deep under the waves and storms there lies a vault...

Raft icon

Illustration above by @maxwofford.


CDN powers the #cdn channel in the Hack Club Slack.

Version 2 Version 2

Post this JSON...

[
  "website.com/somefile.png",
  "website.com/somefile.gif",
]

And it'll return the following:

{
  "0somefile.png": "cdnlink.vercel.app/0somefile.png",
  "1somefile.gif": "cdnlink.vercel.app/1somefile.gif"
}

Version 1 Version 1

Post this JSON...

[
  "website.com/somefile.png",
  "website.com/somefile.gif",
]

And it'll return the following:

[
  "cdnlink.vercel.app/0somefile.png",
  "cdnlink.vercel.app/1somefile.gif"
]