Skip to content

About

A modern, minimalist, open-source auto-clicker built with Python.

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

ClickForge Logo

ClickForge

A modern, minimalist, ridiculously fast cross-platform auto-clicker built with Python.

License: MIT Platform: Windows | macOS | Linux Python 3.8+


ClickForge is an open-source auto-clicker designed to be powerful enough for power users, but simple enough for anyone to use. Built as a vibe-coded learning resource, it solves common bottlenecks in Python desktop apps to achieve 200+ Clicks Per Second (CPS) while maintaining a clean, modern GUI.

Update (v2.0): ClickForge is now fully supported on Windows, macOS, and Linux! Every release is automatically built in the cloud via GitHub Actions.

✨ Features

  • 🚀 Extreme Performance: Bypasses standard library limitations on Windows using direct ctypes (SendInput) and microsecond spin-waiting to achieve true 1ms (and sub-millisecond) delays.
  • 🎨 Premium UI: A stunning, responsive Bento Grid interface powered by CustomTkinter, featuring Google's Lora font and smooth Dark/Light modes.
  • 👨 Humanize Mode (Anti-Cheat Evasion): Optionally add a ±15% randomized jitter to your click intervals to perfectly simulate human imperfection.
  • ⌨️ Smart Hotkeys: Global start/stop hotkey (default F6) with easy, bug-free rebinding.
  • 🎯 Advanced Positioning: Click at your active cursor, or pick a fixed coordinate on your screen.
  • ⏱️ Precision Intervals: Supports floating-point intervals (e.g., 0.5 ms) for when you need to push the absolute limits.
  • 🔄 Modes & Types: Left, Right, or Middle mouse buttons. Single or Double clicks. Continuous mode or Fixed target counts.
  • 💾 Persistent Settings: Remembers all your configurations between launches.

🚀 Download & Run

  1. Go to the Releases tab on GitHub.
  2. Download the version for your operating system:
    • Windows: Download ClickForge-Windows.zip, extract, and run ClickForge.exe
    • macOS: Download ClickForge-macOS.zip, extract, and run ClickForge.app
    • Linux: Download ClickForge-Linux.zip, extract, and run the binary
  3. No installation required!

🛠️ For Developers (Run from Source)

ClickForge is built to be a great learning resource for Python GUI and automation development.

Prerequisites

  • Python 3.8 or higher
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/efeartn/ClickForge.git
    cd ClickForge
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the app:

    python main.py

Building the Executable

To package the application into a standalone .exe using PyInstaller:

python -m PyInstaller clickforge.spec --clean

The compiled executable will be located in the dist/ folder.

🧠 How it achieves 200+ CPS (The Secret Sauce)

Most Python auto-clickers cap out at around 60 CPS on Windows. This happens for two reasons:

  1. The pynput bottleneck: Creating Python objects and traversing the ctypes wrapper for every single click is too slow.
  2. The Windows Timer Resolution: Standard time.sleep() and threading.Event.wait() on Windows have a base resolution of ~15.6ms. If you ask Python to sleep for 1ms, it actually sleeps for 15.6ms.

ClickForge solves this by:

  • Using a custom _precise_wait function that utilizes time.perf_counter() for a high-precision CPU spin-wait on micro-intervals, bypassing the OS tick limitation.
  • Calling the Windows SendInput API directly via ctypes using pre-allocated C-structures, stripping out all wrapper overhead.

🤝 Contributing

Contributions are welcome! Whether it's porting the high-speed SendInput logic to macOS (CGEvent), adding new features, or fixing bugs:

  1. Fork the Project
  2. Create your 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

Distributed under the MIT License. See LICENSE for more information.

Note: Windows may show a SmartScreen warning because this is an indie app. Click 'More info' -> 'Run anyway' to bypass it.

About

A modern, minimalist, open-source auto-clicker built with Python.

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages