Skip to main content

IntelliText 🚀

PyPI version Python Versions License: MIT

IntelliText is a powerful, customizable keyboard macro and text expansion tool that helps you automate repetitive typing tasks and execute custom actions. It's designed to boost your productivity by allowing you to create shortcuts for frequently used text, commands, and actions.

✨ Features

📝 Word Macros

  • Quick text expansion using the ! prefix
  • Support for multiple text variants with random selection
  • Perfect for email templates, code snippets, and common phrases

⚡ Action Macros

  • Execute commands and scripts using the # prefix
  • Built-in clipboard integration
  • Run system commands directly from your keyboard

🔌 Extension System

  • Create custom extensions to extend functionality
  • Simple plugin architecture
  • Support for various output types

🎲 Shuffle System

  • Randomly select from multiple text variants
  • Perfect for adding variety to automated responses
  • Configurable per macro

🚀 Quick Start

Installation

pip install intellitext

Example

Example GIF

💻 Platform Compatibility

Platform Support
Windows ✅
macOS ❌
Linux ❌

⚠️ Currently IntelliText only works on windows, macOS and Linux are not yet supported, although they will be added in the near future

IntelliText has been tested on Windows 11 and Python 3.12 and 3.13.


Basic Usage

  1. IntelliText will create a it_macros.json file in ~/.intellitext/ you can edit it to your liking:
{
    "macros": {
        "word": {
            "!hello": "Hello World!",
            "!greet": "Hi there,How are you?,Hello friend!",
            "!sig": "Best regards,\nYour Name"
        },
        "action": {
            "#cb": "",
            "#rnp": "notepad.exe"
        }
    },
    "macro_settings": {
        "shuffle": {
            "enabled": true,
            "shuffle_macros": ["!greet"]
        },
        "extension_setting": {
            "enabled": true,
            "extensions": []
        }
    }
}
  1. Run from Terminal:
intellitext.py
  1. Run IntelliText in Python:
from intellitext import IntelliText

intellitext = IntelliText()
intellitext.run()

📖 Usage Guide

Word Macros

  • Type ! followed by your macro name
  • Example: !hello expands to "Hello, World!"
  • For multiple variants, separate with commas in the config
  • Enable shuffle in settings to randomize between variants

Action Macros

  • #cb - Paste clipboard content
  • #r[program] - Run a program #rvsc (Run vscode)
  • #ite - Exit IntelliText
  • Custom actions can be added in the config

🔎 Extensions

An Extension will only run when the macro starts with @ and ends with $

{
    "extension_setting": {
        "enabled": true,
        "extensions": [
            {
                "@date": "date_formatter.py",
                "type": "print",
                "cmd": "python",
                "args": ["--format", "yyyy-MM-dd"]
            }
        ]
    }
}

For example: @date$

This will run the date extension with the predefined arguments in the it_macros.json file.

The argument priority is with the inline args passed to the extension when typing the macro.

This means that this macro: @date --format yy-mm-dd$ will run with the arguments passed to the macro, and not the ones defined in the it_macros.json

In this case, @date is what triggers the extension. The value of @date is the script or program that will run. IntelliText will try to look for the script/program name in the ~/.intellitext/extensions folder, if it's not found there, it will try to use at as in absolute path. The extension will not run if the file is not found.


⚙️ Configuration

Configuration File Structure

{
    "macros": {
        "word": {
            "!macro_name": "replacement_text"
        },
        "action": {
            "#action_name": "command_or_program"
        }
    },
    "macro_settings": {
        "shuffle": {
            "enabled": boolean,
            "shuffle_macros": ["macro_names"]
        },
        "extension_setting": {
            "enabled": boolean,
            "extensions": []
        }
    }
}

🤝 Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

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

🙏 Acknowledgments

📞 Support

  • Create an issue for bug reports or feature requests
  • Check existing issues before creating new ones
  • Email support: cloner.bl12@gmail.com

⭐ Star us on GitHub — it helps!

Metadata

Release files for intellitext 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intellitext 0.3.2
File Size Uploaded Provenance Actions
intellitext-0.3.2.tar.gz 7.5 kB Without provenance Details for intellitext-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for intellitext 0.3.2
File Interpreter ABI Platform Actions
intellitext-0.3.2-py3-none-any.whl Python 3 none any Details for intellitext-0.3.2-py3-none-any.whl

Total release size: 15.4 kB

Release files / intellitext-0.3.2.tar.gz

Download URL intellitext-0.3.2.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
03544eaa40b27ffd5f23590259a50eefbacbf01d8dc62dc634eeb85c74580fee
BLAKE2b-256 checksum
How to use checksums
c6a36c947481602c2d9fb19899ddb668b56e0ddce6fb44ab1a9997c469d1f1b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / intellitext-0.3.2-py3-none-any.whl

Download URL intellitext-0.3.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e132bb1c380ea4f5bd3ce9e95e7801a6e5f9ed0cc5a9287966d1704ba3f293ff
BLAKE2b-256 checksum
How to use checksums
dca405ac7b72ce4e8eef8443acd8bac82e980360070110454c9475c733e7d09c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for intellitext 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page