ShareShortcuts

MTerminal

It's a Terminal for iOS :D

toxbytes
Fork “MTerminal”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so toxbytes gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
11K
Saved
1
Actions
121
Category
API
Version
4.0
Language
EN

It's a Terminal for iOS :D

What's New

Version 4.0

Added DEB commands witch allow for package instalation and allow adding them to the homescreen this is also the replacment to iJailShortcut

Version History
4.0 Oct 19, 2025

Added DEB commands witch allow for package instalation and allow adding them to the homescreen this is also the replacment to iJailShortcut

3.1 Oct 7, 2025

Wuick bug fix with i genius not working

3.0 Oct 7, 2025

Added iGenius main directory fix

2.0 Sep 19, 2025

Added Custom CMD's AND a package maneger witch allows you to use iJailShortcut

1.0 Sep 17, 2025

First release

What it does

121 actions
  1. Comment
    Commands: Restart Shut down Exit Browse:example.com Open:app-name About Package.Install RestartSpringBoard Install.iGenius_Pack DEB commands: Deb install:example-url.com (URL contents must be json file with the key being the package name and the val…
  2. Ask for Input
    …:Terminal$
  3. Set Variable
    Entered-Command
  4. If
  5. Shut Down
  6. If
  7. If
  8. Shut Down
  9. If
  10. If
  11. Stop This Shortcut
  12. If
  13. If
  14. Replace Text
  15. Open URLs
  16. If
  17. If
  18. Replace Text
  19. Open App
  20. If
  21. If
  22. Get Device Details
  23. Get Device Details
  24. Get Device Details
  25. Get Device Details
  26. Text
  27. Show Alert
  28. If
  29. Dictionary
  30. Get Dictionary from Input
  31. If
  32. Run Shortcut
  33. If
  34. If
  35. Run Shortcut
  36. If
  37. If
  38. Run Shortcut
  39. If
  40. If
  41. Run Shortcut
  42. If
  43. If
  44. Run Shortcut
  45. If
  46. If
  47. Run Shortcut
  48. If
  49. If
  50. Run Shortcut
  51. If
  52. If
  53. Get Contents of Folder
  54. If
  55. Choose from List
  56. Add to Home Screen
  57. Shut Down
  58. If
  59. Show Web Page
  60. Dictionary
  61. Save File
  62. If
  63. If
  64. Show Alert
    A L E R T
  65. Text
  66. Add to Home Screen
  67. Shut Down
  68. Text
  69. Add to Home Screen
  70. If
  71. If
  72. Text
  73. Show Alert
    W E L C O M E
  74. Show Notification
    Installing iGenius_Unlocker Info
  75. Text
  76. Save File
  77. Text
  78. Save File
  79. Text
  80. Save File
  81. Wait
  82. Show Notification
    iGenius_Installer Info has completed
  83. Wait
  84. Show Notification
    Checking Compatibility...
  85. Text
  86. Wait
  87. If
  88. Show Alert
    Install F A I L E D
  89. If
  90. Show Notification
    Your Device is compatible
  91. Wait
  92. Show Notification
    Building Files...
  93. File
  94. Create Folder
  95. File
  96. Create Folder
  97. File
  98. Create Folder
  99. Create Folder
  100. Wait
  101. Text
  102. Show Alert
  103. Open URLs
  104. If
  105. If
  106. Show Notification
    Fetching Package...
  107. Replace Text
  108. Get Contents of URL
    …
  109. Get Dictionary from Input
  110. Repeat with Each
  111. Get Dictionary Value
  112. Save File
  113. Show Notification
    Building …...
  114. If
  115. If
  116. Replace Text
  117. Get Contents of Folder
  118. Get File
  119. Show Web Page
  120. If
  121. Run Shortcut
    MTerminal

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#include 'actions/text'
#include 'actions/device'

/*
Commands:
Restart
Shut down
Exit
Browse:example.com
Open:app-name
About
Package.Install
RestartSpringBoard
Install.iGenius_Pack


DEB commands:
Deb install:example-url.com (URL contents must be json file with the key being the package name and the value is the URL of the package that will be added to springboard)
Deb open:installed.package.name
*/
const AskForInput = prompt("{Device['Name']}:Terminal$", false)
@EnteredCommand = AskForInput

if AskForInput == "Restart" {
	shutdown()
} else {
	if AskForInput == "Shut down" {
		reboot()
	} else {
		if AskForInput == "Exit" {
			stop()
		} else {
			if AskForInput contains "Browse:" {
				const UpdatedText = replaceText("Browse:", "", AskForInput)
				openURL(UpdatedText)
			} else {
				if AskForInput contains "Open:" {
					const UpdatedText1 = replaceText("Open:", "", AskForInput)
					openApp()
				} else {
					if AskForInput == "About" {
						getDeviceDetail("")
						getDeviceDetail("Device Hostname")
						getDeviceDetail("Device Model")
						getDeviceDetail("System Version")
						confirm()
					} else {
						const Dictionary = {
							"1": "",
							"2": "",
							"3": "",
							"4": "",
							"5": "",
							"6": "",
							"7": ""
						}
						const CustomCMDs = getDictionary(Dictionary)
						if AskForInput == CustomCMDs['1'] {
							run(CustomCMDs['1'], CustomCMDs)
						} else {
							if AskForInput == CustomCMDs['2'] {
								run(CustomCMDs['2'], CustomCMDs)
							} else {
								if AskForInput == CustomCMDs['3'] {
									run(CustomCMDs['3'], CustomCMDs)
								} else {
									if AskForInput == CustomCMDs['4'] {
										run(CustomCMDs['4'], nil)
									} else {
										if AskForInput == CustomCMDs['5'] {
											run(CustomCMDs['5'], CustomCMDs)
										} else {
											if AskForInput == CustomCMDs['6'] {
												run(CustomCMDs['6'], CustomCMDs)
											} else {
												if AskForInput == CustomCMDs['7'] {
													run(CustomCMDs['7'], CustomCMDs)
												} else {
													if @EnteredCommand == "Install.Package" {
														const FolderContents = getFolderContents()
														if FolderContents {
															const SelectedItem = chooseFromList(FolderContents, "Welcome to iJailShortcut this menu allows you to install packages")
															rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
																"AppIntentDescriptor": "",
																"shortcut": "SelectedItem"
															})
															shutdown()
														} else {
															showWebpage("https://ijailbreakshortcut.tiiny.site", true)
															const Dictionary1 = {
																"Cydia": "",
																"Shortcut Wide Web": "",
																"iLinux": "",
																"iSkin": ""
															}
															saveFilePrompt(Dictionary1['Cydia'])
														}
													} else {
														if @EnteredCommand == "RestartSpringboard" {
															alert("Do you want to continue? This will restart the springboard!", "A L E R T")
															const Text = "iGenius Unlocker"
															rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
																"AppIntentDescriptor": "",
																"shortcut": "Text"
															})
															reboot()
															const Text1 = "MTerminal"
															rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
																"AppIntentDescriptor": "",
																"shortcut": "Text1"
															})
														} else {
															if @EnteredCommand == "Install.iGenius_Pack" {
																alert(, "W E L C O M E")
																showNotification("Installing iGenius_Unlocker Info", "iGenius Installer")
																const AssetRecources = "Cydia"
																saveFile("/iGenius_Temp/Assets/Application.Main.Pack.Name", AssetRecources, true)
																const CustomTweakFolderSubpath = "/Cydia/Custom Tweaks"
																saveFile("/iGenius_Temp/Assets/Custom_Tweaks_Subpath", CustomTweakFolderSubpath, true)
																const TweaksInstalled_Folder_Subpath = "/Cydia/Tweaks.Installed"
																saveFile("/iGenius_Temp/Assets/Tweaks.Installed_Subpath", TweaksInstalled_Folder_Subpath, true)
																wait(20)
																showNotification("iGenius_Installer Info has completed", "iGenius_Installer")
																wait(0)
																showNotification("Checking Compatibility...", "iGenius_Installer")
																const SystemVersion = "{Device['System Version']}"
																wait(3)
																if SystemVersion contains "15" || SystemVersion contains "14" || SystemVersion contains "13" || SystemVersion contains "12" {
																	alert("Becuase:Your device is incompatible", "Install F A I L E D")
																} else {
																	showNotification("Your Device is compatible", "iGenius_Installer")
																}
																wait(0)
																showNotification("Building Files...", "iGenius_Installer")
																file()
																createFolder()
																file()
																createFolder()
																file()
																createFolder()
																createFolder("/Cydia/Info")
																wait(2)
																confirm()
																openURL("https://www.icloud.com/shortcuts/cbfe657e22d24d2bba9dbb7e4b2e815c")
															} else {
																if @EnteredCommand beginsWith "Deb install:" {
																	showNotification("Fetching Package...")
																	replaceText("Deb install:", "", @EnteredCommand)
																	const ContentsOfURL = downloadURL()
																	const FetchedPackage = getDictionary(ContentsOfURL)
																	for _ in FetchedPackage['Keys'] {
																		const PackageItem = getValue(FetchedPackage, @RepeatItem)
																		saveFile("/Debian/Packages/{@RepeatItem}", PackageItem, true)
																		showNotification("Building {@RepeatItem}...")
																	}
																} else {
																	if @EnteredCommand beginsWith "Deb open:" {
																		replaceText("Deb open:", "", @EnteredCommand)
																		const FolderContents1 = getFolderContents()
																		getFile(, FolderContents1)
																		showWebpage()
																	} else {
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}
runSelf(IfResult)
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by toxbytes

See All

You Might Also Like

See All
Advertisement