📦 OpenTTY Package Manager
Lima edited this page 2025-10-16 22:09:14 -03:00
This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

🎯 Overview

PackJ is the official package manager for OpenTTY, providing a streamlined way to installsoftware packages directly within the OpenTTY environment. It features a repository system with various J2ME applications and utilities.

🔧 Core Components

📋 Package Configuration ([ Config ] section)

Basic Information:

  • Name: PackJ
  • Version: 1.4 (on 1.16.x LTS) and 1.5 (on 1.17)
  • Description: OpenTTY Package Manager

Dependencies:

  • Includes /lib/settings settings manager

Configuration:

  • Automatically sets repository to opentty.xyz:31522 if not configured
  • Provides commands: yang and setrepo

🖥️ User Interface

Repository Browser:

  • Interactive list interface with title "Repository"
  • One-click installation via "Install" button
  • Organized package catalog with 20+ available applications

🎮 Available Commands

🚀 Primary Commands

Command Description
yang Opens package repository browser
setrepo Configure OpenTTY server IP address

🔧 Shell Commands

Command Description
yang chkrun Check for running instances
yang info Display version information

📦 Available Packages

🤖 Android ME

  • Command: Installs /bin/droid and /bin/forge
  • Description: Android API for debugging on J2ME Loader

🛡️ Armitage

  • Command: Installs /bin/armitage
  • Description: Network security and penetration testing tools

🧹 Auto Clean

  • Command: Installs /lib/autogc
  • Description: Automatic garbage collection utility

↩️ Back Previous

  • Command: Installs /lib/bprevious
  • Description: Easy go back to the previous screen with command back

📦 BoxME

  • Command: Installs /bin/boxme
  • Description: Mini virtual machines on J2ME environment

🎮 CMatrix

  • Command: Installs /bin/cmatrix
  • Description: Terminal matrix-style animation

🌐 Discord (MIDlet)

  • Command: Downloads J2ME Discord client
  • Author: gtrxac
  • Warning: Third-party application

🔨 Forge

  • Command: Installs /bin/forge
  • Description: Development and build tools

💻 Github (MIDlet)

  • Command: Downloads GitHub client for J2ME
  • Author: shinovon
  • Warning: Third-party application

🔍 GoBuster (Word list)

  • Command: Installs /home/gobuster
  • Description: Default word-list for OpenTTY gobuster

🐚 ImmersiveShell

  • Command: Installs /lib/sh2me
  • Description: Enhanced shell experience

🐧 JBuntu

  • Command: Installs /bin/jbuntu
  • Description: Ubuntu-like environment emulation

📊 JBenchmark

  • Command: Installs /bin/jdb
  • Description: Performance testing and debugging tools

📱 J2ME Loader

  • Command: Installs /bin/modme
  • Description: Alt Interface for J2ME Loader

🎨 MobiX UI

  • Command: Installs /bin/mxos
  • Description: Mobile-optimized user interface

📋 PasteBin

  • Command: Installs /bin/pastebin
  • Description: Code and text sharing utility

✏️ StringEditor

  • Command: Installs /bin/sed
  • Description: Edit files with commands (Required to use sed in OpenTTY)

🛠️ SmartME SDK

  • Command: Installs /bin/sdk and /bin/forge
  • Description: Development kit for J2ME applications (Lua focused)

🔄 Updater

  • Command: Installs /bin/sync
  • Description: System and package update manager

🔀 ViaVersion

  • Command: Installs /lib/viaversion
  • Description: Protocol version compatibility layer (Incompatibilities between <1.16.x and 1.17>)

🌐 WebProxy

  • Command: Installs /bin/shprxy
  • Description: WebProxy client

⚙️ Installation Process

🔄 Download Mechanism

  • Uses OpenTTY's query command over socket connection
  • Downloads packages from socket://$REPO get/lib/$RESOURCE
  • Stores packages in appropriate directories (/bin/ and /lib/)

🔒 Security Features

  • Root Privileges: Installation requires sudo permissions
  • Instance Locking: Prevents multiple simultaneous installations
  • Third-party Warnings: Alerts users about external applications

🔄 Update System

  • Self-updating capability via yang update
  • Maintains repository index separately
  • Preserves user configuration during updates

💡 Usage Examples

🔍 Browse Packages

yang

🔧 Configure Repository

setrepo

Check Version

yang info

🎯 Key Features

  • One-click Installation: Simple interface for package management
  • Dependency Handling: Automatic inclusion of required components
  • Repository Management: Configurable package sources
  • Update System: Self-updating package manager
  • Security: Privilege separation and instance locking

PackJ provides a comprehensive package management solution tailored for the OpenTTY environment, making software installation and management accessible even on resource-constrained J2ME devices.