nedrysoft / regex101

A cross platform (macOS, Linux & Windows) unofficial "offline" version of the regex101.com website. Uses the users own database (any qt supported backend - sqlite, mysql, postgresql etc) to store expressions.
200 stars 36 forks source link
appimage dmg linux macos regex regex101 regex101-alternative regex101-offline regexp regular-expressions windows

Regular Expressions 101 (Desktop Edition)

Regular Expressions 101

About

This project is a desktop version of the regex101.com site. It embeds a copy of the site inside the application so that no internet connection is required to work on regular expressions. The motivation behind this was that when developing regular expressions for use in products, I often find myself opening the website again and again, resulting in many tabs in various states swamped in the sea of web pages.

By embedding the website in an application, regex101 can be accessed immediately from your task bar, no more searching through tabs to find the right one!

In addition, the software redirects the regex101.com online database to a local SQLite database, so you can store your own personal library of regular expressions inside the application.

This is not an official regex101 product, but the author of the site gave his permission for me to release this application, so please support his hard work by making a donation if you find this application useful.

Installation

Binary distributions can be found under the assets on the github releases page.

Requirements (Development)

Development

The application attempts to use as much of the original website files without modification of the copies that are stored in the binary. The software does however make changes to the files as needed when it serves the files to the renderer, if you update the website files you will need to make sure that you have grabbed all the required files and will have to fix any changes that break compatability with this application.

General Information

The following configurations are used for development.

Deployment

The deploy.py python script is used to create runnable/installable binaries for the given operating system.

The script requires python 3.6 or later, curl and the colorama python module to enhance the console output, the colorama module can be installed using pip:

pip3 install colorama

The script provides the following parameters:

The script will use the curl binary to obtain any tools required for the deployment process.

The resulting asset will be placed in the deployment folder.

Windows

The installer and the application binaries are signed with my development certificate, the end user can validate the authenticity of the application with this certificate.

Linux

A hash is provided on the AppImage, the end user can use this to validate the authenticity of the application.

macOS

The application and the DMG are both signed with my Apple Developer certificate.

Credits

The main credit goes to the author of the regex101.com website, it is an amazing tool that is the best I've used for working on regular expressions, please consider supporting the author by donating to him.

The following third party libraries/assets/tools/services have been used in the development of Regular Expressions 101 Desktop Edition.

In addition, the following commercially licensed tools/services have also been used.

License

This project is open source and is released under the GPLv3 License

Distributed as-is; no warranty is given.