Skip to content

A self-hosted alternative to Kickbox's OpenAPI for checking if an email is disposable/temporary

License

Notifications You must be signed in to change notification settings

kamikazechaser/disposable-email-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disposable-email-cache

A self-hosted alternative to Kickbox's OpenAPI for checking if an email is disposable/temporary.

Build and run

# single binary
$ make build
$ ./disposable-email-cache

or

# build Docker container
$ DOCKER_BUILDKIT=1 docker build -t disposable-email-cache .
$ docker run --name disposable-email-cache -p 5000:5000 disposable-email-cache:latest

# or use pre-built Docker image
$  docker run --name disposable-email-cache -p 5000:5000 kamikazechaser/disposable-email-cache:latest

API Endpoints

Check if email domain is disposable

$ curl localhost:5000/check/n8.gs
# {"disposable":true}

Update and reload cache

$ curl localhost:5000/update-cache
# {"cacheUpdated":true}

About

A self-hosted alternative to Kickbox's OpenAPI for checking if an email is disposable/temporary

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published