{"id":25019668,"url":"https://github.com/djeada/type-simulator","last_synced_at":"2025-03-30T10:11:44.447Z","repository":{"id":225540247,"uuid":"766243747","full_name":"djeada/Type-Simulator","owner":"djeada","description":"TypeSimulator is a Python tool designed to simulate human-like typing in text editors. It's useful for demonstrations, tutorials, and testing purposes. The tool uses `pyautogui` to control keyboard inputs, allowing it to type text into virtually any text editor or text input field.","archived":false,"fork":false,"pushed_at":"2024-03-10T21:24:03.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T11:51:52.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/djeada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-02T18:17:00.000Z","updated_at":"2024-03-02T18:19:25.000Z","dependencies_parsed_at":"2025-02-05T11:51:31.312Z","dependency_job_id":"a73e4b5d-d9b8-4267-aec5-8c08504d614c","html_url":"https://github.com/djeada/Type-Simulator","commit_stats":null,"previous_names":["djeada/type-simulator"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FType-Simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FType-Simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FType-Simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FType-Simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djeada","download_url":"https://codeload.github.com/djeada/Type-Simulator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301997,"owners_count":20755514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-05T11:51:23.059Z","updated_at":"2025-03-30T10:11:44.427Z","avatar_url":"https://github.com/djeada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Type-Simulator\nTypeSimulator is a Python tool designed to simulate human-like typing in text editors. It's useful for demonstrations, tutorials, and testing purposes. The tool uses `pyautogui` to control keyboard inputs, allowing it to type text into virtually any text editor or text input field.\n\n## Features\n\n- Simulate human-like typing with configurable speed and variance.\n- Open a text editor or application before typing via a script.\n- Type text provided directly via command line or from a text file.\n- Handle special keys and sequences for more complex typing simulations.\n\n## Usage\n\nTypeSimulator can be run from the command line. There are several options available:\n\n- `-e/--editor_script`: Path to a script to open the text editor or application.\n- `-f/--file`: Path to a text file whose contents will be typed.\n- `-s/--speed`: Typing speed in seconds per character. Default is 0.15 seconds.\n- `-v/--variance`: Variance in typing speed to simulate natural typing. Default is 0.05 seconds.\n- `text`: Direct text input to type.\n\n### Example\n\nTo type the contents of a file with a custom typing speed:\n\n```\npython type_simulator.py -f path/to/file.txt -s 0.1 -v 0.02\n```\n\n![Peek 2024-03-02 20-55](https://github.com/djeada/Type-Simulator/assets/37275728/7d33a6a9-7502-4889-b19d-41aca85837a8)\n\nTo type a direct text input:\n\n```\npython type_simulator.py 'echo \"Hello, this is TypeSimulator!\" \u003e temp.txt'\n```\n\n![Peek 2024-03-02 20-53](https://github.com/djeada/Type-Simulator/assets/37275728/e0f4ea67-e8d7-498a-82f3-439867457f6b)\n\n## Customizing TypeSimulator\n\nYou can extend the functionality of TypeSimulator by editing the script. For example, you can add more special keys and sequences to the `_get_special_keys` method.\n\n## License\n\nThis project is open-source and available under the [MIT License](https://opensource.org/licenses/MIT).\n\n## Contributions\n\nContributions to this project are welcome. Please fork the repository and submit a pull request with your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Ftype-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjeada%2Ftype-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Ftype-simulator/lists"}