Skip to content

A modern autotyper with a sleek UI to simulate human typing, effective in restricted environments where copy-paste is disabled.

Notifications You must be signed in to change notification settings

akashsrathaur/Pastrix

Repository files navigation

🚀 Pastrix

Paste anywhere, even where it’s blocked — Pastrix is a Python-based GUI tool that simulates keystrokes to bypass paste restrictions (perfect for ACE Editor and similar environments).


✨ Features

  • 🖱 Bypass paste restrictions on websites & editors.
  • Two Modes: Normal & ACE Editor.
  • Custom Shortcut Key (default: Right Ctrl).
  • 📝 Options:
    • Line break after each line.
    • Remove everything before pasting.
    • Remove auto-completion brackets.
  • 📦 Can be converted into a standalone .exe (no Python required).

📦 Requirements

Install dependencies:

pip install -r requirements.txt

Dependencies:


🚀 How to Run

  1. Clone the repo:
    git clone https://github.com/akashsrathaur/pastrix.git
    cd pastrix
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the GUI:
    python main.py
  4. Usage:
    • Select mode, shortcut key, and options.
    • Click START.
    • Copy text and press your shortcut key to paste anywhere.

📂 Directory Structure

Pastrix/
├── assets/                # Icons and images
│   ├── icon.ico
│   ├── icon.png
│   ├── icon.py
├── main.py                 # GUI entry point
├── Pastrix.py              # Core paste logic
├── requirements.txt        # Dependencies
├── build.sh                # Build script (PyInstaller)
├── README.md               # Documentation
├── .gitignore

🛠 Build to EXE

To create a standalone .exe:

pip install pyinstaller
pyinstaller --noconsole --onefile --icon=assets/icon.ico main.py
  • Your .exe will be in the dist folder.
  • You can run it without Python installed.

👤 Author

Akash Singh Rathaur

Instagram
LinkedIn
GitHub


💡 Feel free to fork, contribute, or open issues to improve Pastrix.

License

This project is open source and available under the MIT License.

Testing

To run tests, use the built-in test suite included with the project.

About

A modern autotyper with a sleek UI to simulate human typing, effective in restricted environments where copy-paste is disabled.

Topics

Resources

Contributing

Stars

Watchers

Forks