Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soxoj/maigret-adapter
Connect Maigret with other tools
https://github.com/soxoj/maigret-adapter
osint
Last synced: 18 days ago
JSON representation
Connect Maigret with other tools
- Host: GitHub
- URL: https://github.com/soxoj/maigret-adapter
- Owner: soxoj
- License: mit
- Created: 2021-06-28T21:15:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T11:08:43.000Z (10 months ago)
- Last Synced: 2024-10-14T15:41:29.261Z (20 days ago)
- Topics: osint
- Language: Python
- Homepage:
- Size: 183 KB
- Stars: 17
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - soxoj/maigret-adapter - Connect Maigret with other tools (Python)
README
# maigret-adapter
Connecting Maigret with other tools.
## Usage
```sh
./run.py
```You will start maigret-adapter service at `localhost:8080`.
Now you can use API interface for maigret:```sh
curl localhost:8080 -s | jq ~
{
"maigret-adapter": "0.0.1",
"usage": "/check/{service}/{site}/{identifier}",
"services": [
"test_service",
"mailcat"
]
}
```## Testing
You have to install Maigret first.
```sh
./test.sh
```## How to register you service
1. Use `integrations/test_adapter.py` as a template.
1. Add import to `integrations/__init__.py`
1. Register adapter in `run.py`
1. Run server and make health-check of your service with the name used in `run.py`:
```sh
curl localhost:8080/sites/ -v
```## Scheme
![Maigret-adapter scheme](https://raw.githubusercontent.com/soxoj/maigret-adapter/main/scheme.png)