|
1 | | -# Script-compiler |
| 1 | +<h1 align="center">π SHC Script Compiler</h1> |
| 2 | + |
| 3 | +<p align="center"> |
| 4 | + <img src="https://img.shields.io/badge/Author-MSI--Sirajul-green?style=for-the-badge" /> |
| 5 | + <img src="https://img.shields.io/badge/Made%20for-Termux-blue?style=for-the-badge" /> |
| 6 | + <img src="https://img.shields.io/github/license/MSI-Sirajul/Script-compiler?style=for-the-badge" /> |
| 7 | +</p> |
| 8 | + |
| 9 | +<p align="center"> |
| 10 | + <b>Secure your bash scripts by compiling them into binaries using SHC β with a Bangla-friendly UI! |
| 11 | +</p> |
| 12 | + |
| 13 | +--- |
| 14 | + |
| 15 | +## πΈ Preview |
| 16 | + |
| 17 | +<p align="center"> |
| 18 | + <img src="https://raw.githubusercontent.com/MSI-Sirajul/Script-compiler/main/.github/demo.gif" alt="SHC Script Compiler" width="600"/> |
| 19 | +</p> |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## π Quick Install |
| 24 | +Just run this one-liner command in Termux or Linux: |
| 25 | + |
| 26 | +```bash |
| 27 | +curl -fsSL https://raw.githubusercontent.com/MSI-Sirajul/Script-compiler/main/install &&./install |
| 28 | +```` |
| 29 | + |
| 30 | +It will: |
| 31 | + |
| 32 | +* β
Install all required packages |
| 33 | +* β
Download `Compiler` |
| 34 | +* β
Make it globally executable with `chmod` |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +## βοΈ Features |
| 39 | + |
| 40 | +β
Compile `.sh` scripts to `.sh.x` binaries |
| 41 | +β
Adds `#!/data/data/com.termux/files/usr/bin/bash` if missing |
| 42 | +β
Removes temporary `.x.c` files after compile |
| 43 | +β
Beautiful colorful output |
| 44 | +β
Bangla-friendly terminal messages |
| 45 | +β
Works on **Termux** and other Linux environments |
| 46 | + |
| 47 | +--- |
| 48 | + |
| 49 | +## π File Structure |
| 50 | + |
| 51 | +```bash |
| 52 | +π Script-compiler/ |
| 53 | +βββ install.sh # Installs dependencies and setup |
| 54 | +βββ compile.sh # The main compiler logic |
| 55 | +βββ README.md # Project overview |
| 56 | +``` |
| 57 | + |
| 58 | +--- |
| 59 | + |
| 60 | +## π§ͺ How to Use |
| 61 | + |
| 62 | +1. Open Termux or Linux shell |
| 63 | +2. Run `compiler` |
| 64 | +3. Enter your `.sh` script file path when asked |
| 65 | +4. Done! Youβll get a compiled `.sh.x` binary in the same directory |
| 66 | + |
| 67 | +--- |
| 68 | + |
| 69 | +## π§ Why Use SHC? |
| 70 | + |
| 71 | +* π Protects your scriptβs source code |
| 72 | +* π¦ Makes it portable and harder to reverse engineer |
| 73 | +* π¨ Runs faster than plain-text bash scripts |
| 74 | + |
| 75 | +--- |
| 76 | + |
| 77 | +## π§Ύ Example |
| 78 | + |
| 79 | +```bash |
| 80 | +$ compiler |
| 81 | +
|
| 82 | +π Enter the script file path: myscript.sh |
| 83 | +β
Script compiled successfully! |
| 84 | +Output: myscript |
| 85 | +``` |
| 86 | + |
| 87 | +> Compiled file will be saved as `myscript` in the same folder. |
| 88 | + |
| 89 | +--- |
| 90 | + |
| 91 | +## π·οΈ Recommended GitHub Topics (for visibility) |
| 92 | + |
| 93 | +``` |
| 94 | +termux-tools, bash-compiler, script-obfuscator, shc, termux-automation, bash-protector, binary-converter, linux-scripting, shellscript, termux-scripts |
| 95 | +``` |
| 96 | +--- |
| 97 | + |
| 98 | +## π€ Author |
| 99 | + |
| 100 | +**MSI-Sirajul** |
| 101 | +π Computer Science Student | π§βπ» Ethical Hacker |
| 102 | +π GitHub: [github.com/MSI-Sirajul](https://github.com/MSI-Sirajul) |
| 103 | + |
| 104 | +--- |
| 105 | + |
| 106 | +## π License |
| 107 | + |
| 108 | +Licensed under the [MIT License](LICENSE) |
| 109 | + |
| 110 | +--- |
| 111 | + |
| 112 | +## β€οΈ Contribute |
| 113 | + |
| 114 | +Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. |
| 115 | + |
| 116 | +--- |
0 commit comments