Welcome to the GitHub CDN for Images repository! This repository is used to store and serve images via GitHub using the third-party tool Gaac. Gaac provides a simple way to turn your GitHub repositories into a CDN for your static assets.
-
Go to GitHub and create a new repository where you will store your images.
-
Clone the repository to your local machine and add your images to this repository.
-
Push the changes to GitHub.
git clone https://github.com/yourusername/your-repo-name.git cd your-repo-name # Add images git add . git commit -m "Add initial set of images" git push origin main
-
Visit Gaac.
-
Connect Your GitHub Account: Follow the instructions to authenticate and connect your GitHub account with Gaac.
-
Select Your Repository: Choose the repository you created for storing your images.
-
Upload Images: After connecting, you can start uploading images directly through the Gaac interface.
-
Get CDN URLs: Once uploaded, Gaac will provide you with CDN URLs for each image. You can use these URLs to embed images in your projects.
After uploading images via Gaac, you will receive a CDN URL for each image. You can use these URLs to serve images efficiently in your web applications or any other projects.
Here’s an example of how to use a CDN URL in an HTML file:
<img src="https://your-cdn-url.com/path/to/image.jpg" alt="Description of Image" />
- Free Hosting: Use GitHub’s infrastructure to host your images at no cost.
- Easy Integration: Connect your GitHub repository with Gaac for seamless image management.
- High Performance: Leverage CDN URLs for fast and reliable image delivery.
If you have suggestions or improvements for this setup, feel free to fork the repository and submit a pull request. You can also open an issue if you encounter any problems or have questions.
This project is licensed under the MIT License.