{"id":15297344,"url":"https://github.com/luisenmarroquin/python-keylogger","last_synced_at":"2025-04-13T23:16:17.348Z","repository":{"id":130646982,"uuid":"277275138","full_name":"LuisEnMarroquin/python-keylogger","owner":"LuisEnMarroquin","description":"Simple cross platform keylogger created with Python 3 and keyboard dependency","archived":false,"fork":false,"pushed_at":"2022-01-08T02:19:00.000Z","size":36,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T23:16:06.468Z","etag":null,"topics":["keyboard","keylog","keylogger","keylogging","logger","logging","logs","pip","pip3","portable","py","pyinstaller","pylint","pylintrc","python","python3","pythonw","shell","simple","windows"],"latest_commit_sha":null,"homepage":"","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/LuisEnMarroquin.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":"2020-07-05T10:05:29.000Z","updated_at":"2024-10-27T03:51:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6d6e4cd-ff5e-4b48-b409-f81734af6241","html_url":"https://github.com/LuisEnMarroquin/python-keylogger","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"3b243e9714639a7d6719686158c7740f633d8270"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fpython-keylogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fpython-keylogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fpython-keylogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fpython-keylogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuisEnMarroquin","download_url":"https://codeload.github.com/LuisEnMarroquin/python-keylogger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794569,"owners_count":21162615,"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":["keyboard","keylog","keylogger","keylogging","logger","logging","logs","pip","pip3","portable","py","pyinstaller","pylint","pylintrc","python","python3","pythonw","shell","simple","windows"],"created_at":"2024-09-30T19:16:46.407Z","updated_at":"2025-04-13T23:16:17.321Z","avatar_url":"https://github.com/LuisEnMarroquin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python keylogger\n\nThe simplest keylogger you can create using Python 3 only `keyboard` dependency\n\nThis app was created for learning and security purposes only, feel free to use it\n\nNote: Everytime you start the app will delete logs file everytime it runs and only one instance is allowed to run at once\n(this works by trying to delete the file but wont be able to because it'll used by the other instance)\n\n## Setup and execution\n\nAll keystrokes will be saved on file `./keystrokes.log`\n\n```shell\n# Get the code from GitHub\ngit clone https://github.com/LuisEnMarroquin/python-keylogger.git\n\n# Go to the project directory\ncd python-keylogger/\n\n# Install dependencies\npip install -r requirements.txt\n\n# Run as foreground process\npython keylogger.py\n\n# Run as background process (Windows only)\npythonw keylogger.py\n\n# Run as background process (Linux / macOS)\npython keylogger.py \u0026\n```\n\n## Stop app from logging\n\nYou can stop the background process at any time by clicking `f7` on any place, this is the easy way\n\nThe hard way is to search the process in your **Task Manager** and kill the process manually\n\n## Linter for Python code\n\nIf you have `sh` installed you can lint all `.py` files at once by running\n\n```shell\nsh linter.sh\n```\n\n## Create portable executable\n\nIf the following fails you may need to update all your global dependencies\n\nThis will generate the executable on `dist/` folder\n\n```shell\npyinstaller --noconsole --onefile keylogger.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisenmarroquin%2Fpython-keylogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluisenmarroquin%2Fpython-keylogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisenmarroquin%2Fpython-keylogger/lists"}