https://github.com/doerfli/hibp-proxy
Proxy for the API of haveibeenpwned.com
https://github.com/doerfli/hibp-proxy
firebasemessaging hacktoberfest haveibeenpwned ktor-server
Last synced: 3 months ago
JSON representation
Proxy for the API of haveibeenpwned.com
- Host: GitHub
- URL: https://github.com/doerfli/hibp-proxy
- Owner: doerfli
- License: apache-2.0
- Created: 2019-07-18T21:13:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T21:31:56.000Z (over 2 years ago)
- Last Synced: 2025-03-14T17:33:39.458Z (3 months ago)
- Topics: firebasemessaging, hacktoberfest, haveibeenpwned, ktor-server
- Language: Kotlin
- Homepage:
- Size: 188 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HIBP API Proxy
This is a proxy for the haveibeenpwned.com API V3 function _Getting all breaches for an account_ (https://haveibeenpwned.com/API/v3#BreachesForAccount).
The result of the query is sent to an Android Device via Google Firebase Messaging.## Usage
Then send a HTTP `GET` request to `:/search?account=&device_token=`.
The response is sent back to the device identified by the `device_token`.## Environment variables
To run this, the following environment variables need to be set
* HIBP_API_KEY
* FIREBASE_CREDENTIALS - base64 encoded content of service-account-file.json (from google firebase console)