{"id":16445768,"url":"https://github.com/mslinn/jekyll_download_link","last_synced_at":"2026-02-04T10:03:12.583Z","repository":{"id":56878541,"uuid":"471484191","full_name":"mslinn/jekyll_download_link","owner":"mslinn","description":"Generates a link to download a file. The path can be absolute or relative to the website.","archived":false,"fork":false,"pushed_at":"2024-12-22T15:35:03.000Z","size":521,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T03:08:59.472Z","etag":null,"topics":["jekyll","jekyll-plugin"],"latest_commit_sha":null,"homepage":"https://www.mslinn.com/jekyll_plugins/jekyll_download_link.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-18T18:57:59.000Z","updated_at":"2024-12-22T15:35:06.000Z","dependencies_parsed_at":"2023-12-02T21:26:24.340Z","dependency_job_id":"8addc3dd-b1af-4098-b7d2-5eff968edb75","html_url":"https://github.com/mslinn/jekyll_download_link","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":0.36,"last_synced_commit":"71e7efe7f2be784eef6e4e83693942f582cc8ab9"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_download_link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_download_link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_download_link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_download_link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/jekyll_download_link/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238445860,"owners_count":19473823,"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-10-11T09:45:21.993Z","updated_at":"2025-10-27T05:31:49.813Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `jekyll_download_link` [![Gem Version](https://badge.fury.io/rb/jekyll_download_link.svg)](https://badge.fury.io/rb/jekyll_download_link)\n\n`jekyll_download_link` is a Jekyll tag plugin that generates a link to the given URI,\nwhich must be a file on the server.\nThe file name can be absolute or relative to the top-level directory of the website.\n\n\n## Usage\n\n```html\n{% download_link cloud9.tar %}\n```\n\nGenerates:\n\n```html\n\u003ca href=\"/cloud9.tar\"\u003e\u003ccode\u003ecloud9.tar\u003c/code\u003e\u003c/a\u003e (4.5 KB)\n```\n\nWhich renders as:\u003cbr\u003e\n\u003ca href=\"/cloud9.tar\"\u003e`cloud9.tar`\u003c/a\u003e (4.5 KB)\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'jekyll_download_link'\n```\n\nAnd then execute:\n\n```shell\n$ bundle install\n```\n\n\n## Additional Information\n\nMore information is available on\n[Mike Slinn\u0026rsquo;s website](https://mslinn.com/jekyll/3000-jekyll-plugins.html#download_link).\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, type:\n\n```shell\n$ bundle exec rake install\njekyll_download_link 1.0.0 built to pkg/jekyll_download_link-0.1.0.gem.\njekyll_download_link (1.0.0) installed.\n```\n\nExamine the newly built gem:\n\n```shell\n$ gem info jekyll_download_link\n\n*** LOCAL GEMS ***\n\njekyll_download_link (1.0.0)\n    Author: Mike Slinn\n    Homepage:\n    https://github.com/mslinn/jekyll_download_link\n    License: MIT\n    Installed at: /home/mslinn/.gems\n\n    Generates Jekyll logger with colored output.\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.\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, launch the Visual Studio Code launch configuration called `Attach rdebug-ide`.\n4. View the generated website at [`http://localhost:4444`](http://localhost:4444).\n\n\n### Build and Push to RubyGems\n\nTo release a new version,\n\n  1. Update the version number in `version.rb`.\n  2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.\n  3. 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_download_link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fjekyll_download_link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_download_link/lists"}