Skip to content

bchainhub/corecdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CORE CDN

This repository serves as a CDN (Content Delivery Network) for storing and deploying PNG and SVG image files. The images are organized in a specific folder structure, and you can access them through two different CDN URLs.

Actions

Click&Copy

Modify the example link as you wish

https://corecdn.info/mark/256/corecoin.png

Folder Structure and Path

The folder structure is as follows:

[badge/mark]/[resolution]/{name}.[png/svg]
  • badge/mark: This directory contains the badge or mark images.
  • resolution: This directory stores images of different resolutions. The resolution should be an integer value and can be one of the following options: 16, 32, 48, 64, 128, or 256.
  • {name}: Replace this placeholder with the actual filename.
  • png/svg: Choose either the PNG or SVG directory based on the image format.

CDN URLs

You can access the image files through the following CDN URLs:

  1. jsDelivr: You can access the files using the URL: https://cdn.jsdelivr.net/gh/bchainhub/corecdn/{path}. Replace {path} with the path to the desired image file.

  2. corecdn.info: Alternatively, you can also access the files using the URL: https://corecdn.info/{path}. Again, replace {path} with the path to the specific image file.

Usage

To use the image files in your project, you can directly reference the URLs mentioned above. You can integrate these URLs into your web pages, apps, or any other platform that supports image rendering.

Here is an example of how you can use the CDN URLs in HTML:

<img src="https://cdn.jsdelivr.net/gh/bchainhub/corecdn/{path}" alt="Image Name">

Replace {path} with the actual path to the image file you want to display.

Contributing

Contributions to this project are welcome. If you have any suggestions, improvements, or bug fixes, please open an issue to discuss them first. For major changes, it is recommended to discuss them beforehand.

Please make sure to update any relevant tests when contributing to this project.

License

This software is licensed under the CORE License.