Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rkstudio585/t-setup
An advanced Termux setup script to install essential tools, optimize the environment, test internet speed, display system info, configure ZSH, and log activities for a professional and efficient Termux experience.
https://github.com/rkstudio585/t-setup
termux termux-hacking-lab-setup termux-setup termux-tool termux-tools
Last synced: about 18 hours ago
JSON representation
An advanced Termux setup script to install essential tools, optimize the environment, test internet speed, display system info, configure ZSH, and log activities for a professional and efficient Termux experience.
- Host: GitHub
- URL: https://github.com/rkstudio585/t-setup
- Owner: rkstudio585
- License: gpl-3.0
- Created: 2024-11-20T02:02:06.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-20T02:31:00.000Z (2 months ago)
- Last Synced: 2024-11-20T03:18:23.336Z (2 months ago)
- Topics: termux, termux-hacking-lab-setup, termux-setup, termux-tool, termux-tools
- Language: Shell
- Homepage: https://rkstudio.com
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# T-Setup
# π **Termux Setup Script**Welcome to the **Termux Setup Script**, a professional and user-friendly Bash script designed to optimize your Termux environment! This script installs essential packages, configures your terminal, tests internet speed, displays system information, and much more!
---
## **π Features**
1. **π§ Comprehensive Package Installation**:
Installs over 50 essential packages, including:
- **Development Tools**: `git`, `python3`, `clang`, `cmake`
- **Networking Tools**: `nmap`, `tcpdump`, `sshpass`
- **Penetration Testing Tools**: `hydra`, `sqlmap`, `metasploit-framework`, `aircrack-ng`
- **Utilities**: `vim`, `nano`, `htop`, `neofetch`, `yt-dlp`, `bat`, `exa`2. **π‘ Internet Speed Test**:
Uses `speedtest-cli` to measure your current network speed and log the results.3. **π₯οΈ System Information**:
Displays detailed system info with `neofetch` or `screenfetch`.4. **π ZSH Shell Configuration**:
Configures ZSH as the default shell for a modern terminal experience.5. **ποΈ Storage Optimization**:
Cleans up unnecessary files to free up space.6. **π Logging**:
All actions and results are logged in a file (`termux_setup.log`) for troubleshooting and record-keeping.7. **π Interactive Menu**:
Select specific actions like updates only, package installation, or full setup for convenience.---
## **π File Structure**
- `setup.sh`: Main script file.
- `termux_setup.log`: Log file generated after script execution.---
## **π How It Works**
1. **Check & Install Packages**:
- The script checks if each package is already installed.
- Installs only missing packages, skipping those already present.2. **Update & Upgrade**:
- Ensures your Termux environment is up-to-date.3. **Run Advanced Features**:
- Tests internet speed with `speedtest-cli`.
- Displays system info using `neofetch` or `screenfetch`.
- Configures ZSH shell for improved functionality.4. **Optimize Storage**:
- Removes unnecessary files and caches to reclaim space.---
## **π₯ Installation**
1. Clone this repository:
```bash
git clone https://github.com/rkstudio585/T-Setup
cd T-Setup
```2. Make the script executable:
```bash
chmod +x tsetup.sh
```3. Run the script:
```bash
./tsetup.sh
```
or
```
bash tsetup.sh
```---
## **π οΈ Usage**
- **Full Setup**: Runs all features (package installation, updates, optimizations).
- **Update Only**: Updates and upgrades Termux packages.
- **Install Packages Only**: Installs the required packages without running other features.
- **Check Internet Speed**: Tests and displays current internet speed.
- **Show System Info**: Displays detailed system information.---
## **π‘οΈ Requirements**
- Termux environment.
- Internet connection for downloading packages.---
## **π Supported Packages**
Hereβs a brief overview of the packages installed:
| Category | Packages |
|------------------------|-------------------------------------------------------------------------|
| **Development Tools** | `git`, `vim`, `nano`, `clang`, `cmake`, `python3` |
| **Networking Tools** | `nmap`, `tcpdump`, `sshpass`, `dnsutils`, `speedtest-cli` |
| **Utilities** | `htop`, `neofetch`, `ranger`, `bat`, `exa`, `yt-dlp`, `zip`, `unzip` |
| **Pentesting Tools** | `hydra`, `sqlmap`, `john`, `aircrack-ng`, `metasploit-framework`, `nikto` |---
## **π¨ Screenshots**
### **Interactive Menu**
Easily select your desired action!
```bash
1) Full Setup
2) Update Only
3) Install Packages Only
4) Check Internet Speed
5) Show System Info
6) Exit
```### **Internet Speed Test**
Displays your network speed in real-time:
```
Testing Internet Speed...
Download: 50.23 Mbps
Upload: 12.45 Mbps
```---
## **π Logs**
All script actions are logged in `termux_setup.log` for easy review. Example log:
```
Script started at: YYYY-MM-DD HH:MM:SS
Updating and upgrading Termux...
Installed package: git
Installed package: vim
Package already installed: python3
Testing Internet Speed...
Download: 45 Mbps | Upload: 10 Mbps
```---
## **β FAQ**
### 1οΈβ£ What happens if a package is already installed?
The script skips reinstallation and informs you with a message like:
`Package xyz is already installed.`### 2οΈβ£ What if an installation fails?
The error is logged in `termux_setup.log`. You can review it to troubleshoot.### 3οΈβ£ Can I skip certain features?
Yes! Use the interactive menu to select only the features you need.---
## **π‘ Tips**
- Always run `pkg update` before executing the script for better results.
- Use `zsh` with plugins like `oh-my-zsh` for a modern terminal experience.
---