Skip to content

1to5pc/py-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions Workflow Status

GitHub repo size GitHub License

Terminalx 🖥️

A modern, lightweight terminal emulator built in Python with a sleek interface and useful features.

🚀 Features

  • Interactive Python environment
  • Colorful command-line interface
  • Smooth animations and progress indicators
  • Cross-platform compatibility
  • User-friendly boot sequence
  • Simple and intuitive commands

📋 Requirements

  • Python 3.9+
  • Required dependencies:
    pip install -U colorama google-generativeai

🛠️ Installation

  1. Download the latest release from the releases tab
  2. Extract the ZIP file to your desired location
  3. Run terminalx.py in the /src/ directory:
    python terminalx.py
  4. Add Your Gemini API Key to Environment Variables
  • On Linux/MacOS
    export GEMINI_APIKEY="######YOURAPIKEY######"
  • On Windows (Command Prompt)
    set GEMINI_APIKEY=######YOURAPIKEY######
  • On Windows (Powershell)
    $env:GEMINI_APIKEY="######YOURAPIKEY######"

Note

To get a Gemini API Key go to Google AI Studio

💻 Available Commands

Command Description
py Enter Python environment
fwrite Write user input to a configurable file
ls List files in the working directory
help Show available commands
clear Clear the terminal screen
exit Exit Terminalx

Note

fwrite uses the Gemini API and due the nature of LLMs its output may be unreliable

🤝 Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests

📝 License

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

🙏 Acknowledgments

  • Built with Colorama for cross-platform colored output
  • Inspired by modern terminal emulators

Made with ❤️ by SenhasD