Skip to content

mantreshkhurana/cmdline-command-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CMDLine Command Generator

Generate command line commands for any operating system without any knowledge of the tool or framework. Simply select your OS, choose a category, pick an action, and get the exact command you need.

Features

  • Multi-OS Support: Generate commands for macOS, Linux, and Windows
  • 12 Command Categories:
    • File Operations
    • Directory Operations
    • System Information
    • Networking
    • Process Management
    • Package Management
    • Git Commands
    • Docker Commands
    • Permissions & Ownership
    • Search & Find
    • Compression & Archives
    • Text Processing
  • Auto OS Detection: Automatically detects your operating system
  • Copy to Clipboard: One-click copy for generated commands
  • Command Explanations: Learn what each command does
  • Responsive Design: Works on desktop and mobile devices
  • Quick Examples: Common command examples for quick reference

Live Demo

Visit the live website: Deployed Site

Local Development

  1. Clone the repository:

    git clone https://github.com/mantreshkhurana/cmdline-command-generator.git
  2. Open the website:

    cd cmdline-command-generator
    open index.html  # macOS
    # or
    xdg-open index.html  # Linux
    # or
    start index.html  # Windows

Deployment

This project is configured to automatically deploy to GitHub Pages when you push to the stable branch.

Manual Setup for GitHub Pages

  1. Go to your repository Settings
  2. Navigate to Pages section
  3. Under "Build and deployment", select "GitHub Actions" as the source
  4. Push changes to the stable branch
  5. The website will be available at https://<username>.github.io/cmdline-command-generator/

Project Structure

cmdline-command-generator/
├── assets/
│   ├── bg.jpeg             # Background image
│   ├── linux.png           # Linux icon
│   ├── macos.png           # macOS icon
│   └── windows.png         # Windows icon
├── scripts/
│   ├── app.js              # Application logic
│   └── commands.js         # Command database
├── styles/
│   └── style.css           # Styling with CSS variables
├── index.html              # Main HTML file
├── CHANGELOG.md
├── LICENSE
└── README.md

Contributing

Contributions are welcome! You can contribute to this project by forking it and making a pull request.

After forking:

git clone https://github.com/<your-username>/cmdline-command-generator.git
cd cmdline-command-generator
git checkout -b <your-branch-name>
# after adding your changes
git add .
git commit -m "your commit message"
git push origin <your-branch-name>

Author

About

This website helps you generate commands for any OSs command line without having any knowledge of the tool/framework.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project