{"id":19388902,"url":"https://github.com/james2doyle/pico_download","last_synced_at":"2025-04-23T23:31:52.016Z","repository":{"id":10676239,"uuid":"12913298","full_name":"james2doyle/pico_download","owner":"james2doyle","description":"Force files to download in PicoCMS","archived":false,"fork":false,"pushed_at":"2013-12-09T19:19:59.000Z","size":112,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T22:33:08.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/james2doyle.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":"2013-09-18T03:33:08.000Z","updated_at":"2022-10-03T00:02:56.000Z","dependencies_parsed_at":"2022-08-27T19:10:06.897Z","dependency_job_id":null,"html_url":"https://github.com/james2doyle/pico_download","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/james2doyle%2Fpico_download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpico_download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpico_download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpico_download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james2doyle","download_url":"https://codeload.github.com/james2doyle/pico_download/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532143,"owners_count":21446127,"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-10T10:14:00.769Z","updated_at":"2025-04-23T23:31:50.303Z","avatar_url":"https://github.com/james2doyle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pico_download\n\nForce files to download in [PicoCMS](http://pico.dev7studios.com).\n\n### Configuration\n\nThe download folder and url can be customized via `config.php`:\n\n```php\n$config['download_url'] = 'dl'; // default: download\n$config['download_folder'] = 'content/dl/'; // default: content/download/\n```\n\nYou can access it with `{{ download_url }}`.\n\n### Usage\n\nPlace your files in the `content/download/` folder. Then download them using `http://example.com/download/filename`.\n\n### Example\n\nLet's say you want to download `test.txt`. In your template you'd link to it like this:\n\n```\n\u003ca href=\"{{ download_url }}/test.txt\"\u003eDownload test.txt\u003c/a\u003e\n```\n\nThe download URL would than be: `http://example.com/download/test.txt`.\n\n### License\n\n**The MIT License**\n\nCopyright (c) 2013 [James Doyle](http://twitter.com/james2doyle) james2doyle@gmail.com\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpico_download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames2doyle%2Fpico_download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpico_download/lists"}