Skip to content

Toolbox to have a local instance of RegExr to create regex against sensitive/private content.

License

Notifications You must be signed in to change notification settings

righettod/toolbox-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 Regex toolbox

Build and deploy the toolbox image MadeWithDocker AutomatedWith

🎯 Description

Note

I created this repository because my PR was never taken in account.

The goal of this image is to provide a local instance of RegExr to create regex against sensitive/private content.

📦 Build

Use the following set of command to build the docker image of the toolbox:

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:

$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

About

Toolbox to have a local instance of RegExr to create regex against sensitive/private content.

Topics

Resources

License

Stars

Watchers

Forks

Packages