{"id":23074808,"url":"https://github.com/bsedin/rkn_ip_lookup","last_synced_at":"2025-06-24T19:42:20.005Z","repository":{"id":79528457,"uuid":"130393445","full_name":"bsedin/rkn_ip_lookup","owner":"bsedin","description":"Find IP in ip and cidr block lists","archived":false,"fork":false,"pushed_at":"2018-04-20T18:04:41.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T01:17:36.687Z","etag":null,"topics":["antizapret","ipv4","network","rkn","roskomnadzor"],"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/bsedin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-20T17:23:56.000Z","updated_at":"2018-04-20T18:26:08.000Z","dependencies_parsed_at":"2023-05-10T20:45:20.914Z","dependency_job_id":null,"html_url":"https://github.com/bsedin/rkn_ip_lookup","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/bsedin%2Frkn_ip_lookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsedin%2Frkn_ip_lookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsedin%2Frkn_ip_lookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsedin%2Frkn_ip_lookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsedin","download_url":"https://codeload.github.com/bsedin/rkn_ip_lookup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246998155,"owners_count":20866690,"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":["antizapret","ipv4","network","rkn","roskomnadzor"],"created_at":"2024-12-16T08:29:37.355Z","updated_at":"2025-04-03T11:44:27.877Z","avatar_url":"https://github.com/bsedin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rkn IP/Hostname Lookup\n\nCheck IP or hostname presence in RKN blocked resources list.\nCurrently only antizapret.info supported (https://api.antizapret.info/group.php?data=ip).\nFeel free to contribute\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rkn_ip_lookup'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rkn_ip_lookup\n\n## Usage\n\n    RknIpLookup::Checker.check('127.0.0.1') #=\u003e false\n    RknIpLookup::Checker.check('google.com') #=\u003e false\n    RknIpLookup::Checker.check('yandex.ru') #=\u003e false\n    RknIpLookup::Checker.check('s3.eu-central-1.amazonaws.com') #=\u003e #\u003cIPAddr: IPv4:52.192.0.0/255.224.0.0\u003e. This means IP was blocked by CIDR `52.192.0.0/11`\n\n### Database\n\nI use singleton `RknIpLookup::Database` to store fetched IPs. It caches by default with ruby marshal. To reset cache do\n\n    RknIpLookup::Database.reload\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/kressh/rkn_ip_lookup .\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsedin%2Frkn_ip_lookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsedin%2Frkn_ip_lookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsedin%2Frkn_ip_lookup/lists"}