{"id":16944702,"url":"https://github.com/rustworthy/unwrap_qr","last_synced_at":"2025-03-21T08:17:43.632Z","repository":{"id":154678232,"uuid":"574675284","full_name":"rustworthy/unwrap_qr","owner":"rustworthy","description":"Producer-consumer qr-code decoding service. RabbitMQ, Actix, Actix-web","archived":false,"fork":false,"pushed_at":"2022-12-13T20:24:03.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T05:11:28.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/rustworthy.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":"2022-12-05T20:46:57.000Z","updated_at":"2022-12-13T20:24:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"307aa26f-0411-4290-87a6-63017d4f1217","html_url":"https://github.com/rustworthy/unwrap_qr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustworthy%2Funwrap_qr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustworthy%2Funwrap_qr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustworthy%2Funwrap_qr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustworthy%2Funwrap_qr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustworthy","download_url":"https://codeload.github.com/rustworthy/unwrap_qr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759961,"owners_count":20505716,"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-13T21:18:56.487Z","updated_at":"2025-03-21T08:17:43.622Z","avatar_url":"https://github.com/rustworthy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Queue Actor\n*src/queue_actor.rs* will hold an abstract handler processing incoming messages and sending new messages to a queue.\nThe actor will create queues in RabbitMQ and subscribe to topics.\n\n### Worker\n*src/worker.rs*, the worker msg hanlder will read from 'requests' queue, decode the delivery data (qr code image) and send the result to the 'response' queue.\n\n### Server\n*src/server.rs* will have a web application with shared state. The state in its turn will have a reference to a server msg handler, that can publish raw messages\nto a 'requests' queue, and read processing results from 'responses' queue.\n\n### Flow\nProcure RabbitMQ container with `make rabbit/up`. Start the server with `make serve`. At *localhost:8089/tasks* upload a few qr-code images. Start the worker with `make worker`. The worker will get the messages from the queue and process them. Upload another image or reload the page.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustworthy%2Funwrap_qr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustworthy%2Funwrap_qr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustworthy%2Funwrap_qr/lists"}