{"id":15288494,"url":"https://github.com/mslinn/jekyll_archive_create","last_synced_at":"2026-02-05T19:31:33.750Z","repository":{"id":56878450,"uuid":"471432094","full_name":"mslinn/jekyll_archive_create","owner":"mslinn","description":"Jekyll generator plugin that makes tar and zip files based on _config.yml entries","archived":false,"fork":false,"pushed_at":"2024-12-22T15:39:48.000Z","size":510,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T21:51:52.115Z","etag":null,"topics":["jekyll","jekyll-generator","jekyll-plugin","tar","zip"],"latest_commit_sha":null,"homepage":"https://www.mslinn.com/jekyll_plugins/jekyll_archive_create.html","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/mslinn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-18T16:02:24.000Z","updated_at":"2024-12-22T15:39:50.000Z","dependencies_parsed_at":"2023-11-21T15:46:43.972Z","dependency_job_id":"fc9e77e8-0613-4e17-824a-65b846cea08b","html_url":"https://github.com/mslinn/jekyll_archive_create","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.34693877551020413","last_synced_commit":"f16474f54b4099bc3e46628c693ae57cbeae02f0"},"previous_names":["mslinn/jekyll_make_archive"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mslinn/jekyll_archive_create","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_archive_create","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_archive_create/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_archive_create/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_archive_create/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/jekyll_archive_create/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_archive_create/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29130362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T18:55:47.139Z","status":"ssl_error","status_checked_at":"2026-02-05T18:55:04.010Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-generator","jekyll-plugin","tar","zip"],"created_at":"2024-09-30T15:49:46.864Z","updated_at":"2026-02-05T19:31:33.734Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","readme":"# `jekyll_archive_create` [![Gem Version](https://badge.fury.io/rb/jekyll_archive_create.svg)](https://badge.fury.io/rb/jekyll_archive_create)\n\n\nThis is a Jekyll plugin that makes tar or zip files based on `_config.yml` entries.\n\nIn production mode, the archives are built each time Jekyll generates the website.\n\nIn development mode, the archives are only built if they do not already exist,\nor if `delete: true` is set for that archive in `_config.yml`.\nArchives are placed in the top-level of the Jekyll project, and are copied to `_site` by Jekyll's normal build process.\nEntries are created in `.gitignore` for each of the generated archives.\n\n\n## Usage\n\nThis plugin supports 4 types of file specifications:\n\n* Absolute filenames (start with `/`).\n* Filenames relative to the top-level directory of the Jekyll website\n  (do not preface with `.` or `/`).\n* Filenames relative to the user home directory (preface with `~`).\n* Executable filenames on the PATH (preface with `!`).\n\n\n## `_config.yml` Syntax\n\nAny number of archives can be specified. Each archive has 3 properties: `archive_name`,\n`delete` (defaults to true) and `files`.\nTake care that the dashes have exactly 2 spaces before them,\nand that the 2 lines following each dash have exactly 4 spaces in front.\n\n```yaml\nmake_archive:\n  -\n    archive_name: cloud9.zip\n    delete: true  # This is the default, and need not be specified.\n    files: [ index.html, 404.html, ~/.ssh/config, /etc/passwd, '!date' ]\n  -\n    archive_name: cloud9.tar\n    delete: false  # Do not overwrite the archive if it already exists\n    files: [ index.html, 404.html, ~/.ssh/config, /etc/passwd, '!date' ]\n```\n\nThe file called `date` contains the executable program or script of that name.\n\n\n## Additional Information\n\nMore information is available on my website about\n[my Jekyll plugins](https://mslinn.com/jekyll/3000-jekyll-plugins.html#archive_create).\n\n\n## Installation\n\nAdd this line to your Jekyll project's Gemfile, within the `jekyll_plugins` group:\n\n```ruby\ngroup :jekyll_plugins do\n  gem 'jekyll_archive_create'\nend\n```\n\nAnd then install dependent gems as usual:\n\n```shell\n$ bundle\n```\n\n\n## Demo Website\n\nA test/demo website is provided in the `demo` directory.\nYou can run it under a debugger, or let it run free.\n\nThe `demo/_bin/debug` script can set various parameters for the demo.\nView the help information with the `-h` option:\n\n```shell\n$ demo/_bin/debug -h\n\ndebug - Run the demo Jekyll website.\n\nBy default the demo Jekyll website runs without restriction under ruby-debug-ide and debase.\nView it at http://localhost:4444\n\nOptions:\n  -h  Show this error message\n\n  -r  Run freely, without a debugger\n```\n\n\n### Debugging the Demo\n\nTo run under a debugger, for example Visual Studio Code:\n\n1. Set breakpoints.\n\n2. Initiate a debug session from the command line:\n\n   ```shell\n   $ demo/bin/debug\n   ```\n\n3. Once the `Fast Debugger` signon appears,\n   launch the Visual Studio Code launch configuration called `Attach rdebug-ide`.\n\n4. View the generated website at [`http://localhost:4444`](http://localhost:4444).\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies.\n\nYou can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n\n### Build and Install Locally\n\nTo build and install this gem onto your local machine, run:\n\n```shell\n$ bundle exec rake install\n```\n\nExamine the newly built gem:\n\n```shell\n$ gem info jekyll_archive_create\n\n*** LOCAL GEMS ***\n\njekyll_archive_create (1.0.0)\n    Author: Mike Slinn\n    Homepage:\n    https://github.com/mslinn/jekyll_archive_create\n    License: MIT\n    Installed at: /home/mslinn/.gems\n\n    Generates Jekyll logger with colored output.\n```\n\n\n### Build and Push to RubyGems\n\nTo release a new version,\n\n1. Update the version number in `version.rb`.\n2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.\n3. Run the following:\n\n    ```shell\n    $ bundle exec rake release\n    ```\n\n    The above creates a git tag for the version, commits the created tag,\n    and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).\n\n\n## Contributing\n\n1. Fork the project\n2. Create a descriptively named feature branch\n3. Add your feature\n4. Submit a pull request\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_archive_create","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fjekyll_archive_create","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_archive_create/lists"}