https://github.com/zizwar/whatsapp-terminal-control
WhatsApp Terminal Control
https://github.com/zizwar/whatsapp-terminal-control
terminal terminal-bot terminal-server whatsapp whatsapp-api-node whatsapp-bot
Last synced: 1 day ago
JSON representation
WhatsApp Terminal Control
- Host: GitHub
- URL: https://github.com/zizwar/whatsapp-terminal-control
- Owner: Zizwar
- License: mit
- Created: 2024-07-11T00:53:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T21:30:26.000Z (11 months ago)
- Last Synced: 2025-03-13T14:44:43.299Z (3 months ago)
- Topics: terminal, terminal-bot, terminal-server, whatsapp, whatsapp-api-node, whatsapp-bot
- Language: JavaScript
- Homepage: https://github.com/Zizwar/WhatsApp-Terminal-Control
- Size: 1.78 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WhatsApp Terminal Control
This Node.js application allows you to control your computer's terminal remotely via WhatsApp messages. It's particularly useful when you don't have direct access to your machine but need to execute commands, retrieve information, or manage files.
## Features
- Execute terminal commands remotely
- Get system information
- List files in a directory
- Read file contents
- Perform mathematical operations
- Upload files to the server
- Download files from the server## Prerequisites
- Node.js
- npm## Installation
1. Clone this repository
2. Run `npm install` to install dependencies
3. Create a `.env` file and add your WhatsApp credentials (if required by the Baileys library)## Usage
Run the script with:
```
node whatsapp-terminal-control.js
```Scan the QR code with your WhatsApp to log in.
### Commands
- Terminal commands: Start with `$` (e.g., `$ ls -l`)
- Custom commands:
- `/sysinfo`: Get system information
- `/listfiles [path]`: List files in a directory
- `/readfile [filepath]`: Read file contents
- `/upload`: Prompt to upload a file
- `/download [filepath]`: Download a file from the server
- Math operations: Start with `£` (e.g., `£ 2 + 2`)### File Management
- To upload a file, send it directly through WhatsApp or use the `/upload` command and then send the file.
- To download a file, use `/download [filepath]` where `[filepath]` is the path to the file on the server.## Security Warning
This tool provides remote access to your system and file management capabilities. Use it responsibly and ensure proper security measures are in place.
## Contributing
Feel free to fork this project and submit pull requests for improvements or additional features.
## License
[MIT License](LICENSE)
https://github.com/Zizwar/WhatsApp-Terminal-Control


