|
| 1 | +# MassiveMacro |
| 2 | + |
| 3 | +Massive text for Discord with the power of [massive.py](https://github.com/TheRandomLabs/massive.py). |
| 4 | + |
| 5 | +## Building |
| 6 | + |
| 7 | +Python 3.7 and Pipenv are required to run and build MassiveMacro. |
| 8 | + |
| 9 | +Compiled executables are located in the `bin` directory. |
| 10 | + |
| 11 | +### Windows |
| 12 | + |
| 13 | +`build.bat` compiles an executable for Windows, and for Linux if WSL |
| 14 | +(Windows Subsystem for Linux) is installed, called `MassiveMacro.exe` and `massivemacro_linux` |
| 15 | +respectively. |
| 16 | + |
| 17 | +`linux\build.bat` can be called from the root MassiveMacro directory to only compile an |
| 18 | +executable for Windows. |
| 19 | + |
| 20 | +`windows\build.bat` can be called from the root MassiveMacro directory to only compile an |
| 21 | +executable for Windows. |
| 22 | + |
| 23 | +`windows\pull_and_build.bat` pulls the latest version of MassiveMacro from GitHub before calling |
| 24 | +`windows\build.bat`. |
| 25 | + |
| 26 | +If `signtool` from the |
| 27 | +[Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk) |
| 28 | +is installed, `windows\sign_private.bat` is automatically called to sign the executable. |
| 29 | +`windows\sign_private.bat` can be written like so: |
| 30 | + |
| 31 | +```batch |
| 32 | +@echo off |
| 33 | +call windows\sign.bat %PFX_FILE% %PASSWORD% |
| 34 | +``` |
| 35 | + |
| 36 | +### Linux |
| 37 | + |
| 38 | +`sh linux/build.sh` can be run from the root MassiveMacro directory to compile a Linux executable. |
| 39 | +The compiled executable is called `massivemacro_linux`. |
| 40 | + |
| 41 | +`sh linux/pull_and_build.sh` can be run from the root MassiveMacro directory to pull the latest |
| 42 | +version of MassiveMacro from GitHub before running `linux/build.sh`. |
| 43 | + |
| 44 | +## Mac OS X |
| 45 | + |
| 46 | +`sh macos/build.sh` can be run from the root MassiveMacro directory to compile a Mac OS X |
| 47 | +executable. The script generates an executable called `massivemacro_macos`, a `.app` called |
| 48 | +`MassiveMacro.app` and an archive that contains `MassiveMacro.app` called `MassiveMacro.zip`. |
| 49 | + |
| 50 | +`sh macos/pull_and_build.sh` can be run from the root MassiveMacro directory to pull the latest |
| 51 | +version of MassiveMacro from GitHub before running `macos/build.sh`. |
| 52 | + |
| 53 | +## Usage |
| 54 | + |
| 55 | +MassiveMacro is primarily built for Discord, but it works in other applications as well to varying |
| 56 | +degrees. Vanessa text works flawlessly on other instant messaging platforms such as Skype and Steam. |
| 57 | + |
| 58 | +Precompiled binaries are available for Windows, Linux and Mac OS X. |
| 59 | + |
| 60 | +### Key bindings |
| 61 | + |
| 62 | + Ctrl+Enter: Plain massive (primarily regional indicators) |
| 63 | + Ctrl+Shift+Enter: Alternate massive (regional indicators mixed with alternate emojis) |
| 64 | + Alt+Shift+Enter: Vanessa (aLtErNaTe CaPs) |
| 65 | + Ctrl+Space+Enter: Massive Vanessa (combination of lowercase text and alternate massive) |
| 66 | + |
| 67 | +Alternate Vanessa text will cause random words to be misspelled. |
| 68 | + |
| 69 | +Multiple messages can be sent at once on Discord by typing multiple lines in the same message by |
| 70 | +pressing `Shift+Enter` then using one of the above key bindings. |
| 71 | + |
| 72 | +### Linux |
| 73 | + |
| 74 | +On Linux, MassiveMacro requires `xsel` to be |
| 75 | +installed: |
| 76 | + |
| 77 | + $ sudo apt install xsel |
0 commit comments