{"id":36675022,"url":"https://github.com/connorkuljis/block","last_synced_at":"2026-01-12T10:47:49.562Z","repository":{"id":214804738,"uuid":"735365962","full_name":"connorkuljis/block","owner":"connorkuljis","description":"a simple, cross-platform command line interface to eliminate digital distractions","archived":false,"fork":false,"pushed_at":"2024-06-25T10:35:02.000Z","size":82496,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T08:54:05.938Z","etag":null,"topics":["cli","cobra","cobra-cli","go","golang"],"latest_commit_sha":null,"homepage":"https://try-block.fly.dev/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/connorkuljis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-24T16:46:06.000Z","updated_at":"2024-06-25T10:35:05.000Z","dependencies_parsed_at":"2024-03-13T16:02:22.067Z","dependency_job_id":"f3efb708-c34a-4f98-b083-63fd80047c6a","html_url":"https://github.com/connorkuljis/block","commit_stats":null,"previous_names":["connorkuljis/block-cli","connorkuljis/task-tracker-cli"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/connorkuljis/block","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorkuljis%2Fblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorkuljis%2Fblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorkuljis%2Fblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorkuljis%2Fblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connorkuljis","download_url":"https://codeload.github.com/connorkuljis/block/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorkuljis%2Fblock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:40:25.642Z","status":"ssl_error","status_checked_at":"2026-01-12T10:39:27.820Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","cobra","cobra-cli","go","golang"],"created_at":"2026-01-12T10:47:49.444Z","updated_at":"2026-01-12T10:47:49.541Z","avatar_url":"https://github.com/connorkuljis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Block-cli\n\n**Block** is a simple, cross-platform command line interface to eliminate digital distractions.\n\nThe projects web site is [https://try-block.fly.dev/](https://try-block.fly.dev/)\n\nGet the latest release at [https://github.com/connorkuljis/block/releases](https://github.com/connorkuljis/block/releases)\n\nTo checkout the code use `git clone https://github.com/connorkuljis/block-cli.git`\n \n![demo](.github/demo.gif)\n\n# Mission\n\nSpend less time on the computer and more time in the sun.\n\n# Building from source\n\n`make`, then run `make install` to install it.\n\n- note: ensure a Golang compiler is present on the machine.\n\n# Documentation\n\n## Block Sites (Guide)\n\n1. Open your `/etc/hosts` file\n\n`sudo vi /etc/hosts`\n\n2. Paste an example blocklist\n\n```\n# --- social media\n# 0.0.0.0 twitter.com\n# 0.0.0.0 www.youtube.com\n# 0.0.0.0 www.instagram.com\n# 0.0.0.0 www.reddit.com\n# 0.0.0.0 reddit.com\n# 0.0.0.0 www.old.reddit.com\n# 0.0.0.0 old.reddit.com\n# 0.0.0.0 www.facebook.com\n# ~ \u003c-- important! lines below the (~) character mark the end of the blocklist\n```\n\n# Usage\n- To see the list of commands available, run `block --help`\n\n# Faq\n# Troubleshooting Screen Recording with Ffmpeg\n- run `ffmpeg -v` and ensure the installation is not corrupted or missing.\n- ensure system permissions are enabled to record your screen.\n- a valid input device is configured in `config.yaml`\n- restart the terminal application\n\n## Configuration\n\n- open `.config/block-cli/config.yaml` \n\nExample:\n\n```\n# config.yaml\nffmpegRecordingsPath: /Volumes/WD_2TB/Screen-Recordings\navfoundationDevice: \"1:0\"\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorkuljis%2Fblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorkuljis%2Fblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorkuljis%2Fblock/lists"}