Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/m0zgen/owr

⚙️ Wildcard listed domains list to Go (re2) regex converter.
https://github.com/m0zgen/owr

Last synced: 1 day ago
JSON representation

⚙️ Wildcard listed domains list to Go (re2) regex converter.

Awesome Lists containing this project

README

        

# OWR

Wildcard listed domains list to Go (re2) regex converter.

## Features

- Different sourses (file or URL)
- Output to file or stdout
- Multi thread processing

## Example

Process a URL and save the result to a file:

```shell
$ ./owr.py https://small.oisd.nl/domainswild /path/to/dest/hosts.txt
```
### Results

Input:

```shell
*.example.com
```

Output:

```shell
/(^|^.*\.)example.(com)/
```