Skip to content

hackclub/cdn

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
 
 
 
 
 
 
 
 

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"
]

Releases

No releases published

Packages

No packages published