Skip to content

Get file info for discord cdn assets without needing to download them

License

Notifications You must be signed in to change notification settings

MeguminSama/cdn-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdn-info

This is the code powering https://cdn-info.discord.sale/?url={discord cdn url}

PRing fixes + improvements is appreciated.

It returns the following data as application/json (or an error status header)

{
  kind: string;
  id: string;
  selfLink: string;
  mediaLink: string;
  name: string;
  bucket: string;
  generation: string;
  metageneration: string;
  contentType: string;
  storageClass: string;
  size: string;
  md5Hash: string;
  cacheControl: string;
  crc32c: string;
  etag: string;
  timeCreated: Date;
  updated: Date;
  timeStorageClassUpdated: Date;
}

Copyright (C) 2022 Rie Takahashi

About

Get file info for discord cdn assets without needing to download them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published