{"id":15037423,"url":"https://github.com/paultaykalo/xcode-time-tracker","last_synced_at":"2025-04-09T23:24:02.439Z","repository":{"id":55899332,"uuid":"98637338","full_name":"PaulTaykalo/xcode-time-tracker","owner":"PaulTaykalo","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-23T19:00:09.000Z","size":447,"stargazers_count":140,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T01:13:14.536Z","etag":null,"topics":["python","r","statistics","swift","swift3","timetracker","timetracking","xcode"],"latest_commit_sha":null,"homepage":null,"language":"R","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/PaulTaykalo.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}},"created_at":"2017-07-28T10:09:24.000Z","updated_at":"2024-01-25T14:06:25.000Z","dependencies_parsed_at":"2024-01-18T04:51:47.001Z","dependency_job_id":"94bad895-32bc-4e2d-92b9-22c0b07a4f90","html_url":"https://github.com/PaulTaykalo/xcode-time-tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulTaykalo%2Fxcode-time-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulTaykalo%2Fxcode-time-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulTaykalo%2Fxcode-time-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulTaykalo%2Fxcode-time-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PaulTaykalo","download_url":"https://codeload.github.com/PaulTaykalo/xcode-time-tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248127071,"owners_count":21052166,"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":["python","r","statistics","swift","swift3","timetracker","timetracking","xcode"],"created_at":"2024-09-24T20:34:36.542Z","updated_at":"2025-04-09T23:24:02.413Z","avatar_url":"https://github.com/PaulTaykalo.png","language":"R","readme":"# Xcode Time Tracker\nThis is the tool that allows to track events that are happening in Xcode\nThis tool simply runs tracking scripts based on Xcode behaviors.\nIt's independent on the Xcode version (as soon as you have Xcode version higher than 4 :)\nIt will survive Xcode reinstallations, so it works on 'install and forget basis'\n\n# Raw output example\nThe result of this tool will be one simple csv file looking like this\n```\n#ProjectName, Workspace, TimeStart, TimeEnd, Event, TimeSpent\nNo project,TimeTracker.xcworkspace,1497876725,1497876729,Build Succeeded,4\nNo project,TimeTracker.xcworkspace,1497876729,1497877067,Run Completed,338\nNo project,TimeTracker.xcworkspace,1497877067,1497877088,Build Succeeded,21\n```\n\n# Installation\nThere'are two installation steps: \n1) Place scripts to `~/.timecheck` directory\n2) Setup Xcode behaviours to run those scripts on every run\n\n## Scripts installation\nSimply run \n```\nCURRENT=`pwd`\ncd `mktemp -d`\ngit clone https://github.com/PaulTaykalo/xcode-time-tracker\ncd xcode-time-tracker\nsh ./install.sh\ncd ..\nrm -rf xcode-time-tracker\ncd $CURRENT\n```\nThis will download and copy `project_start.py` and `project_end.py` to the `~/.timecheck` directory\n\n## Xcode Behaviours setup\n\n1) Edit Xcode Behaviors  \n![Behaviors](https://github.com/PaulTaykalo/xcode-time-tracker/blob/images/images/behaviours.png?raw=true)\n2) Set project_start.py script as custom script for start behaviors  \n![Start Behaviors](https://github.com/PaulTaykalo/xcode-time-tracker/blob/images/images/start_script.png?raw=true)\n3) Set project_end.py script as custom script for end behaviors  \n![End Behaviors](https://github.com/PaulTaykalo/xcode-time-tracker/blob/images/images/end_script.png?raw=true)\n\n\n## Next step\nThere are no more steps. Done.\n\n## Check Installation\nBuild your precious project and see that there's new file appeared in `~/.timecheck` directory\nIt should contain line that should look like this\n```\nNo project,HeyYouAreAwesome.xcworkspace,1597876725,1597876729,Build Succeeded,4\n```\n\n# Visualization\nThe next step is to visualize this information.\nI used [R](https://www.r-project.org/about.html) language for that. But there's more coming\nThis how it can look like if you'll be able to setup R correcly :)\n![Visualization](https://github.com/PaulTaykalo/xcode-time-tracker/blob/images/images/stats_visualized.png?raw=true)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaultaykalo%2Fxcode-time-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaultaykalo%2Fxcode-time-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaultaykalo%2Fxcode-time-tracker/lists"}