https://github.com/murapadev/autofire
A script that enables autofire for a key. Enable it, press the key, and leave the computer away!
https://github.com/murapadev/autofire
autofire keyboard-emulation python rapidfire
Last synced: 3 months ago
JSON representation
A script that enables autofire for a key. Enable it, press the key, and leave the computer away!
- Host: GitHub
- URL: https://github.com/murapadev/autofire
- Owner: murapadev
- License: mit
- Created: 2025-03-10T14:24:23.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-12T01:12:26.000Z (4 months ago)
- Last Synced: 2025-03-28T06:33:39.293Z (3 months ago)
- Topics: autofire, keyboard-emulation, python, rapidfire
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AutoFire
[](https://www.python.org/downloads/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/murapa96/RapidFire/issues)
[](https://github.com/murapa96/RapidFire/commits/main)
A utility for automatically pressing keys at regular intervals.
## Description
RapidFire is a simple auto key-press utility that simulates continuous key presses after you've pressed a key once. It's useful for scenarios where repeated key presses are needed, such as in games, form filling, or text repetition.
## Features
- Start auto-pressing by pressing any key once
- Continue pressing at 1-second intervals (configurable)
- Stop immediately with a key combination (Ctrl+Esc+W) (also configurable)
- Lightweight with minimal dependencies## Installation
```bash
pip install -r requirements.txt
```## Usage
Run the script:
```bash
python rapid_fire.py
```2. Press any key to begin auto-pressing that key every second
3. Press Ctrl+Esc+W to stop the auto-pressing functionality### Fallback CLI Mode
If the keyboard listener fails to initialize, the program will automatically switch to Command-Line Interface (CLI) mode. In this mode, you can use the following commands:
- `start ` - Start auto-pressing a key (e.g., 'start a' or 'start space')
- `stop` - Stop current auto-pressing
- `interval ` - Change the press interval (e.g., 'interval 0.5')
- `exit` or `quit` - Exit the program### Special Keys
For special keys, use these keywords:
- `space` - Space key
- `enter` - Enter key
- `tab` - Tab key
- `esc` - Escape key
- `ctrl` - Control key
- `alt` - Alt key
- `shift` - Shift key## Advanced Configuration
You can modify the `rapid_fire.py` script to change:
- Key press interval (default: 1 second)
- Stop key combination (default: Ctrl+Esc+W)## Requirements
- Python 3.6+
- keyboard library (automatically installed via requirements.txt)## Note
This utility requires root/administrator privileges to run on most systems due to the keyboard library needing global keyboard access.
## License
[MIT](LICENSE)
## Author
Pablo Ramos Muras ([@murapa96](https://github.com/murapa96))