{"id":22354362,"url":"https://github.com/jonmagic/focus-on-this","last_synced_at":"2025-10-25T14:13:18.302Z","repository":{"id":19324475,"uuid":"22562839","full_name":"jonmagic/focus-on-this","owner":"jonmagic","description":null,"archived":false,"fork":false,"pushed_at":"2014-08-03T06:20:32.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T13:43:47.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/jonmagic.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":"2014-08-03T00:57:17.000Z","updated_at":"2021-06-29T21:35:40.000Z","dependencies_parsed_at":"2022-09-05T13:31:13.351Z","dependency_job_id":null,"html_url":"https://github.com/jonmagic/focus-on-this","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/jonmagic%2Ffocus-on-this","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Ffocus-on-this/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Ffocus-on-this/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Ffocus-on-this/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmagic","download_url":"https://codeload.github.com/jonmagic/focus-on-this/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245658961,"owners_count":20651517,"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":[],"created_at":"2024-12-04T13:12:26.816Z","updated_at":"2025-10-25T14:13:13.274Z","avatar_url":"https://github.com/jonmagic.png","language":"Ruby","readme":"# Focus On This\n\nI get distracted a lot. The Internet is an enabler for me, I open Safari or Chrome to do something and 3 hours later I've been down a hundred paths and if I'm lucky some of those were tangentially related to what I set out to do in the first place.\n\nThere are a number of tricks I use to stay focused, like taking notes, writing down next steps for everything, and then always referring back to those notes. Only keeping a couple apps open at once. Not opening hackernews or any news site for that matter. Only opening my Twitter or email client a few times a day.\n\nToday I decided to take things a step further. The screen I see most often on my computer is the new tab screen in Safari and Chrome, so I put the thing I should be focused on front and center.\n\n![open a new tab in safari](http://cl.ly/image/1a2C1j3y1h05/safari-focus-on-this.gif)\n\n## Installation\n\nUse git to clone this repository to your local machine. Example:\n\n```bash\n$ cd ~/Sites\n$ git clone https://github.com/jonmagic/focus-on-this.git\n```\n\nNow create a symlink to the `focus` executable in a directory that is a part of your path.\n\n```bash\n$ ln -s /path/to/focus-on-this/focus /usr/local/bin/focus\n```\n\nNext I set my home page in Safari to be `file:///path/to/focus-on-this/this.html` (replace the path/to with the appropriate path).\n\nFor Chrome I set the homepage and then had to install the [Replace New Tab Page](https://chrome.google.com/webstore/detail/replace-new-tab-page/cnkhddihkmmiiclaipbaaelfojkmlkja) extension and then configure it to open new tabs to `file:///path/to/focus-on-this/this.html`.\n\n## Usage\n\nYou can update your focus by using the `focus on` command or by editing the html page directly.\n\n```bash\n$ focus on Getting flowers for our anniversary.\n```\n\nYou can see your current focus in the browser of course or by running the focus command by itself.\n\n```bash\n$ focus\nFocus On Getting flowers for our anniversary.\n```\n\n### Contributors\n\n* [@jonmagic](https://github.com/jonmagic)\n\n## License\n\nSee [LICENSE](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Ffocus-on-this","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmagic%2Ffocus-on-this","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Ffocus-on-this/lists"}