{"id":17146146,"url":"https://github.com/codenamev/slimer","last_synced_at":"2025-10-11T21:10:33.050Z","repository":{"id":37904772,"uuid":"327016443","full_name":"codenamev/slimer","owner":"codenamev","description":"A minimalist consumer with an endless appetite.","archived":false,"fork":false,"pushed_at":"2023-03-16T11:23:28.000Z","size":169,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T22:27:10.635Z","etag":null,"topics":["hacktoberfest2021"],"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/codenamev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-05T14:02:47.000Z","updated_at":"2021-10-12T18:59:48.000Z","dependencies_parsed_at":"2025-04-13T11:32:24.167Z","dependency_job_id":"762de804-525d-43d0-98cb-307cd084717d","html_url":"https://github.com/codenamev/slimer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codenamev/slimer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenamev%2Fslimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenamev%2Fslimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenamev%2Fslimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenamev%2Fslimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenamev","download_url":"https://codeload.github.com/codenamev/slimer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenamev%2Fslimer/sbom","scorecard":{"id":296961,"data":{"date":"2025-08-11","repo":{"name":"github.com/codenamev/slimer","commit":"f0df77a925006022817b8375230f58723cbe0a77"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Code-Review","score":0,"reason":"Found 0/12 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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/linter.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linter.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/linter.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/multi-ruby-tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/multi-ruby-tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/multi-ruby-tests.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/codenamev/slimer/multi-ruby-tests.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/linter.yml:1","Warn: no topLevel permission defined: .github/workflows/multi-ruby-tests.yml:1","Info: no jobLevel write permissions found"],"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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 'main'"],"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"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-22f2-v57c-j9cx","Warn: Project is vulnerable to: GHSA-3h57-hmj3-gj3p","Warn: Project is vulnerable to: GHSA-54rr-7fvw-6x8f","Warn: Project is vulnerable to: GHSA-7g2v-jj9q-g3rg","Warn: Project is vulnerable to: GHSA-7wqh-767x-r66v","Warn: Project is vulnerable to: GHSA-8cgq-6mh2-7j6v","Warn: Project is vulnerable to: GHSA-c6qg-cjj8-47qp","Warn: Project is vulnerable to: GHSA-gjh7-p2fx-99vx","Warn: Project is vulnerable to: GHSA-vpfw-47h7-xj4g","Warn: Project is vulnerable to: GHSA-xj5v-6v4g-jfw6","Warn: Project is vulnerable to: GHSA-2rxp-v6pw-ch6m","Warn: Project is vulnerable to: GHSA-4xqq-m2hx-25v8","Warn: Project is vulnerable to: GHSA-5866-49gr-22v4","Warn: Project is vulnerable to: GHSA-r55c-59qm-vjw6","Warn: Project is vulnerable to: GHSA-vg3r-rm7w-2xgh","Warn: Project is vulnerable to: GHSA-vmwr-mc7x-5vc3","Warn: Project is vulnerable to: GHSA-3qc2-v3hp-6cv8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T19:47:31.451Z","repository_id":37904772,"created_at":"2025-08-17T19:47:31.451Z","updated_at":"2025-08-17T19:47:31.451Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008731,"owners_count":26084494,"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-10-11T02:00:06.511Z","response_time":55,"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":["hacktoberfest2021"],"created_at":"2024-10-14T21:07:56.948Z","updated_at":"2025-10-11T21:10:33.020Z","avatar_url":"https://github.com/codenamev.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slimer\n\n![build status](https://github.com/codenamev/slimer/workflows/Tests/badge.svg)\n\nA minimalist consumer with an endless appetite.\n\n\u003cfigcaption\u003e\n  \u003cimg src=\"https://github.com/codenamev/slimer/raw/main/examples/slimer-banner.jpg\" alt=\"Slimer\" /\u003e\n  \u003csmall\u003eSlimer character created by \u003ca href=\"https://dribbble.com/amungioli\"\u003eAnthony Mungioli\u003c/a\u003e\u003c/small\u003e\n\u003c/figcaption\u003e\n\n## Pre-Build Deployment Options\n\n- [Run Within Docker](https://github.com/codenamev/slimer-example-docker)\n- [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/codenamev/slimer-example-heroku)\n\n## WTF\n\nWorking with IoT, I constantly find a need for a single place to dump generic data that I want to keep track of. If this were a physical place, there would be different bins I could throw this data into. Basically what I was looking for was an organized dumpster. Enter: `Slimer`!\n\nSlimer exists with a sole purpose: consuming _substances_. Currently, these\n_substances_ are molded in a data object with the following attributes:\n\n| attribute | description                                                                               |\n| --------- | -----------                                                                               |\n| uid       | A unique identifier (UUID by default)                                                     |\n| payload   | `JSON` representation of the data to be stored                                            |\n| metadata  | `JSON` representation of any meta-data that describes the contents of the above `payload` |\n| group     | The name for a collection of similar Substance(s)                                         |\n\nWith the Slimer app running on `http://localhost:6660` (local and Docker default), and an API key generated (`rake slimer:api_keys:generate[\"your-name\"]`) you can give it any arbitrary JSON data you want to\nstore either via GET:\n\n```\nhttp://localhost:6660/:api_key/consume?zipCode=19101\u0026weather=sunny\n```\n\nOr via POST\n\n```bash\ncurl --header \"Content-Type: application/json\" \\\n  --request POST \\\n  --data '{\"zipCode\":\"19101\",\"weather\":{\"cloudCover\":0,description:\"sunny\"}}' \\\n  http://localhost:6660/:api_key/consume\n```\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'slimer'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install slimer\n\n\n\n## Usage\n\nSlimer uses Sidekiq to line up it's meals. While it is recommended to deploy Slimer (locally via Docker or on Heroku), `Slimer::Web` is a simple mountable Rack app. All that is needed is a `config.ru` file:\n\n```ruby\n# ./config.ru\n\nrequire \"slimer/web\"\n\nrun Slimer::Web\n```\n\n## Configuration\n\nBy default, Slimer uses SQLite for storing it's Substances, and the WEBrick web server.\n\nSlimer uses the [sequel gem](http://sequel.jeremyevans.net/) to interact with\nthe database. You can use whatever database it supports. Slimer will look for the\n`DATABASE_URL` environment variable and use it if one exists. Alternatively, you\ncan configure the server explicitly:\n\n```ruby\n# ./config.ru\n\nrequire \"pg\"\nrequire \"slimer/web\"\n\nSlimer.configure do |config|\n  config.database_url = \"postgres://slimer-database/?pool=8\"\nend\n\nrun Slimer::Web\n```\n\nSlimer accepts many configurable options:\n\n```ruby\n# By default, Slimer stores everything in the \"general\" group.\n# Adding more groups here will make them available for consumption at:\n#   /:api_key/:group/consume\nSlimer.configure do |config|\n  # Top-level group\n  config.group :bookmarks\n  # Nested group\n  config.group \"bookmarks/ruby\"\n  # Alternative nested group\n  config.group :bookmarks do\n    config.group :ruby\n    config.group :rails\n  end\n\n  config.database_url = \"postgres://slimer-database/?pool=8\"\n  config.sidekiq_queue = \"slimed\"\n  config.configure_sidekiq_client do |sidekiq_config|\n    sidekiq_config.redis = { url: 'redis://redis.example.com:7372/0' }\n  end\n  config.configure_sidekiq_server do |sidekiq_config|\n    sidekiq_config.redis = { url: 'redis://redis.example.com:7372/0' }\n  end\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/codenamev/slimer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/codenamev/slimer/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Slimer project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/codenamev/slimer/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenamev%2Fslimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenamev%2Fslimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenamev%2Fslimer/lists"}