Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/slunak/abuseipdb-alfred-workflow

AbuseIPDB Workflow for Alfred
https://github.com/slunak/abuseipdb-alfred-workflow

Last synced: 3 months ago
JSON representation

AbuseIPDB Workflow for Alfred

Awesome Lists containing this project

README

        

# AbuseIPDB Workflow for [Alfred](http://www.alfredapp.com/)

This workflow queries AbuseIPDB API and returns result for specified IP address. The keyword is `abuseipdb` (example `abuseipdb 118.25.6.39`). The keyword can be configured so select the one that suits you.

![Query public IP address](./assets/query-public-ip.png)

With you can copy the details to the clipboard and then paste into any app.

![Copy details to clipboard](./assets/clipboard-contents.png)

Please star this repo if you find the workflow useful :)

## Installation

Download and open the workflow file. Alfred should handle installation from here. You can download the workflow from Releases page.

## Configuration

![Workflow Environment Variables](./assets/workflow-environment-variables.png)

### AbuseIPDB API key

You would need to register for [AbuseIPDB API](https://docs.abuseipdb.com/) and get an API key. Then configure it in the [Workflow Environment Variables](https://www.alfredapp.com/help/workflows/advanced/variables/) section under `abuseipdb_api_key`.

### Keyword

You can also configure a keyword under `keyword` variable.

## Usage

### Manual query

You may open alfred and manually enter the keyword and the IP address.

### Query from selection

Or you can assign a hotkey to query selected IP address.

![Workflow Environment Variables](./assets/hotkey-preferences.png)

Please note: You would also need to update the prefix if you changed the keyword.

Then select the IP address and use your assigned hotkey to trigger Alfred to query this IP address against AbuseIPDB database.

## Additional Information

### Alfred Workflow Diagram

![Alfred Workflow Diagram](./assets/alfred-workflow-diagram.png)

### Script Filter

![Script Filter](./assets/script-filter.png)