{"id":24059624,"url":"https://github.com/a-r007/totally-human-typer","last_synced_at":"2026-05-06T04:31:32.898Z","repository":{"id":269814648,"uuid":"908541259","full_name":"A-R007/Totally-Human-Typer","owner":"A-R007","description":"This project automates typing tasks on the MonkeyType website using Selenium WebDriver. It simulates different typing methods (e.g., letter-by-letter, word-by-word) at a customizable speed and retrieves typing statistics such as words per minute (WPM), accuracy, and consistency.","archived":false,"fork":false,"pushed_at":"2024-12-27T04:36:03.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T06:15:26.603Z","etag":null,"topics":["jupyter-notebook","monkeytype","python","selenium","web-driver-chrome"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/A-R007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-26T10:21:19.000Z","updated_at":"2024-12-27T04:36:07.000Z","dependencies_parsed_at":"2024-12-26T11:38:38.405Z","dependency_job_id":null,"html_url":"https://github.com/A-R007/Totally-Human-Typer","commit_stats":null,"previous_names":["a-r007/totally-human-typer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-R007%2FTotally-Human-Typer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-R007%2FTotally-Human-Typer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-R007%2FTotally-Human-Typer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-R007%2FTotally-Human-Typer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/A-R007","download_url":"https://codeload.github.com/A-R007/Totally-Human-Typer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240859762,"owners_count":19869212,"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":["jupyter-notebook","monkeytype","python","selenium","web-driver-chrome"],"created_at":"2025-01-09T06:15:33.492Z","updated_at":"2026-05-06T04:31:32.854Z","avatar_url":"https://github.com/A-R007.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MonkeyType Automation with Selenium\n\nThis project automates typing on the [MonkeyType](https://monkeytype.com/) website using Selenium WebDriver. The script can type out text in different ways (e.g., letter-by-letter, word-by-word, etc.) at a custom delay. It also captures the results like words per minute (WPM), accuracy, and consistency.\n\n## Requirements\n\n- Python 3.11+\n- Install required libraries via the `requirements.txt` file.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepo-link\u003e\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd \u003cfolder-name\u003e\n   ```\n\n3. Create a virtual environment:\n   ```bash\n   python -m venv venv\n   ```\n\n4. Activate the virtual environment:\n   - For Windows:\n     ```bash\n     .\\venv\\Scripts\\activate\n     ```\n   - For macOS/Linux:\n     ```bash\n     source venv/bin/activate\n     ```\n\n5. Install the dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\n1. The script will open a browser window and navigate to [MonkeyType](https://monkeytype.com/).\n2. It will attempt to accept cookies if the prompt appears.\n3. After that, you can run one of the typing functions to automate typing:\n   - `letterByLetter(delay)`: Types each letter one by one with a specified delay.\n   - `allAtOnce(delay)`: Types all the letters of the current active word at once.\n   - `wordByWord(delay)`: Types each word as a whole at the specified delay.\n   - `wordLetterByLetter(delay)`: Types each word's letters individually, one after another.\n\n   You can customize the `delay` parameter for each function to control typing speed.\n\n4. Once the typing session is complete, the script will print the typing results: WPM (words per minute), accuracy, and consistency.\n\n## Example\n\nRun the script like this:\n\n```python\ndelay = 0.001  # Set a small delay for fast typing\nwordByWord(delay)\n```\n\nTo check your typing statistics after finishing the test:\n\n```python\nwpm = browser.find_element(By.CSS_SELECTOR, \".group.wpm\").find_element(By.CLASS_NAME, \"bottom\").text\nacc = browser.find_element(By.CSS_SELECTOR, \".group.acc\").find_element(By.CLASS_NAME, \"bottom\").text\nconsistency = browser.find_element(By.CSS_SELECTOR, \".group.flat.consistency\").find_element(By.CLASS_NAME, \"bottom\").text\n\nprint(\"wpm: \" + wpm)\nprint(\"accuracy: \" + acc)\nprint(\"consistency: \" + consistency)\n```\n\n## Troubleshooting\n\n- If you encounter issues with stale elements, it may be due to dynamic content on the page. Ensure the page has fully loaded before interacting with elements.\n- Make sure the `ChromeDriver` is correctly installed and compatible with your Chrome version. The `webdriver-manager` package should handle this automatically.\n\n## Contributing\n\n1. Fork the repository.\n2. Create a new branch for your feature or fix.\n3. Make your changes.\n4. Open a pull request with a description of what you've done.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-r007%2Ftotally-human-typer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-r007%2Ftotally-human-typer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-r007%2Ftotally-human-typer/lists"}