https://github.com/righettod/toolbox-regex
Toolbox to have a local instance of RegExr to create regex against sensitive/private content.
https://github.com/righettod/toolbox-regex
docker regex
Last synced: about 1 year ago
JSON representation
Toolbox to have a local instance of RegExr to create regex against sensitive/private content.
- Host: GitHub
- URL: https://github.com/righettod/toolbox-regex
- Owner: righettod
- License: gpl-3.0
- Created: 2024-02-14T14:43:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-30T00:34:25.000Z (about 1 year ago)
- Last Synced: 2025-03-30T01:30:50.245Z (about 1 year ago)
- Topics: docker, regex
- Language: Dockerfile
- Homepage: https://github.com/gskinner/regexr
- Size: 90.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💻 Regex toolbox
  
## 🎯 Description
> [!NOTE]
> I created this repository because [my PR](https://github.com/gskinner/regexr/pull/445) was never taken in account.
The goal of this image is to provide a local instance of [RegExr](https://regexr.com/) to create regex against sensitive/private content.
## 📦 Build
Use the following set of command to build the docker image of the toolbox:
```bash
git clone https://github.com/righettod/toolbox-regex.git
cd toolbox-regex
docker build . -t righettod/toolbox-regex
```
💡 The image is build every week and pushed to the GitHub image repository. You can retrieve it with the following command:
`docker pull ghcr.io/righettod/toolbox-regex:main`
## 👨💻 Usage
You can use the following PowerShell code snippet:
```powershell
$toolUrl = "http://localhost:3000"
docker run -d -p 3000:3000 ghcr.io/righettod/toolbox-regex:main
$status = 0
while ($status -ne 200) {
Write-Host "[+] Wait 15 seconds that the container starts..." -ForegroundColor Yellow
Start-Sleep 15
$status = (Invoke-WebRequest -Uri $toolUrl -UseBasicParsing).StatusCode
}
Write-Host "[i] URL to use is $toolUrl" -ForegroundColor Cyan
Firefox.exe $toolUrl
```
## 🤝 Sources & credits
* [RegExr author](https://github.com/gskinner/regexr).