murayuki / monokai_pro_keygen

Monokai Pro theme license key generator for Visual Studio Code and Sublime Text

Home Page:https://maximilionus.github.io/monokai_pro_keygen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monokai Pro - License Generator

About

Monokai Pro theme license key generation tool for Visual Studio Code and Sublime Text editors

Warning
This project is intended only for educational and testing purposes.

I'm not going to tell you stories about how bad piracy is or how it violates licenses and the law. Instead, I just want to ask you a favor. It's one of the best editor themes we have that is still maintained by the author and fully compatible with all new features of VS Code, and if you want it to stay like this, please consider supporting its original author (Wimer Hazenberg) by buying the license. ❤️ Thank you!

Note
Web version of this serial key generator now deployed on Github Pages, available on this link

Source code is also available on web branch of this repository

Usage

Binary

  1. Download the latest release binary for your platform
  2. Start the monokai_pro_keygen executable
  3. Follow the instructions to generate the key
  4. Copy the key and use it in your editor

Execute from web

  • Since this tool does not require third-party packages you can easily run it from source code. Just ensure that you have python 3 interpreter installed with version higher than 3.6 and move on to the next step

  • Executing the command below in your command shell will launch a local python interpreter, load the main script (./monokai_pro_keygen/main.py) from this repository and execute it

    python -c "import urllib.request;exec(urllib.request.urlopen('https://github.com/maximilionus/monokai_pro_keygen/raw/master/monokai_pro_keygen/main.py').read())"

CLI

About

Since version 1.1.0, this tool now supports cli (command line interface) interactions, meaning that all required data for serial key generation (email, editor) can be provided with just one command.

This feature is available for all variants of this tool (python version) - built executable, web execution, source code run.

Arguments

argument description
--email, -E valid email address, defaults to 'maximilionuss@gmail.com'
--editor, -M select editor ('code' - VS Code, 'sublime' - Sublime Text)
--simple (CLI mode only) print generated serial key without any decorations
--version show program's version number and exit

Example

$ ./monokai_pro_keygen -M code --simple
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Build

  1. Ensure that installed python 3 version is 3.11 or higher
  2. Clone this repository
  3. Install the pipenv package
    $ python -m pip install pipenv
  4. Install the project dependencies with pipenv
    $ pipenv install
  5. Run the build script
    $ pipenv run python build.py

    You can also run the command below to get all available commands in build script

    $ pipenv run python build.py -h  # -h || --help
  6. After a successful build, the executable file can be found in the ./dist/exec directory

About

Monokai Pro theme license key generator for Visual Studio Code and Sublime Text

https://maximilionus.github.io/monokai_pro_keygen/

License:The Unlicense


Languages

Language:Python 100.0%