{"id":17826430,"url":"https://github.com/dwkoogt/pika_que","last_synced_at":"2025-08-12T06:36:02.689Z","repository":{"id":56888085,"uuid":"123630613","full_name":"dwkoogt/pika_que","owner":"dwkoogt","description":"Ruby background processor for RabbitMQ","archived":false,"fork":false,"pushed_at":"2024-06-29T17:23:07.000Z","size":117,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-28T08:24:54.809Z","etag":null,"topics":["background-jobs","pikaque","rabbitmq","rails","ruby","workers"],"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/dwkoogt.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-03-02T21:03:54.000Z","updated_at":"2024-06-29T17:23:10.000Z","dependencies_parsed_at":"2025-06-04T02:05:57.168Z","dependency_job_id":"e698f627-253c-4f79-9f51-6603e1cdd31e","html_url":"https://github.com/dwkoogt/pika_que","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/dwkoogt/pika_que","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwkoogt%2Fpika_que","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwkoogt%2Fpika_que/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwkoogt%2Fpika_que/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwkoogt%2Fpika_que/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwkoogt","download_url":"https://codeload.github.com/dwkoogt/pika_que/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwkoogt%2Fpika_que/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270014606,"owners_count":24512691,"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-08-12T02:00:09.011Z","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":["background-jobs","pikaque","rabbitmq","rails","ruby","workers"],"created_at":"2024-10-27T18:47:49.271Z","updated_at":"2025-08-12T06:36:02.640Z","avatar_url":"https://github.com/dwkoogt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PikaQue\n\n![example workflow](https://github.com/dwkoogt/pika_que/actions/workflows/ruby.yml/badge.svg)\n\nA RabbitMQ background processing framework for Ruby with built-in support for Rails integration.\n\nPikaQue is inspired by Sneakers, Hutch, and Sidekiq. It is intended to implement more support for Rails a la Sidekiq.\nIt supports retry (both constant and exponential backoffs) and delayed/scheduled execution.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pika_que'\n```\n\nOr install it yourself as:\n\n    $ gem install pika_que\n\n## Usage\n\nTo create a worker:\n\n```ruby\nclass PokeWorker\n  include PikaQue::Worker\n  from_queue \"poke\"\n\n  def perform(msg)\n    # do something with msg[\"greeting\"]\n    ack!\n  end\nend\n```\n\nTo enqueue a job:\n\n```ruby\nPokeWorker.enqueue({ greeting: \"I Challenge You!\" })\n```\n\nTo run server:\n\n    $ bundle exec pika_que\n    \n\n### Rails and ActiveJob Quickstart\n\nCreate workers(not required for ActiveJob) in:\n\n    app/workers\n    \nCreate a config file `pika_que.yml` in config:\n\n    config/pika_que.yml\n    \n```yml\n# pika_que.yml\nprocessors:\n  - workers:\n    - queue: default\n    - queue: mailers\n    - queue: your-active-job-queue-name\n  - workers:\n    - worker: PokeWorker\n\n```\n\nSet the backend for active job in `config/application.rb`:\n\n    config.active_job.queue_adapter = :pika_que\n\nThen run the server.\n\nFor more details, see [wiki](https://github.com/dwkoogt/pika_que/wiki/Rails-Setup).\n\n### Examples\n\nSee examples for more usage reference.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec pika_que` to use the gem in this directory, ignoring other installed copies of this gem.\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 tags, 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/dwkoogt/pika_que. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwkoogt%2Fpika_que","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwkoogt%2Fpika_que","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwkoogt%2Fpika_que/lists"}