{"id":20604030,"url":"https://github.com/tschaefer/ruby-adguardhome","last_synced_at":"2025-09-26T09:30:58.588Z","repository":{"id":209906307,"uuid":"725224484","full_name":"tschaefer/ruby-adguardhome","owner":"tschaefer","description":":boom: AdGuardHome Ruby client.","archived":false,"fork":false,"pushed_at":"2024-01-14T13:40:38.000Z","size":37,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-16T09:20:15.742Z","etag":null,"topics":[],"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/tschaefer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-29T17:38:45.000Z","updated_at":"2024-03-20T10:10:06.000Z","dependencies_parsed_at":"2023-11-29T19:27:50.423Z","dependency_job_id":"f6911a08-9911-48a9-80f7-1968bc8abde4","html_url":"https://github.com/tschaefer/ruby-adguardhome","commit_stats":null,"previous_names":["tschaefer/ruby-adguardhome"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-adguardhome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-adguardhome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-adguardhome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-adguardhome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tschaefer","download_url":"https://codeload.github.com/tschaefer/ruby-adguardhome/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234300447,"owners_count":18810610,"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-11-16T09:20:09.317Z","updated_at":"2025-09-26T09:30:53.305Z","avatar_url":"https://github.com/tschaefer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby-adguardhome\n\nRuby AdGuardHome client library.\n\n## Introduction\n\n`AdGuardHome` is a Ruby client for the Network-wide ads \u0026 trackers blocking\nDNS server [AdGuardHome](https://github.com/AdGuardTeam/AdGuardHome).\n\n## Installation\n\n```sh\n $ gem install --file --without development,test\n $ gem build\n $ VERSION=$(ruby -Ilib -e 'require \"adguardhome/version\"; puts AdGuardHome::VERSION')\n $ gem install --local adguardhome-${VERSION}.gem\n```\n\n## Usage\n\nThe required step is to set up a connection to a AdGuardHome service.\n\n```ruby\nrequire 'adguardhome'\n\nAdGuardHome.configure do |config|\n  config.username   = 'admin',\n  config.password   = 'admin',\n  config.base_url   = 'http://localhost'\nend\n```\n\nFollowing example gets the current DNS server status and general settings.\n\n```ruby\nAdGuardHome.common.status\n\n{\"version\"=\u003e\"v0.107.41\",\n \"language\"=\u003e\"en\",\n \"dns_addresses\"=\u003e[\"127.0.0.1\"],\n \"dns_port\"=\u003e53,\n \"http_port\"=\u003e80,\n \"protection_disabled_duration\"=\u003e0,\n \"protection_enabled\"=\u003etrue,\n \"dhcp_available\"=\u003etrue,\n \"running\"=\u003etrue}\n```\n\nFor further usage use `ri` or `rake doc` to create HTML documentation files.\n\n## License\n\n[MIT License](https://spdx.org/licenses/MIT.html)\n\n## Is it any good?\n\n[Yes.](https://news.ycombinator.com/item?id=3067434)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschaefer%2Fruby-adguardhome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftschaefer%2Fruby-adguardhome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschaefer%2Fruby-adguardhome/lists"}