DEV Community

Cover image for i built runtexts - a cli tool for automating message sending
Ovi ren
Ovi ren

Posted on

i built runtexts - a cli tool for automating message sending

so i made this thing called runtexts. it's a python cli tool that automates typing and sending messages. basically you tell it what to type, how many times, and how fast, and it does it for you.

similar project with nodejs ssspeedx

ssspeedx preview

https://github.com/iamovi/ssspeedx

what it does

  • sends messages automatically with custom delays
  • simulates typing (fast bot mode or slow human mode)
  • has both cli and gui interfaces
  • can run infinitely or for a set number of times

why i built it

honestly i got tired of manually testing chat interfaces during development. needed something quick to spam test messages without wearing out my keyboard. turned it into a proper package because why not.

how to use it

install from pip:

pip install runtexts
Enter fullscreen mode Exit fullscreen mode

or install manually from github:

git clone https://github.com/iamovi/project_runtexts.git
cd project_runtexts
pip install .
Enter fullscreen mode Exit fullscreen mode

run it:

runtexts
Enter fullscreen mode Exit fullscreen mode

or use the gui:

runtexts gui
Enter fullscreen mode Exit fullscreen mode

tech stack

  • python
  • pyautogui for keyboard automation
  • tkinter for the gui
  • packaged for pypi

legitimate use cases

before someone asks - yes this can be misused. don't do that. use it for:

  • testing chat applications you're building
  • automated testing scenarios
  • learning automation basics
  • any situation where you have permission to send bulk messages

important

don't use this for spam, harassment, or anything shady. only use it on platforms and applications where you have explicit permission. violating terms of service or annoying people isn't cool. this tool is for legitimate automation and testing purposes only.

what i learned

dealing with cross-platform keyboard automation has its quirks. building a simple gui that doesn't look terrible takes more effort than expected. pyautogui behavior varies slightly across different operating systems.

the code is on github if you want to check it out or contribute: https://github.com/iamovi/project_runtexts

that's it. hope someone finds it useful.

Top comments (0)