{"id":13671197,"url":"https://github.com/azat-io/postcss-instagram","last_synced_at":"2025-04-24T15:32:24.373Z","repository":{"id":57328137,"uuid":"42817156","full_name":"azat-io/postcss-instagram","owner":"azat-io","description":":camera: PostCSS plugin for using Instagram filters in CSS","archived":false,"fork":false,"pushed_at":"2017-07-06T20:33:15.000Z","size":1130,"stargazers_count":119,"open_issues_count":1,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-17T08:36:08.056Z","etag":null,"topics":["css","instagram-filters","postcss","postcss-plugins"],"latest_commit_sha":null,"homepage":"","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/azat-io.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-20T15:02:02.000Z","updated_at":"2023-10-01T18:26:36.000Z","dependencies_parsed_at":"2022-08-23T14:31:14.479Z","dependency_job_id":null,"html_url":"https://github.com/azat-io/postcss-instagram","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/azat-io%2Fpostcss-instagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azat-io%2Fpostcss-instagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azat-io%2Fpostcss-instagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azat-io%2Fpostcss-instagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azat-io","download_url":"https://codeload.github.com/azat-io/postcss-instagram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250654490,"owners_count":21465890,"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":["css","instagram-filters","postcss","postcss-plugins"],"created_at":"2024-08-02T09:01:02.576Z","updated_at":"2025-04-24T15:32:24.005Z","avatar_url":"https://github.com/azat-io.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# postcss-instagram\n\n\n\u003cimg align=\"right\" width=\"130\" height=\"130\" title=\"PostCSS\" src=\"http://postcss.github.io/postcss/logo.svg\"\u003e\n\n[![Build Status](https://travis-ci.org/azat-io/postcss-instagram.svg?branch=master)][ci] [![NPM version](https://badge.fury.io/js/postcss-instagram.svg)][npm] [![Dependency Status](https://gemnasium.com/azat-io/postcss-instagram.svg)][deps]\n\nThis is a PostCSS plugin for adding Instagram filters to your photos.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-instagram) do:\n\n```\nnpm install postcss-instagram --save\n```\n\n## Example\n\n### Input\n\n```html\n\u003cdiv class=\"boo\"\u003e\n  \u003cimg src=\"...\" alt=\"\"\u003e\n\u003c/div\u003e\n```\n\n```css\n.boo {\n  filter: earlybird;\n}\n```\n\n### Output\n\n```css\n.boo:after {\n  box-shadow:inset 0 0 3em #222;\n  position:absolute;\n  top:0;\n  right:0;\n  bottom:2px;\n  left:0;\n  z-index:1;\n  content:'';\n}\n\n.boo img{\n  filter:url('data:image/svg+xml;charset=utf-8,\u003csvg xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cfilter id=\"filter\"\u003e\u003cfeColorMatrix type=\"matrix\" color-interpolation-filters=\"sRGB\" values=\"0.7572 0.30760000000000004 0.0756 0 0 0.1396 0.8744000000000001 0.06720000000000001 0 0 0.10880000000000001 0.2136 0.6524 0 0 0 0 0 1 0\" /\u003e\u003cfeColorMatrix type=\"matrix\" color-interpolation-filters=\"sRGB\" values=\"1.6296000000000002 -0.572 -0.0576 0 0 -0.17040000000000002 1.246 -0.0576 0 0 -0.17040000000000002 -0.572 1.7424000000000002 0 0 0 0 0 1 0\" /\u003e\u003cfeComponentTransfer color-interpolation-filters=\"sRGB\"\u003e\u003cfeFuncR type=\"linear\" slope=\"1.1\" intercept=\"-0.050000000000000044\" /\u003e\u003cfeFuncG type=\"linear\" slope=\"1.1\" intercept=\"-0.050000000000000044\" /\u003e\u003cfeFuncB type=\"linear\" slope=\"1.1\" intercept=\"-0.050000000000000044\" /\u003e\u003c/feComponentTransfer\u003e\u003cfeComponentTransfer color-interpolation-filters=\"sRGB\"\u003e\u003cfeFuncR type=\"linear\" slope=\"0.9\" /\u003e\u003cfeFuncG type=\"linear\" slope=\"0.9\" /\u003e\u003cfeFuncB type=\"linear\" slope=\"0.9\" /\u003e\u003c/feComponentTransfer\u003e\u003c/filter\u003e\u003c/svg\u003e#filter');\n  -webkit-filter:sepia(0.4) saturate(1.8) contrast(1.1) brightness(0.9) hue-rotate(-20deg);\n  filter:sepia(0.4) saturate(1.8) contrast(1.1) brightness(0.9) hue-rotate(-20deg);\n}\n\n.boo {\n  position:relative;\n  display:inline-block;\n}\n```\n\n### Filters\n\nHere is a full list of plugin filters:\n* 1977\n* amaro\n* brannan\n* earlybird\n* inkwell\n* kalvin\n* lo-fi\n* nashville\n* toaster\n\nYou can look filter examples [here](https://github.com/azat-io/postcss-instagram/blob/master/LIST.md).\n\n## Contributing\n\nPull requests are welcome.\n\n## License\n\nMIT © [Azat S.](http://azat.io)\n\n[ci]:      https://travis-ci.org/azat-io/postcss-instagram\n[deps]:    https://gemnasium.com/azat-io/postcss-instagram\n[npm]:     http://badge.fury.io/js/postcss-instagram\n[postcss]: https://github.com/postcss/postcss\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazat-io%2Fpostcss-instagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazat-io%2Fpostcss-instagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazat-io%2Fpostcss-instagram/lists"}