{"id":19210347,"url":"https://github.com/seniverse/ipdb_decoder","last_synced_at":"2025-05-12T19:25:21.628Z","repository":{"id":57507363,"uuid":"193547700","full_name":"seniverse/ipdb_decoder","owner":"seniverse","description":"IPIP.net File Format (GeoIP database) Decoder, IPDB Decoder by Elixir","archived":false,"fork":false,"pushed_at":"2019-06-25T10:11:05.000Z","size":1426,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T16:56:06.474Z","etag":null,"topics":["17mon","elixir","geoip","geolocation","ipdb","ipip"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seniverse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-24T17:14:37.000Z","updated_at":"2024-01-30T05:21:52.000Z","dependencies_parsed_at":"2022-09-19T05:30:42.392Z","dependency_job_id":null,"html_url":"https://github.com/seniverse/ipdb_decoder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seniverse%2Fipdb_decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seniverse%2Fipdb_decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seniverse%2Fipdb_decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seniverse%2Fipdb_decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seniverse","download_url":"https://codeload.github.com/seniverse/ipdb_decoder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223833718,"owners_count":17210910,"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":["17mon","elixir","geoip","geolocation","ipdb","ipip"],"created_at":"2024-11-09T13:35:48.182Z","updated_at":"2024-11-09T13:35:48.273Z","avatar_url":"https://github.com/seniverse.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPIP.net File Format Decoder\n\n[![Build Status](https://travis-ci.org/seniverse/ipdb_decoder.svg?branch=master)](https://travis-ci.org/seniverse/ipdb_decoder)\n[![Coverage Status](https://coveralls.io/repos/github/seniverse/ipdb_decoder/badge.svg?branch=master)](https://coveralls.io/github/seniverse/ipdb_decoder?branch=master)\n[![hex.pm version](https://img.shields.io/hexpm/v/ipdb_decoder.svg)](https://hex.pm/packages/ipdb_decoder)\n[![hex.pm downloads](https://img.shields.io/hexpm/dt/ipdb_decoder.svg)](https://hex.pm/packages/ipdb_decoder)\n![hex.pm license](https://img.shields.io/hexpm/l/ipdb_decoder.svg)\n![GitHub top language](https://img.shields.io/github/languages/top/seniverse/ipdb_decoder.svg)\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `ipdb_decoder` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ipdb_decoder, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Usage\nTo prepare lookups in a given database, you need parse first and\nhold the results for later usage:\n\n```elixir\niex(1)\u003e {:ok, database} = IPDBDecoder.parse_database_file(\"/path/to/ipipfree.ipdb\")\n```\n\nUsing the returned database contents, you could start looking up\n\n```elixir\niex(2)\u003e IPDBDecoder.lookup(database, \"127.0.0.1\")\n{:ok, %{}}\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/ipdb_decoder](https://hexdocs.pm/ipdb_decoder).\n\n## ChangeLog\n\n[CHANGELOG](https://github.com/seniverse/ipdb_decoder/blob/master/CHANGELOG.md)\n\n## License\n\n[Apache 2.0](https://github.com/seniverse/ipdb_decoder/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseniverse%2Fipdb_decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseniverse%2Fipdb_decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseniverse%2Fipdb_decoder/lists"}