{"id":18006477,"url":"https://github.com/plietar/piperun","last_synced_at":"2025-04-04T11:40:45.307Z","repository":{"id":19310533,"uuid":"22548403","full_name":"plietar/piperun","owner":"plietar","description":"Process files using pipelines","archived":false,"fork":false,"pushed_at":"2014-08-07T20:02:39.000Z","size":192,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-10T22:08:10.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/plietar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-02T15:08:38.000Z","updated_at":"2014-08-02T15:13:59.000Z","dependencies_parsed_at":"2022-09-10T14:11:21.304Z","dependency_job_id":null,"html_url":"https://github.com/plietar/piperun","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fpiperun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fpiperun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fpiperun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fpiperun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plietar","download_url":"https://codeload.github.com/plietar/piperun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174371,"owners_count":20896074,"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-30T01:08:32.775Z","updated_at":"2025-04-04T11:40:45.280Z","avatar_url":"https://github.com/plietar.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Piperun\n\nPiperun allows you to process your application's assets in using pipelines seamlessly.\nIt is more lightweight than the Rails pipeline, but more appropriate than task runners like Grunt.\n\nIt takes assets from a source directory, applies a number a filters to transform them,\nand puts the result in a destination directory.\n\nTemporary files are automagically managed by Piperun so you do not have to bother about them.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'piperun'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install piperun\n\n## Usage\n\nCreate a `Pipefile.rb` file at the root of your project, in which are defined one or more pipelines :\n\n    pipeline 'scripts', 'public/js' do\n      match '*.js'\n      yui_js\n    end\n\n    # Slightly more complex example\n    pipeline 'styles', 'public/css' do\n      parallel do # execute two pipelines on the same source files\n        run do # take sass and scss files and compile them into css\n          match '*.sass', '*.scss'\n          sass # sass and scss filters are identical\n        end\n\n        run do # take only css files\n          match '*.css'\n        end\n      end\n\n      # We now have only css files, either copied from source or compiled from sass\n\n      yui_css # minify the stylesheets\n    end\n\nNow run `piperun` in your root directory, and your files will be available in `public/js` and `public/css` !\n\n### Filters\n\nThe following filters are supported :\n- Copy\n- Match\n- Parallel\n- Tar\n- Gz\n- Sass / Scss\n- Browserify\n- YUI JS and CSS compressors\n- Typescript\n\nFeel free to make a PR to add some. Check out examples in `lib/piperun/filters/` to see how.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplietar%2Fpiperun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplietar%2Fpiperun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplietar%2Fpiperun/lists"}