{"id":23055581,"url":"https://github.com/vlazic/we-are-talking-about-practice","last_synced_at":"2025-08-15T05:32:12.640Z","repository":{"id":42923235,"uuid":"244733485","full_name":"vlazic/we-are-talking-about-practice","owner":"vlazic","description":"Do you want to be a better programmer?","archived":false,"fork":false,"pushed_at":"2024-10-19T12:33:40.000Z","size":4475,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-12T23:46:27.625Z","etag":null,"topics":["coding-challenge","gitub","node","practice","typescript","wakatime"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/vlazic.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}},"created_at":"2020-03-03T20:20:22.000Z","updated_at":"2024-09-03T16:40:35.000Z","dependencies_parsed_at":"2023-02-08T13:16:19.784Z","dependency_job_id":null,"html_url":"https://github.com/vlazic/we-are-talking-about-practice","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/vlazic%2Fwe-are-talking-about-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fwe-are-talking-about-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fwe-are-talking-about-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fwe-are-talking-about-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlazic","download_url":"https://codeload.github.com/vlazic/we-are-talking-about-practice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229893881,"owners_count":18140620,"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":["coding-challenge","gitub","node","practice","typescript","wakatime"],"created_at":"2024-12-16T01:12:42.620Z","updated_at":"2024-12-16T01:12:43.163Z","avatar_url":"https://github.com/vlazic.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# We Are Talking About Practice\n\nDo you want to be a better programmer?\n\nYes, we are talking about practice, man!\n\nI've decided to code at least 3 hours per day while publishing at least one commit to Github.\nAt 22h if I dont achieve this goals I will receive email like these:\n\n![practice](hurry-up.png)\n\nDo you want to try it yourself?\nFollow these instructions:\n\n## Instructions\n\n1. Start using [WakaTime](https://wakatime.com), so you can track how much time you spend coding\n2. Clone this repo: `git clone https://github.com/vlazic/we-are-talking-about-practice` on your server\n3. Create `.env` file: `cp .env.example .env` and change sample data:\n\n```ini\n# your email\nTO_EMAIL=kody.stehr19@ethereal.email\n\n# notify if there is no commits in last COMMIT_HOURS_WARNING hours\n# this should probably match hour at which cronjob is running this script\nCOMMIT_HOURS_WARNING=22\n\n# notify if number of coding hours is bellow this value\nCODING_HOURS_WARNING=3\n\n# Your Github username\nGITHUB_USER=vlazic\n\n# Your WakaTime API key\nWAKATIME_API=39a81265-5a52-4192-8112-e0b16b4819dc\n\n# SMTP server info\nSMTP_HOST=smtp.ethereal.email\nSMTP_PORT=587\nSMTP_USER=kody.stehr19@ethereal.email\nSMTP_PASS=NAsSRCgwcWa24DBFRc\nSMTP_FROM_MAIL=kody.stehr19@ethereal.email\n\n```\n\n4. Install dependencies: `npm install`\n5. Build it: `npm run build`\n6. Create cron job: `0 22 * * * node PATH_TO_REPO/dist/index.js`\n\n## Alternate Instructions\n\nPractice by creating your own similar script which suits you better. This one is bloated because I wanted to try out Node with Typescript :)\n\n![practice](practice.gif)\n\nhttps://www.youtube.com/watch?v=eGDBR2L5kzI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazic%2Fwe-are-talking-about-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlazic%2Fwe-are-talking-about-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazic%2Fwe-are-talking-about-practice/lists"}