{"id":14956003,"url":"https://github.com/thearchitector/practical-pig","last_synced_at":"2025-11-11T20:34:47.526Z","repository":{"id":56888646,"uuid":"264818325","full_name":"thearchitector/practical-pig","owner":"thearchitector","description":"An opinionated and robust Ruby on Rails application template using RuboCop and pnpm.","archived":false,"fork":false,"pushed_at":"2020-05-26T22:57:34.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-31T06:51:43.441Z","etag":null,"topics":["application","opinionated","project","ruby","ruby-on-rails","template"],"latest_commit_sha":null,"homepage":"","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/thearchitector.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"thearchitector"}},"created_at":"2020-05-18T03:43:00.000Z","updated_at":"2020-09-09T02:52:13.000Z","dependencies_parsed_at":"2022-08-20T16:00:28.787Z","dependency_job_id":null,"html_url":"https://github.com/thearchitector/practical-pig","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thearchitector/practical-pig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearchitector%2Fpractical-pig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearchitector%2Fpractical-pig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearchitector%2Fpractical-pig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearchitector%2Fpractical-pig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thearchitector","download_url":"https://codeload.github.com/thearchitector/practical-pig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearchitector%2Fpractical-pig/sbom","scorecard":{"id":877830,"data":{"date":"2025-08-11","repo":{"name":"github.com/thearchitector/practical-pig","commit":"fc91c6c178ee14642c845fb6a0bb22610aabb416"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T06:44:55.124Z","repository_id":56888646,"created_at":"2025-08-24T06:44:55.124Z","updated_at":"2025-08-24T06:44:55.124Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274238704,"owners_count":25247110,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["application","opinionated","project","ruby","ruby-on-rails","template"],"created_at":"2024-09-24T13:12:09.807Z","updated_at":"2025-11-11T20:34:42.489Z","avatar_url":"https://github.com/thearchitector.png","language":"Ruby","funding_links":["https://github.com/sponsors/thearchitector"],"categories":["Ruby"],"sub_categories":[],"readme":"# practical-pig\n\n[![version](https://img.shields.io/gem/v/practical-pig?label=version\u0026style=flat-square)](https://rubygems.org/gems/practical-pig)\n[![status](https://img.shields.io/travis/thearchitector/practical-pig?style=flat-square)](https://travis-ci.org/github/thearchitector/practical-pig)\n[![downloads](https://img.shields.io/gem/dt/practical-pig?style=flat-square)](https://rubygems.org/gems/practical-pig)\n[![license](https://img.shields.io/badge/license-MIT-green?style=flat-square)](./LICENSE)\n\nPractical Pig is an opinionated Ruby on Rails template that makes use of webpacker-pnpm, RuboCop, and Prettier to provide a simple yet robust foundation for any web application.\n\n## Features\n\n- Opinionated so you don't have to deal with the nitty-gritty\n- Provides production-ready application templates\n- Agnostic of underlying Rails version\n\n## Installation and Usage\n\nAssuming you have `pnpm` installed, simply download the gem to your system and then create a new repository as you would using `rails`.\n\n```sh\n$ gem install practical-pig\n$ pig new APP_PATH\n```\n\nTo view the help dialog, you may run `pig help new`, which will yield the following output:\n\n```plaintext\nUsage:\n  pig new APP_PATH\n\nOptions:\n  -q, [--quiet], [--no-quiet]        # Suppress status output\n      [--with-hmr], [--no-with-hmr]  # Install Webpack HMR development server\n\nDescription:\n  `pig new` will generate a new Ruby on Rails application and modify it to adhere\n  to Practical Pig's application design guidelines.\n\n  The APP_PATH you provide will be used as the path of the application during\n  creation, with its name being the basename (last part of the path). In every\n  case, the new application will be generated relative to the current working\n  directory (where you execute this command).\n\n  By design, your application name must start and end with an alphanumeric\n  character.\n\n  This command makes use of `rails new` under the hood but does not accept any\n  generator options.\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2020 Elias Gabriel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the conditions outlined in [LICENSE](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthearchitector%2Fpractical-pig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthearchitector%2Fpractical-pig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthearchitector%2Fpractical-pig/lists"}