{"id":16185027,"url":"https://github.com/rexxars/mead-plugin-source-proxy","last_synced_at":"2025-04-07T13:12:23.230Z","repository":{"id":57293763,"uuid":"66913560","full_name":"rexxars/mead-plugin-source-proxy","owner":"rexxars","description":"HTTP Proxy source for the Mead image transformer service - loads images from remote HTTP(s) servers","archived":false,"fork":false,"pushed_at":"2017-03-16T08:33:02.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T05:04:33.525Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rexxars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-30T06:34:48.000Z","updated_at":"2016-08-30T06:35:04.000Z","dependencies_parsed_at":"2022-09-01T13:01:27.904Z","dependency_job_id":null,"html_url":"https://github.com/rexxars/mead-plugin-source-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexxars%2Fmead-plugin-source-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexxars%2Fmead-plugin-source-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexxars%2Fmead-plugin-source-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexxars%2Fmead-plugin-source-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rexxars","download_url":"https://codeload.github.com/rexxars/mead-plugin-source-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657270,"owners_count":20974345,"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-10-10T07:13:23.128Z","updated_at":"2025-04-07T13:12:23.208Z","avatar_url":"https://github.com/rexxars.png","language":"JavaScript","readme":"# mead-plugin-source-proxy\n\n[![npm version](http://img.shields.io/npm/v/mead-plugin-source-proxy.svg?style=flat-square)](http://browsenpm.org/package/mead-plugin-source-proxy)[![Build Status](http://img.shields.io/travis/rexxars/mead-plugin-source-proxy/master.svg?style=flat-square)](https://travis-ci.org/rexxars/mead-plugin-source-proxy)[![Coverage Status](https://img.shields.io/coveralls/rexxars/mead-plugin-source-proxy/master.svg?style=flat-square)](https://coveralls.io/github/rexxars/mead-plugin-source-proxy)[![Dependency status](https://img.shields.io/david/rexxars/mead-plugin-source-proxy.svg?style=flat-square)](https://david-dm.org/rexxars/mead-plugin-source-proxy)\n\nHTTP Proxy source for the Mead image transformer service - loads images from remote HTTP(s) servers.\n\n## Installation\n\n```shell\n# Bundled with mead by default, but if you're feeling frisky\nnpm install --save mead-plugin-source-proxy\n```\n\n## Usage\n\n**Note: Bundled with Mead and enabled by default**\n\nYour mead configuration file (`mead --config \u003cpath-to-config.js\u003e`):\n\n```js\nmodule.exports = {\n  // Load the plugin\n  plugins: [\n    require('mead-plugin-source-proxy')\n  ],\n\n  // Define a source using the proxy adapter\n  sources: [{\n    name: 'my-proxy-source',\n    adapter: {\n      type 'proxy',\n      config: {\n        // Secure token is required for this source, to prevent abuse\n        secureUrlToken: 'someToken',\n\n        // Disallow requests to hostnames that resolve to private IP ranges (disallowed by default)\n        allowPrivateHosts: false,\n\n        // Optional, custom function to allow/disallow a request. Pass bool as second argument to the callback\n        allowRequest: (url, callback) =\u003e {\n          callback(null, url.includes('arnold'))\n        },\n\n        // Time in milliseconds to wait upon connecting to remote server before giving up request (default: 7500)\n        timeout: 3500,\n\n        // Maximum number of redirects to follow (default: 3)\n        maxRedirects: 1\n      }\n    }\n  }]\n}\n```\n\n## License\n\nMIT-licensed. See LICENSE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexxars%2Fmead-plugin-source-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frexxars%2Fmead-plugin-source-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexxars%2Fmead-plugin-source-proxy/lists"}