{"id":14991353,"url":"https://github.com/sshaw/selfie_formatter","last_synced_at":"2026-02-04T09:03:40.960Z","repository":{"id":56894811,"uuid":"61467205","full_name":"sshaw/selfie_formatter","owner":"sshaw","description":"The RSpec Selfie Formatter: A Formatter that takes photos of you while your tests run and uses them to track progress and format the results.","archived":false,"fork":false,"pushed_at":"2020-12-05T04:48:06.000Z","size":3922,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T16:17:17.861Z","etag":null,"topics":["imagesnap","photos","rspec","rspec-formatter","ruby","selfie-formatter","selfies","test"],"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/sshaw.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":"2016-06-19T06:15:33.000Z","updated_at":"2022-03-01T06:32:54.000Z","dependencies_parsed_at":"2022-08-21T01:20:27.276Z","dependency_job_id":null,"html_url":"https://github.com/sshaw/selfie_formatter","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/sshaw%2Fselfie_formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fselfie_formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fselfie_formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fselfie_formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshaw","download_url":"https://codeload.github.com/sshaw/selfie_formatter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514221,"owners_count":21116899,"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":["imagesnap","photos","rspec","rspec-formatter","ruby","selfie-formatter","selfies","test"],"created_at":"2024-09-24T14:27:28.718Z","updated_at":"2026-02-04T09:03:35.929Z","avatar_url":"https://github.com/sshaw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The RSpec Selfie Formatter\n\nAn RSpec Formatter for the new generation of programmers.\n\n![Selfie Formatter Animation](example.gif)\n\nThe Selfie Formatter takes photos of you while your tests run and uses them to track\nprogress and format the results.\n\nCurrently only works on OS X with iTerm2 \u003e= 3.0. **Warning** see [known issues](#known-issues).\n\n## Installation\n\nImageMagick is required\n\n```\nbrew install imagemagick --with-fontconfig\n```\n\nThen\n\n```\ngem install selfie_formatter\n```\n\nOr, in your `Gemfile`\n\n```ruby\ngem \"selfie_formatter\", :group =\u003e \"test\"\n```\n\n## Usage\n\n```\nrspec -f SelfieFormatter\n```\n\n## Known Issues\n\n1. Slower tests. Yes, vanity has its price: the camera takes time to warm up, and a small sleep time is added prior to taking the each photo. At some point the sleep time\nmay be added as an option.\n\n1. Photos are taken via [imagesnap](https://github.com/rharder/imagesnap), which is a fine program but can quickly eat up memory.\nUpwards of 500 MB after 10 or 15 seconds.\n\n1. Photos are taken every 300ms. Unused photos are cleaned up after every test completes but if a single test takes a while to\ncomplete photos can start to eat up disk space.\n\nAt some point I may write something that does not [fake the `Camera` interface via `fork`](https://github.com/sshaw/selfie_formatter/blob/34f1999391695ce7633d79638a0903e1eb612e9e/lib/selfie/camera.rb). [imagesnap](https://github.com/rharder/imagesnap) and [CaptureCamera](https://github.com/fernyb/CaptureCamera) are good starting points.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fselfie_formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshaw%2Fselfie_formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fselfie_formatter/lists"}