Skip to content
/ cdn_db Public

xelA's method of saving custom images inside a safe place, basically CDN, but with organization in mind

License

Notifications You must be signed in to change notification settings

xelA/cdn_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdn_db

xelA's method of saving custom images inside a safe place, basically CDN, but with organization in mind

API

POST    /<folder>                   Upload file to storage
  args
    ?overwrite=true|false             Replace image that are duplicate
  headers
    user_id                           Discord ID of the responsible author
    channel_id                        optional: Which Channel ID it went from
    guild_id                          optional: Which Guild ID it went from

DELETE  /<folder>/<filename>        Delete file from storage
GET     /<folder>/<filename>        Get file from storage
GET     /<folder>/<filename>/stats  Get file stats from storage

Requirements

  • Python 3.6 or above

About

xelA's method of saving custom images inside a safe place, basically CDN, but with organization in mind

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages