{"id":16406470,"url":"https://github.com/wincent/prefnerd","last_synced_at":"2026-03-09T05:31:46.975Z","repository":{"id":28781176,"uuid":"32303788","full_name":"wincent/prefnerd","owner":"wincent","description":"Monitors changes to the OS X defaults database","archived":false,"fork":false,"pushed_at":"2025-01-24T10:07:14.000Z","size":14,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T02:50:31.617Z","etag":null,"topics":["macos"],"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/wincent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-03-16T05:39:57.000Z","updated_at":"2025-02-06T00:34:59.000Z","dependencies_parsed_at":"2022-09-01T23:50:32.290Z","dependency_job_id":null,"html_url":"https://github.com/wincent/prefnerd","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wincent/prefnerd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fprefnerd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fprefnerd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fprefnerd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fprefnerd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wincent","download_url":"https://codeload.github.com/wincent/prefnerd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fprefnerd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30283900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["macos"],"created_at":"2024-10-11T06:09:52.930Z","updated_at":"2026-03-09T05:31:46.954Z","avatar_url":"https://github.com/wincent.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prefnerd\n[![Gem Version](https://badge.fury.io/rb/prefnerd.svg)](http://badge.fury.io/rb/prefnerd)\n\nAre you an OS X prefnerd? Do you keep a base set of OS X preferences in version\ncontrol to make it easier to set up new machines? Do you want to know which\nitems are being changed, and to what values, whenever you alter a setting on OS\nX?\n\nprefnerd is a command-line tool, `pn`, that watches the OS X \"defaults\" (ie.\npreferences) database for changes and echoes them to the terminal as they\nhappen.\n\n# Installation\n\n```sh\ngem install prefnerd\n```\n\n# Usage\n\nRun `pn` from the terminal with no arguments.\n\n# Requirements\n\nprefnerd relies on three executables that are usually present on all OS X\ninstalls \u0026mdash; `defaults`, `diff` and `system_profiler` \u0026mdash; plus one that\nwill generally have to be installed separately, `fswatch`. The simplest way to\ninstall this is usually via [Homebrew](http://brew.sh/):\n\n```sh\nbrew install fswatch\n```\n\n# Development\n\nThis is a quick-and-dirty hack that I cooked up in an hour, so there are no\ntests, no Bundler, no Rakefile. To cut a new release, update the version\nnumber in the gemspec and:\n\n```sh\ngit tag -s v0.1 -m \"0.1 release\"\ngit push --follow-tags origin master\ngem build prefnerd.gemspec\ngem push prefnerd-0.1.gem\n```\n\nTo debug the in-development version:\n\n```sh\nDEBUG=1 bin/pn\n```\n\n# Future plans\n\nRight now prefnerd is implemented in the crudest and most unsophisticated way:\nwhenever a change is detected, it effectively runs a before and after snapshot\nof the output of a `defaults read` command and feeds the result through the\n`diff` tool.\n\nA future version could instead interpret the resulting property lists as\nstructured data, and show the `defaults` commands that would be required to\nrecreate the same changes (right now, it's up to the user of figure that out\nbased on the diff output).\n\n# Author\n\nprefnerd was hacked together by Greg Hurrell (\u003cgreg@hurrell.net\u003e).\n\n# License\n\nprefnerd is licensed under the MIT license, because that's the default one\ncreated by the `bundle gem` command. See the `LICENSE.txt` file in the prefnerd\nrepo for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwincent%2Fprefnerd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwincent%2Fprefnerd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwincent%2Fprefnerd/lists"}