{"id":16840091,"url":"https://github.com/senorprogrammer/clouseau","last_synced_at":"2025-03-18T04:44:26.081Z","repository":{"id":66611647,"uuid":"112261447","full_name":"senorprogrammer/clouseau","owner":"senorprogrammer","description":"🔍 Configuration inspector/checker for Ruby on Rails.","archived":false,"fork":false,"pushed_at":"2017-12-05T22:11:10.000Z","size":166,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T11:27:29.869Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/senorprogrammer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-27T23:36:07.000Z","updated_at":"2020-07-20T12:18:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"33d896df-be31-4e0a-87de-c20389d3754f","html_url":"https://github.com/senorprogrammer/clouseau","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorprogrammer%2Fclouseau","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorprogrammer%2Fclouseau/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorprogrammer%2Fclouseau/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senorprogrammer%2Fclouseau/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/senorprogrammer","download_url":"https://codeload.github.com/senorprogrammer/clouseau/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244159989,"owners_count":20408019,"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-13T12:35:28.086Z","updated_at":"2025-03-18T04:44:26.056Z","avatar_url":"https://github.com/senorprogrammer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpre\u003e\n ██████╗██╗      ██████╗ ██╗   ██╗███████╗███████╗ █████╗ ██╗   ██╗\n██╔════╝██║     ██╔═══██╗██║   ██║██╔════╝██╔════╝██╔══██╗██║   ██║\n██║     ██║     ██║   ██║██║   ██║███████╗█████╗  ███████║██║   ██║\n██║     ██║     ██║   ██║██║   ██║╚════██║██╔══╝  ██╔══██║██║   ██║\n╚██████╗███████╗╚██████╔╝╚██████╔╝███████║███████╗██║  ██║╚██████╔╝\n ╚═════╝╚══════╝ ╚═════╝  ╚═════╝ ╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝\n\u003c/pre\u003e\n\nA configuration inspector/checker for Ruby on Rails.\n\nClouseau analyzes your Rails app and provides information about your configuration.\n\nIt helps answer the following questions:\n\n* Which config values are being executed in which environment?\n* Do any of those values seem suspicious?\n* Where in my Rails app are those config values used?\n* Where in my Rails app am I using environment variables?\n\n\u003cimg src=\"./images/clouseau_ui.png\" alt=\"clouseau ui example\" /\u003e\n\n### Config gem\nhttps://github.com/railsconfig/config\n\n* Analyze config's `settings.yml` files to show you all the configured variables and values\n* Indicate which values are missing from the base configuration file (aka `settings.yml`)\n* Indicate which production values are hard-coded the same as values for other environments\n* Indicate which values are derived from other configuration files, and what those derived values will be\n* Indicate where in your Rails app all the Config config values are used\n\n### Figaro gem\nhttps://github.com/laserlemon/figaro\n\n* Indicate where in your Rails app all the Figaro config values are used\n\n### Environment Variables\n\n* Indicate where in your Rails app all the environment variables are used\n\n## Installation\n\n1. Clone this repository\n2. `cd` into the resulting `clouseau` directory\n3. Run `make install`\n4. Run `which clouseau` to verify the install was successful\n\n## Usage\n\n### Source repository\n\n`go run clouseau.go --dir=path-to-your-rails-app`\n\n### Compiled binary\n\n`clouseau --dir=path-to-your-rails-app`\n\nIf you're currently in your Rails directory, you can just run `clouseau` directly.\n\n## Output\n\nClouseau generates a static HTML report about your configuration values and their use. After it has run, it will automatically open the resulting HTML page. This file can be found in `clouseau/index.html`.\n\n## Development\n\n**WARNING:** This app has so far only been used on MacOS. No guarantees are provided.\n\nPull requests, bug reports, feature requests all welcome. If you're a Ruby/Rails dev and there's something you want added to this, don't let the fact that Clouseau is written in Go stop you. Dive in, hack away. Ping me, I'm happy to help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenorprogrammer%2Fclouseau","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenorprogrammer%2Fclouseau","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenorprogrammer%2Fclouseau/lists"}