{"id":19724167,"url":"https://github.com/fastruby/jekyll-images-cdn","last_synced_at":"2026-02-25T10:02:32.848Z","repository":{"id":203782890,"uuid":"703154969","full_name":"fastruby/jekyll-images-cdn","owner":"fastruby","description":"A Jekyll plugin to replace relative image src with a CDN src","archived":false,"fork":false,"pushed_at":"2024-11-22T15:49:45.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-10T16:44:26.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-10T17:40:59.000Z","updated_at":"2024-11-22T15:49:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a5a2547-ad8f-4062-b891-363666fa414d","html_url":"https://github.com/fastruby/jekyll-images-cdn","commit_stats":null,"previous_names":["fastruby/jekyll-images-cdn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fjekyll-images-cdn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fjekyll-images-cdn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fjekyll-images-cdn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fjekyll-images-cdn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastruby","download_url":"https://codeload.github.com/fastruby/jekyll-images-cdn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241045614,"owners_count":19899683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T23:24:45.633Z","updated_at":"2025-10-25T19:06:07.530Z","avatar_url":"https://github.com/fastruby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll Images CDN\n\nThis plugin adds replaces the `src` for images with a CDN url when the original URL is relative.\n\n## Setup\n\n1. Add the gem to your `Gemfile`:\n   ```ruby\n   gem 'jekyll-images-cdn', github: 'fastruby/jekyll-images-cdn'\n   ```\n2. Run `bundle install` to install the gem\n3. Add the following to your `_config.yml`:\n   ```yaml\n   plugins:\n     - jekyll-images-cdn\n   ```\n\n## Usage\n\nThe plugin automatically edits all image and picture elements with relative paths for the src attribute prepending the defined CDN base url.\n\n### Configuration\n\nYou can configure the plugin in the `_config.yml` file:\n\n```yaml\nimages_cdn:\n  base_cdn_url: https:my_cdn.com\n```\n\nOr you can use the `ASSET_HOST` environment variable:\n\n```\nASSET_HOST=https:my_cdn.com bundle exec jekyll build -d ../public/blog\n```\n\n\u003e Note that, if both are defined, `ASSET_HOST` has priority\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastruby%2Fjekyll-images-cdn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastruby%2Fjekyll-images-cdn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastruby%2Fjekyll-images-cdn/lists"}