{"id":21383192,"url":"https://github.com/luckyraul/gulp-base64-woff-css","last_synced_at":"2025-03-16T11:23:55.464Z","repository":{"id":57256887,"uuid":"48132975","full_name":"luckyraul/gulp-base64-woff-css","owner":"luckyraul","description":null,"archived":false,"fork":false,"pushed_at":"2015-12-16T20:40:18.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T23:25:07.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/luckyraul.png","metadata":{"files":{"readme":"README.md","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":"2015-12-16T20:18:13.000Z","updated_at":"2018-08-08T09:08:56.000Z","dependencies_parsed_at":"2022-08-25T02:40:52.588Z","dependency_job_id":null,"html_url":"https://github.com/luckyraul/gulp-base64-woff-css","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/luckyraul%2Fgulp-base64-woff-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckyraul%2Fgulp-base64-woff-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckyraul%2Fgulp-base64-woff-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckyraul%2Fgulp-base64-woff-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luckyraul","download_url":"https://codeload.github.com/luckyraul/gulp-base64-woff-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243859422,"owners_count":20359530,"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-22T11:20:40.767Z","updated_at":"2025-03-16T11:23:55.424Z","avatar_url":"https://github.com/luckyraul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-google-fonts-base64-css\nGulp plugin to generate css files with Base64 encoded font data from Google Fonts\n\ninspired by https://github.com/ygoto3/gulp-base64-webfont-css and https://github.com/battlesnake/gulp-google-webfonts\n\n\n# Example   \n\n### fonts.list\n\n```\n# Google format\nRoboto:500,500italic\u0026subset=greek\n```\n\n### gulpfile.js\n\n```\nvar gulp = require('gulp');\nvar concat = require('gulp-concat');\nvar cssmin = require('gulp-minify-css');\nvar webFontsBase64 = require('gulp-google-fonts-base64-css');\n\t\ngulp.task('fonts', function () {\n\treturn gulp.src('./fonts.list')\n      .pipe(webFontsBase64())\n      .pipe(concat('web-fonts.css'))\n      .pipe(cssmin())\n      .pipe(gulp.dest('./css'));\n});\n```\n\n## Output\n```\n@font-face {\n  font-family: \"Roboto\";\n  font-style: normal;\n  font-weight: 500;\n  src: local(\"Roboto\"),\n    url(\"data:application/x-font-woff;base64,{{base64}}\") format(\"woff\");\n}\n@font-face {\n  font-family: \"Roboto\";\n  font-style: italic;\n  font-weight: 500;\n  src: local(\"Roboto\"),\n    url(\"data:application/x-font-woff;base64,{{base64}}\") format(\"woff\");\n}\n...\nand others\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckyraul%2Fgulp-base64-woff-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluckyraul%2Fgulp-base64-woff-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckyraul%2Fgulp-base64-woff-css/lists"}