{"id":18974562,"url":"https://github.com/boyvanamstel/jekyll-copyr","last_synced_at":"2025-04-19T16:40:42.361Z","repository":{"id":53460455,"uuid":"248977968","full_name":"boyvanamstel/jekyll-copyr","owner":"boyvanamstel","description":"A Jekyll plugin to easily copy files from anywhere into your site.","archived":false,"fork":false,"pushed_at":"2022-10-06T10:13:05.000Z","size":21,"stargazers_count":8,"open_issues_count":4,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-11T23:49:39.371Z","etag":null,"topics":["jekyll","jekyll-plugin"],"latest_commit_sha":null,"homepage":"","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/boyvanamstel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["boyvanamstel"]}},"created_at":"2020-03-21T13:07:36.000Z","updated_at":"2025-02-01T17:30:07.000Z","dependencies_parsed_at":"2022-09-13T17:51:28.482Z","dependency_job_id":null,"html_url":"https://github.com/boyvanamstel/jekyll-copyr","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvanamstel%2Fjekyll-copyr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvanamstel%2Fjekyll-copyr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvanamstel%2Fjekyll-copyr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvanamstel%2Fjekyll-copyr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boyvanamstel","download_url":"https://codeload.github.com/boyvanamstel/jekyll-copyr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249740040,"owners_count":21318674,"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":["jekyll","jekyll-plugin"],"created_at":"2024-11-08T15:15:25.994Z","updated_at":"2025-04-19T16:40:42.342Z","avatar_url":"https://github.com/boyvanamstel.png","language":"Ruby","funding_links":["https://github.com/sponsors/boyvanamstel"],"categories":[],"sub_categories":[],"readme":"# Jekyll Copyr\n\n[![Gem Version](https://badge.fury.io/rb/jekyll-copyr.svg)](https://badge.fury.io/rb/jekyll-copyr)\n\nA Jekyll plugin that taps into `FileUtils.cp_r` from your `_config.yml`. Easily copy files from anywhere into your site.\n\n## Installation\n\nAdd `gem \"jekyll-copyr\"` to the `:jekyll_plugins` group in your `Gemfile`:\n\n```ruby\n# Gemfile\n\ngroup :jekyll_plugins do\n  gem \"jekyll-copyr\"\nend\n```\n\nThen add these lines to your application's `_config.yml`:\n\n```yml\n# _config.yml\n\nplugins:\n  - jekyll-copyr\n\njekyll-copyr:\n  enabled: true # Optional, defaults to true\n  tasks:\n    - from: \"./node_modules/@fortawesome/fontawesome-free/webfonts/.\"\n      to: \"./_site/assets/webfonts/\"\n```\n\n## Usage\n\nAdd the `from` and `to` path of the files you want to copy into the array below `tasks`. You can add as many tasks as you want. The task above copies all the webfonts from fontawesome into the `_site` directory.\n\n## Purpose\n\nI've built this plugin to work around the need to ship my entire `node_modules` folder just to use some webfonts from Font Awesome.\n\nYou can also copy files from outside your project folder into your site. This allows you to share files between projects.\n\n## Development\n\nAfter checking out the repo, run `script/bootstrap` to install dependencies. Then, run `bundle exec rake spec` to run the tests.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `lib/jekyll-copyr/version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/boyvanamstel/jekyll-copyr. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to behave appropriately.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyvanamstel%2Fjekyll-copyr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboyvanamstel%2Fjekyll-copyr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyvanamstel%2Fjekyll-copyr/lists"}