-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
![is-email-disposable](is-email-disposable.png) | ||
|
||
A REST API for checking if an e-mail address is disposable (a.k.a. throwaway). | ||
|
||
## Using the hosted version | ||
|
||
[WebGazer](https://www.webgazer.io) offers this as a publicly available service. You can freely use it on `https://isemaildisposable.webgazer.io`. | ||
|
||
For example, a `GET` request to `https://isemaildisposable.webgazer.io/[email protected]` will return with this response: | ||
|
||
```json | ||
{ | ||
"isDisposable": true | ||
} | ||
``` | ||
|
||
You can send full e-mail address or only the domain, too. If you don't set the `email` query parameter, you will get a `HTTP 400 Bad Request` response. | ||
|
||
## Deploying | ||
|
||
The application is also available to be used as a [docker image](https://hub.docker.com/repository/docker/th0th/is-email-disposable). You can deploy your own self-hosted version: | ||
|
||
```shell script | ||
$ docker run -p 80:80 th0th/is-email-disposable | ||
``` | ||
|
||
## I found a new domain... | ||
|
||
If you came across a new domain that is used a disposable e-mail address source, you can add it to `domains.json` in a pull request. Please mind that domains in this file are listed alphabetically. | ||
|
||
## Contribution | ||
|
||
Even if this is a very simple application, if you have some kind of improvement idea, don't hesitate to create an issue. Or a PR would be even better :) | ||
|
||
## Shameless plug | ||
|
||
I am an indie hacker and I am running an uptime monitoring and analytics platform called [WebGazer](https://www.webgazer.io). You might want to check it out if you are running an online business and want to notice the incidents before your customers. | ||
|
||
## License | ||
|
||
Copyright © 2020, Gökhan Sarı. Released under the [MIT License](LICENSE). |