https://github.com/developersdigest/gorillajs
A Node.js wrapper around the Gorilla CLI
https://github.com/developersdigest/gorillajs
Last synced: 2 months ago
JSON representation
A Node.js wrapper around the Gorilla CLI
- Host: GitHub
- URL: https://github.com/developersdigest/gorillajs
- Owner: developersdigest
- Created: 2023-08-03T16:30:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T17:22:17.000Z (over 2 years ago)
- Last Synced: 2025-01-20T11:43:42.507Z (about 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gorilla JS
Gorilla JS is a Node.js application inspired by [Gorilla](https://github.com/ShishirPatil/gorilla). It allows users to send requests to a specified server and receive a list of commands that can be executed on the local machine.
## Requirements
- Node.js
## Installation
```
git clone https://github.com/developersdigest/GorillaJS
cd GorillaJS
```
## Usage
```
node index.js 'what is the command to create an script.js style.css and index.html?'
```
## How It Works
The script generates a unique user ID, takes user input from the command line, and sends a request to the server with the input and user ID. The server responds with a list of commands. The user selects a command by number, which is executed on their machine, and the output is printed to the console.
## Security Considerations
Please note that this application executes commands received from a remote server. Only use this with trusted sources, as it could potentially execute malicious commands on your system.
## License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
## Contributing
Contributions are welcome. Please submit a pull request or create an issue to discuss the changes you propose.