{"id":23331430,"url":"https://github.com/marinac-dev/disposable","last_synced_at":"2026-01-22T00:33:53.541Z","repository":{"id":257813016,"uuid":"868672857","full_name":"marinac-dev/disposable","owner":"marinac-dev","description":"A library for checking if an email address is from a disposable email service.","archived":false,"fork":false,"pushed_at":"2025-01-25T12:45:43.000Z","size":951,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T21:36:29.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/marinac-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-10-07T00:59:21.000Z","updated_at":"2025-01-25T10:05:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"c930e7b6-d5d6-47fd-b837-6ad4f0585f21","html_url":"https://github.com/marinac-dev/disposable","commit_stats":null,"previous_names":["marinac-dev/disposable"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marinac-dev/disposable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinac-dev%2Fdisposable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinac-dev%2Fdisposable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinac-dev%2Fdisposable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinac-dev%2Fdisposable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marinac-dev","download_url":"https://codeload.github.com/marinac-dev/disposable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinac-dev%2Fdisposable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28648460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-12-20T22:37:44.287Z","updated_at":"2026-01-22T00:33:53.509Z","avatar_url":"https://github.com/marinac-dev.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disposable\n\n[![Hex.pm](https://img.shields.io/hexpm/v/disposable.svg)](https://hex.pm/packages/disposable)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-brightgreen.svg)](https://hexdocs.pm/disposable)\n\nDisposable is an Elixir library for checking if an email address is from a disposable email service. It provides a fast, memory-efficient way to validate email domains against a known list of disposable email providers. With over 169.000 domains in the list, Disposable is a reliable tool for preventing users from signing up with temporary email addresses.\n\n## Features\n\n- Fast in-memory checking of email domains\n- Easy to use API\n- Configurable disposable domains list\n- Ability to reload domains without application restart\n\n## Installation\n\nThe package can be installed by adding `disposable` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:disposable, \"~\u003e 0.1.3\"}\n  ]\nend\n```\n\n## Usage\n\n### Basic usage\n\n```elixir\niex\u003e Disposable.check(\"user@gmail.com\")\nfalse\n\niex\u003e Disposable.check(\"user@tempmail.com\")\ntrue\n```\n\n### Configuration\n\nBy default, Disposable uses a built-in list of disposable email domains. You can provide your own list by setting the `:disposable_domains_file` configuration in your `config.exs`:\n\n```elixir\nconfig :disposable, disposable_domains_file: \"/path/to/your/domains.txt\"\n```\n\n### Reloading domains\n\nIf you update your domains list, you can reload it without restarting your application:\n\n```elixir\nDisposable.reload()\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n\n## Acknowledgments\n\n- Thanks to all contributors who have helped with this project.\n- Special thanks to the maintainers of various disposable email domain lists that helped in creating our initial list.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinac-dev%2Fdisposable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarinac-dev%2Fdisposable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinac-dev%2Fdisposable/lists"}