[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7747":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":22,"defaultBranch":23,"hasWiki":21,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":28,"discoverSource":29},7747,"wraith","bbc\u002Fwraith","bbc","Wraith — A responsive screenshot comparison tool","http:\u002F\u002Fbbc.github.io\u002Fwraith\u002F",null,"Ruby",4827,353,156,100,0,1,2,60.35,"Apache License 2.0",true,false,"master",[],"2026-06-12 04:00:35","> [!IMPORTANT]  \n> This repository is no longer maintained. It remains available for reference, but issues and pull requests are not monitored.\n\n![Wraith logo](https:\u002F\u002Fraw.githubusercontent.com\u002FBBC-News\u002Fwraith\u002Fmaster\u002Fassets\u002Fwraith-logo.png)\n\n[![build status](https:\u002F\u002Fsecure.travis-ci.org\u002FBBC-News\u002Fwraith.png?branch=master)](http:\u002F\u002Ftravis-ci.org\u002FBBC-News\u002Fwraith)\n[![rubygems version](https:\u002F\u002Fimg.shields.io\u002Fgem\u002Fv\u002Fwraith.svg)](https:\u002F\u002Frubygems.org\u002Fgems\u002Fwraith)\n[![codeclimate report](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002FBBC-News\u002Fwraith.png)](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002FBBC-News\u002Fwraith)\n\nWraith is a screenshot comparison tool, created by developers at BBC News.\n\n[Documentation](http:\u002F\u002Fbbc-news.github.io\u002Fwraith\u002F) • [Source](http:\u002F\u002Fgithub.com\u002Fbbc-news\u002Fwraith) • [Responsive News Website](http:\u002F\u002Fresponsivenews.co.uk)\n\n## What is it?\n\nWraith uses a headless browser to create screenshots of webpages on different environments (or at different moments in time) and then creates a diff of the two images; the affected areas are highlighted in blue.\n\n![Photo of BBC News with a diff](http:\u002F\u002Fbbc-news.github.io\u002Fwraith\u002Fimg\u002Fwraith.png)\n\n## Documentation\n\nFor instructions on how to install, set up and use Wraith and all of its features, [visit the Wraith documentation](http:\u002F\u002Fbbc-news.github.io\u002Fwraith\u002Findex.html).\n\nA brief overview of how Wraith works is provided below.\n\n## Wraith modes\n\nThere are several ways in which Wraith can be used:\n\n1. Comparison of 2 domains (`wraith capture`). There are also some specialist options within this mode:\n    * Spidering 2 domains for changes (`wraith capture` when no `paths` property is provided in the configuration file)\n    * Running several comparisons at once (`wraith multi_capture`)\n2. Comparing the same domain over time (`wraith history`, then `wraith latest`)\n\nWhichever mode you decide to run Wraith in, the process it follows is generally the same:\n\n* takes screenshots of your webpages\n* runs a comparison task across them\n* outputs a diff PNG file comparing the two images, and a data.txt file which contains the percentage of pixels that have changed\n* packages all of this up into a gallery.html, ready for you to view\n* if any screenshot's diff is above the threshold you specified in your configuration file, the task exits with a system error code (useful for CI)\n* the failed screenshot will also be highlighted in the gallery\n\n## Requirements\n\n[ImageMagick](http:\u002F\u002Fwww.imagemagick.org\u002F) is required to compare the screenshots and crop images.\n\nWraith also requires at least one of these headless browsers:\n\n* [PhantomJS](http:\u002F\u002Fphantomjs.org)\n* [CasperJS](http:\u002F\u002Fcasperjs.org\u002F) (which can be used to target specific selectors)\n* [SlimerJS](http:\u002F\u002Fslimerjs.org)\n* [Chrome](https:\u002F\u002Faskubuntu.com\u002Fquestions\u002F510056\u002Fhow-to-install-google-chrome\u002F510063) (Currently using Selenium WebDriver + Chromedriver for Chrome; Can target specific selectors)\n\n## Contributing\n\nPlease read [how to contribute to Wraith](https:\u002F\u002Fgithub.com\u002FBBC-News\u002Fwraith\u002Fblob\u002Fmaster\u002F.github\u002FCONTRIBUTING.md).\n\n## License\n\nWraith is available to everyone under the terms of the Apache 2.0 open source license. [Take a look at Wraith's LICENSE file](https:\u002F\u002Fgithub.com\u002FBBC-News\u002Fwraith\u002Fblob\u002Fmaster\u002FLICENSE).\n\n## Credits\n\n * [Dave Blooman](https:\u002F\u002Ftwitter.com\u002Fdblooman)\n * [John Cleveley](https:\u002F\u002Ftwitter.com\u002Fjcleveley)\n * [Simon Thulbourn](https:\u002F\u002Ftwitter.com\u002Fsthulb)\n * [Chris Ashton](https:\u002F\u002Ftwitter.com\u002Fchrisbashton)\n\n## Selenium-Wraith\n\nAnyone interested in integrating selenium capability with Wraith should check out [Selenium-Wraith](https:\u002F\u002Fgithub.com\u002Fmathew-hall\u002Fwraith-selenium) (maintained by Mathew Hall), which was forked from BBC's Wraith on 16\u002F04\u002F14 and adds the following capabilities:\n\n1. Selenium integration, both running locally on a desktop or on a selenium grid\n2. Browser to browser screenshot comparison\n3. Page component-based comparison\n","Wraith 是一个由 BBC News 开发的响应式网页截图对比工具。它使用无头浏览器在不同环境或时间点对网页进行截图，并生成两张图片之间的差异图，差异区域以蓝色高亮显示。Wraith 支持多种模式运行，包括两个域名之间的比较、同一域名随时间变化的比较等。此外，它还可以用于持续集成环境中，当截图差异超过预设阈值时，会返回系统错误代码。Wraith 需要 ImageMagick 以及至少一种无头浏览器（如 PhantomJS, CasperJS, SlimerJS 或 Chrome）来完成其功能。尽管该项目已不再维护，但仍然适用于需要监控和对比网页视觉变化的场景。","2026-06-11 03:14:08","top_language"]