{"id":28718742,"url":"https://github.com/mtyszkiewicz/tomhrm-autoreporting","last_synced_at":"2026-04-14T00:04:24.021Z","repository":{"id":292401952,"uuid":"980789330","full_name":"mtyszkiewicz/tomhrm-autoreporting","owner":"mtyszkiewicz","description":"Automate daily work time reporting in tomHRM. Install once and forget about manual input.","archived":false,"fork":false,"pushed_at":"2025-05-17T14:39:28.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T08:49:59.595Z","etag":null,"topics":["automation","docker","hr","playwright","python","time-reporting","time-tracking","timesheet","tomhrm"],"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/mtyszkiewicz.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,"zenodo":null}},"created_at":"2025-05-09T18:06:31.000Z","updated_at":"2025-05-17T15:23:38.000Z","dependencies_parsed_at":"2025-05-09T19:39:24.043Z","dependency_job_id":null,"html_url":"https://github.com/mtyszkiewicz/tomhrm-autoreporting","commit_stats":null,"previous_names":["mtyszkiewicz/tomhrm-autoreporting"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtyszkiewicz/tomhrm-autoreporting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtyszkiewicz%2Ftomhrm-autoreporting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtyszkiewicz%2Ftomhrm-autoreporting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtyszkiewicz%2Ftomhrm-autoreporting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtyszkiewicz%2Ftomhrm-autoreporting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtyszkiewicz","download_url":"https://codeload.github.com/mtyszkiewicz/tomhrm-autoreporting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtyszkiewicz%2Ftomhrm-autoreporting/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259924678,"owners_count":22932782,"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":["automation","docker","hr","playwright","python","time-reporting","time-tracking","timesheet","tomhrm"],"created_at":"2025-06-15T05:03:34.903Z","updated_at":"2026-04-14T00:04:24.016Z","avatar_url":"https://github.com/mtyszkiewicz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tomhrm-autoreporting\r\n\r\nBrowser automation to report 8 hours to your default project every day at 17:00.\r\n\r\n## Limitations\r\n - No support for project selection (uses default)\r\n - Hardcoded schedule (17:00)\r\n - Only supports username/password authentication\r\n\r\n*Pull requests to address these limitations are welcome.*\r\n\r\n## Quick Start (Docker)\r\n1. **Clone the repository:**\r\n```bash\r\ngit clone https://github.com/mtyszkiewicz/tomhrm-autoreporting.git\r\ncd tomhrm-autoreporting\r\n```\r\n2. **Configure credentials:**\r\nCreate a `.env` file in the root directory:\r\n```.env\r\nTOMHRM_USERNAME=your@email.com\r\nTOMHRM_PASSWORD=yourpassword\r\nTOMHRM_WORKSPACE=your-workspace-name\r\n```\r\n3. **Run:**\r\n```bash\r\ndocker compose up -d\r\n```\r\n\r\n## Notifications\r\nThe script uses [Apprise](https://pypi.org/project/apprise/) to notify you on failures (e.g., unexpected 2FA or layout changes).\r\n\r\nTo enable **Telegram** notifications, add these to your `.env` file:\r\n```.env\r\nTELEGRAM_BOT_TOKEN=yourbottoken\r\nTELEGRAM_CHAT_ID=111222333444\r\n```\r\n\r\n## Local Development\r\n\r\nUse this setup to run the script manually or contribute code.\r\n\r\n1. **Install Dependencies**\r\n\r\nUsing uv:\r\n```bash\r\nuv sync\r\nplaywright install firefox\r\n```\r\n\r\nUsing poetry:\r\n```bash\r\npoetry install\r\nplaywright install firefox\r\n```\r\n\r\n2. **Set Environment Variables**\r\n\r\nExport these manually or use [direnv](https://direnv.net/):\r\n```bash\r\nexport TOMHRM_USERNAME=\"your@email.com\"\r\nexport TOMHRM_PASSWORD=\"yourpassword\"\r\nexport TOMHRM_WORKSPACE=\"your-workspace-name\"  \r\n```\r\n\r\n3. **Usage**\r\n\r\n```bash\r\n# Run once immediately\r\npython3 main.py\r\n\r\n# Run with browser visible (debug mode)\r\npython3 main.py --headed\r\n\r\n# Run on schedule (loop forever)\r\npython3 main.py --schedule\r\n\r\n# Save screenshots on error\r\npython3 main.py --screenshot-dir ./screenshots\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtyszkiewicz%2Ftomhrm-autoreporting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtyszkiewicz%2Ftomhrm-autoreporting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtyszkiewicz%2Ftomhrm-autoreporting/lists"}