Skip to main content

A smart terminal interface that understands natural language commands in English and Hinglish

Project description

Zyntax: Natural Language Terminal Interface

Zyntax is an intelligent terminal interface that understands natural language commands. Skip memorizing complex command syntax across different operating systems - just tell Zyntax what you want to do in plain English or Hinglish.

Zyntax bridges the gap between human language and command-line interfaces, making terminal operations accessible to everyone while maintaining the power and efficiency developers love.

🔥 Cross-platform: Works consistently on Linux, macOS, and Windows
🧠 Smart parsing: Advanced NLP with spaCy for accurate intent recognition in English and Hinglish
Fast: Optimized for real-time command processing
🛠 Extensible: Built with modularity and extensibility in mind


✨ Features

  • Multilingual Support: Works with English and Hinglish commands
  • Natural Language Processing: Advanced command understanding using spaCy
  • Cross-Platform Compatibility: Unified interface across Linux, macOS, and Windows
  • Smart Command Mapping: Automatically translates to platform-specific commands
  • File Operations: Create, move, copy, delete files and directories naturally
  • Git Integration: Manage repositories with conversational commands
  • System Information: Check memory, disk usage, and system status
  • Error Handling: Clear feedback and graceful error recovery

🚀 Quick Start

Installation

pip install zyntax

Note: The required spaCy language model will be downloaded automatically on first run.

Usage

zyntax
🚀 Zyntax - Natural Language Terminal
💬 Type commands in natural language (English/Hinglish). Type 'exit' to quit.

Zyntax> create a new folder called my_project
Zyntax> change directory to my_project
Zyntax> make an empty file named README.md
Zyntax> folder banao docs
Zyntax> what's the git status?

📖 Command Examples

Natural Language Traditional Command
list all files ls -la / dir
show current directory pwd / cd
create folder called docs mkdir docs / md docs
folder banao my_project mkdir my_project
copy file.txt to backup/ cp file.txt backup/ / copy file.txt backup\
remove old_file.txt rm old_file.txt / del old_file.txt
show memory usage System info via psutil
git commit with message "fix bug" git commit -m "fix bug"

🛠 Supported Operations

  • File Management: Create, read, copy, move, delete files
  • Directory Navigation: Change directories, show current path
  • Git Operations: Status, init, commit with message parsing
  • System Information: Memory usage, user info, process management
  • Text Operations: Display file contents, basic text manipulation

💻 Platform Support

Platform Status Notes
Linux ✅ Full Support Native command mapping
macOS ✅ Full Support Uses Linux commands with macOS compatibility
Windows ✅ Full Support Automatic CMD/PowerShell translation

📋 Requirements

  • Python: 3.8 or higher
  • Operating System: Linux, macOS, or Windows
  • Dependencies: spaCy, rapidfuzz, psutil
  • Language Model: en_core_web_sm (downloaded automatically)

🔧 Installation Details

Using pip (Recommended)

pip install zyntax

The spaCy language model will be downloaded automatically on first run. If you prefer to download it manually beforehand:

python -m spacy download en_core_web_sm

From Source

git clone https://github.com/racxhit/Zyntax-NLP-Terminal.git
cd Zyntax-NLP-Terminal
pip install -e .

🎯 Use Cases

  • Beginners: Learn command-line operations without memorizing syntax
  • Cross-platform developers: Use consistent commands across different systems
  • Automation: Natural language scripting and task automation
  • Education: Teaching terminal concepts with intuitive language
  • Productivity: Faster command execution with conversational interface

🤝 Contributing

We welcome contributions! Please see our contributing guidelines for details.

Development Setup

git clone https://github.com/racxhit/Zyntax-NLP-Terminal.git
cd Zyntax-NLP-Terminal
pip install -e ".[dev]"
pytest tests/

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Built with spaCy for natural language processing
  • Uses rapidfuzz for fuzzy string matching
  • System operations powered by psutil

🔗 Links


Made with ❤️ for developers who believe terminals should speak human

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zyntax-1.0.0.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zyntax-1.0.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file zyntax-1.0.0.tar.gz.

File metadata

  • Download URL: zyntax-1.0.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for zyntax-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2f9e5f7798cca305cb9075d140b61216bfc5cefd020e9fe330e76fbacbc13cc1
MD5 f3fd61618769f809824147de584f2e02
BLAKE2b-256 3753d156d9184a5d55eeb34f31ed451def413832fcf9f8c982f4491adea9cd4e

See more details on using hashes here.

File details

Details for the file zyntax-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: zyntax-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for zyntax-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99722aa031dfb18a083bec9ad56306d51bf2016cafc02d1499341f5c7043211c
MD5 45feb397fb3ce836a7cf55af8b7fff9b
BLAKE2b-256 4143c553caf58f35d0686f1854f401aa073005f08af3a61f1de113c54e7e2e0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page