{"id":15405574,"url":"https://github.com/krisleech/wisper-visualize","last_synced_at":"2025-04-17T01:52:50.176Z","repository":{"id":21930063,"uuid":"25254435","full_name":"krisleech/wisper-visualize","owner":"krisleech","description":"Visualizations for Wisper events","archived":false,"fork":false,"pushed_at":"2019-03-18T11:49:55.000Z","size":156,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T03:06:56.432Z","etag":null,"topics":[],"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/krisleech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-15T12:54:54.000Z","updated_at":"2019-06-04T16:21:36.000Z","dependencies_parsed_at":"2022-08-17T23:10:07.685Z","dependency_job_id":null,"html_url":"https://github.com/krisleech/wisper-visualize","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fwisper-visualize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fwisper-visualize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fwisper-visualize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fwisper-visualize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisleech","download_url":"https://codeload.github.com/krisleech/wisper-visualize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249299678,"owners_count":21246876,"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-01T16:17:12.698Z","updated_at":"2025-04-17T01:52:50.159Z","avatar_url":"https://github.com/krisleech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wisper::Visualize\n\nProvides a graph of published [Wisper](https://github.com/krisleech/wisper) events as a PNG or PDF\n\n![example output](https://raw.githubusercontent.com/krisleech/wisper-visualize/master/output_example.png)\n\n## Installation\n\n```ruby\ngem 'wisper-visualize'\n```\n\n## Usage\n\n```ruby\nreport = Wisper::Visualize.report\n\n# broadcast some events...\n\nreport.to_pdf('/tmp/events-graph.pdf')\nreport.to_png('/tmp/events-graph.png')\n```\n\nYou can also get a collection of all events published:\n\n```ruby\nreport.events # =\u003e [...]\n```\n\nEach event has the following attributes:\n\n```ruby\nevent.name\nevent.publisher_name\nevent.subscriber_name\nevent.arg_names\nevent.created_at\nevent.frequency\n```\n\n## Rspec\n\n```ruby\naround(:each) do |example|\n  report = Wisper::Visualize.report\n  example.call\n  report.to_pdf(\"/tmp/events-graph-#{example.metadata[:full_description]}.pdf\")\nend\n```\n\n## Contributing\n\nYes, please.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisleech%2Fwisper-visualize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisleech%2Fwisper-visualize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisleech%2Fwisper-visualize/lists"}