{"id":18852863,"url":"https://github.com/moderrek/lines","last_synced_at":"2026-02-06T08:39:17.399Z","repository":{"id":243395618,"uuid":"812314382","full_name":"Moderrek/lines","owner":"Moderrek","description":"Blazingly FAST concurrent line of code counter created in GO","archived":false,"fork":false,"pushed_at":"2025-02-19T11:29:31.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-23T09:31:56.235Z","etag":null,"topics":["cli","command-line","concurrency","go","golang","line","linecount","linecounter","thread","threading","tools","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Moderrek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Moderrek","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-06-08T14:40:26.000Z","updated_at":"2025-07-13T14:08:54.000Z","dependencies_parsed_at":"2025-07-23T09:18:06.520Z","dependency_job_id":null,"html_url":"https://github.com/Moderrek/lines","commit_stats":null,"previous_names":["moderrek/lines"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Moderrek/lines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderrek%2Flines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderrek%2Flines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderrek%2Flines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderrek%2Flines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moderrek","download_url":"https://codeload.github.com/Moderrek/lines/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderrek%2Flines/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29155574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","command-line","concurrency","go","golang","line","linecount","linecounter","thread","threading","tools","utility"],"created_at":"2024-11-08T03:41:57.665Z","updated_at":"2026-02-06T08:39:17.377Z","avatar_url":"https://github.com/Moderrek.png","language":"Go","funding_links":["https://github.com/sponsors/Moderrek"],"categories":[],"sub_categories":[],"readme":"\n\n\u003cdiv align=\"center\"\u003e\n\n\n\n   # ⚡ Blazingly FAST Line Counter\n   \n   ![GitHub License](https://img.shields.io/github/license/Moderrek/lines)\n   [![Go](https://github.com/Moderrek/lines/actions/workflows/go.yml/badge.svg)](https://github.com/Moderrek/lines/actions/workflows/go.yml)\n   ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/Moderrek/lines/total)\n\n\n\u003c/div\u003e\n\nBlazing-fast concurrent line counter for developers who value speed and efficiency. 🚀  \n[Concurrent](https://en.wikipedia.org/wiki/Concurrent_computing) **non-blank** line counter implemented in [GO](https://go.dev/) using [lightweight execution threads](https://go.dev/tour/concurrency/1).\n\n## 🚀 Why Lines?\n\n- **Speed**: Processes large directories with tens of thousands of files in milliseconds.\n- **Concurrency**: Takes full advantage of modern CPUs with Go's goroutines.\n- **Precision**: Counts only **non-blank** lines for accurate metrics.\n\n## ⚙️ Usage\n\n```shell\nlines            # Prints file with the most lines at current directory\nlines --dir      # Path to the analysis folder\nlines --top N    # Prints the top N files\nlines --hidden   # Allow to analyze hidden files \u0026 dirs\nlines --version  # Prints installed version\nlines --help     # Prints help\nlines --no-color # Disables colored standard output\n```\n\n### 📈 Example output\n\n```bat\nlines --dir C:\\Users\\Moderr\\dev --top 5\n```\n\n```out\nAnalyzing.. C:\\Users\\Moderr\\dev\n\n.java | Lines of code: 24409\n.json | Lines of code: 8828\n.yaml | Lines of code: 4980\n.tsx | Lines of code: 4357\n.yml | Lines of code: 1122\n\nTime taken: 27.157ms to analyze 79 635 files\n```\n\n## 📸 Screenshots\n\n![Example Usage](/images/ss.png)\n\n## 🖥️ Quick Start\n\nRequires\n\n- Installed [Git](https://www.git-scm.com/downloads)\n- Installed [GO](https://go.dev/doc/install)\n\nSteps\n1. Clone repository\n   ```shell\n   git clone https://github.com/Moderrek/lines\n   ```\n2. Run\n   ```shell\n   go run main.go\n   ```\n\n## © License\n\n```license\nMIT License\n\nCopyright (c) 2024 Tymon Woźniak\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoderrek%2Flines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoderrek%2Flines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoderrek%2Flines/lists"}