{"id":13612126,"url":"https://github.com/GSI/jekyll_image_encode","last_synced_at":"2025-04-13T11:31:33.785Z","repository":{"id":9988022,"uuid":"12018072","full_name":"GSI/jekyll_image_encode","owner":"GSI","description":"Jekyll tag that renders base64 codes of images fetched from the web","archived":false,"fork":false,"pushed_at":"2018-03-12T15:08:08.000Z","size":7,"stargazers_count":13,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T21:47:43.598Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GSI.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-10T08:39:40.000Z","updated_at":"2023-12-07T23:23:49.000Z","dependencies_parsed_at":"2022-07-21T16:02:15.150Z","dependency_job_id":null,"html_url":"https://github.com/GSI/jekyll_image_encode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSI%2Fjekyll_image_encode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSI%2Fjekyll_image_encode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSI%2Fjekyll_image_encode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSI%2Fjekyll_image_encode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GSI","download_url":"https://codeload.github.com/GSI/jekyll_image_encode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248705667,"owners_count":21148574,"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-08-01T20:00:22.888Z","updated_at":"2025-04-13T11:31:33.488Z","avatar_url":"https://github.com/GSI.png","language":"Ruby","funding_links":[],"categories":["Images \u0026 Pictures"],"sub_categories":[],"readme":"h1. Jekyll Image Encode\n\nThis Jekyll plugin fetches images from the web and renders their corresponding base64 codes.\n\nFor example, a **1x1 clear PNG** would become:\n\npre. \u003cimg src=\"data:image;base64, iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAAxJREFUCNdj+P//PwAF/gL+3MxZ5wAAAABJRU5ErkJggg== \" /\u003e\n\nBe sure to know your reasons when using this plugin.\n\n\nh2. Installation\n\nSet the constant @PATH_TO_JEKYLL_SITE@ correctly and run these commands accordingly:\n\npre. cd ${PATH_TO_JEKYLL_SITE}\necho \"gem 'jekyll_image_encode'\" \u003e\u003e Gemfile\nbundle\necho \"require 'jekyll_image_encode'\" \u003e\u003e _plugins/ext.rb\n\n\n*Alternatively* you may accomplish the same without @echo@ and @bundle@:\n\n# Install the plugin by running @gem install jekyll_image_encode@\n# Add the line @require 'jekyll_image_encode'@ to *_plugins/ext.rb*\n\n\nh2. Usage\n\nIn the source attribute of an HTML *img* element, call the *base64-tag* providing the image URL as the only parameter:\n\npre. \u003cimg src=\"{% base64 http://example.org/image.png %}\" /\u003e\n\nThis works for both remote (http://...) and local urls within your jekyll project. \n\nh2. License\n\nJekyll Image Embed is released under the \"MIT License\":http://www.opensource.org/licenses/MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGSI%2Fjekyll_image_encode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGSI%2Fjekyll_image_encode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGSI%2Fjekyll_image_encode/lists"}