A user-friendly AI-powered tool for those who hate writing regular expressions! Powered by GPT-3.5, FuckRegex helps you generate regex patterns without the headache.
- Generate regex patterns with natural language input
- Interpret entered regex for better understanding
- Validate generated regex patterns
- Generate regex usage examples in popular programming languages
These instructions will help you set up and run the project on your local machine for development and testing purposes.
Ensure you have golang (v1.20 or later) and postgresql database installed on your system:
- Clone the repository:
git clone https://github.com/sercanarga/fuckregex.git
- Go to the project directory:
cd fuckregex
- Modify
.env
file:
nano .env
- Create a postgresql database using the sql file under the
resources
directory.
cat resources/*.sql
- Install dependencies:
go mod tidy
- Run the API service:
go run cmd/api/main.go
- Run the web service:
go run main.go
- Open your web browser and visit
http://localhost:8181
(replace8181
with the port number specified in the configuration).
We welcome contributions from the community! You can open PRs and issues to help us improve the project.
- Implement request moderation for ChatGPT submissions
- Improve security measures
- Add the ability to interpret entered regex
- Introduce regex validation for generated patterns
- Generate regex usage examples in popular programming languages
- Enhance design and source code
This project is licensed under the MIT License.
Thanks go to these wonderful people
Ertuğrul TURAN |
Samet |
Murat |