{"id":23992814,"url":"https://github.com/4ster-light/stats","last_synced_at":"2026-03-04T05:33:01.499Z","repository":{"id":263493844,"uuid":"890583843","full_name":"4ster-light/stats","owner":"4ster-light","description":"A tool for analysing programming language statistics","archived":false,"fork":false,"pushed_at":"2025-11-08T00:11:59.000Z","size":55,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-08T02:27:51.890Z","etag":null,"topics":["cli","languages","lua","statistics"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4ster-light.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"ko_fi":"4ster","custom":["paypal.me/4sterLight","4ster.dev/donate"]}},"created_at":"2024-11-18T20:33:53.000Z","updated_at":"2025-11-08T00:12:03.000Z","dependencies_parsed_at":"2024-11-18T21:49:18.517Z","dependency_job_id":"07292f24-c6dd-4e41-a8d4-bb6697dd949e","html_url":"https://github.com/4ster-light/stats","commit_stats":null,"previous_names":["4ster-light/stats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/4ster-light/stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ster-light%2Fstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ster-light%2Fstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ster-light%2Fstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ster-light%2Fstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4ster-light","download_url":"https://codeload.github.com/4ster-light/stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4ster-light%2Fstats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30072546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"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","languages","lua","statistics"],"created_at":"2025-01-07T20:18:40.163Z","updated_at":"2026-03-04T05:33:01.474Z","avatar_url":"https://github.com/4ster-light.png","language":"Rust","readme":"# Stats\n\nA command-line tool written in Rust for analyzing programming language statistics in a directory.\n\n## Features\n\n- Analyzes directories to count files and lines of code by programming language\n- Filters out common directories like `.git`, `node_modules`, etc.\n- Displays results in a colorful, formatted table\n- Supports any configured programming languages\n\n## Default Languages\n\n- Rust (.rs)\n- Go (.go)\n- JavaScript (.js)\n- TypeScript (.ts)\n- Lua (.lua)\n- Haskell (.hs)\n\n## Installation\n\n### From Source\n\n1. Clone the repository\n2. Install the project:\n\n```bash\ncargo install --path .\n```\n\n## Usage\n\n```bash\n# Analyze the current directory\nstats\n\n# Analyze a specific directory\nstats /path/to/directory\n```\n\n## Example Output\n\n```\nLanguage Statistics\n┏━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━━┓\n┃ Language   ┃ Files ┃ Lines ┃ File % ┃ Line % ┃\n┡━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━┩\n│ Rust       │    10 │  1250 │  62.5% │  75.8% │\n│ JavaScript │     4 │   250 │  25.0% │  15.2% │\n│ Python     │     2 │   150 │  12.5% │   9.1% │\n└────────────┴───────┴───────┴────────┴────────┘\n```\n\n## License\n\nGNU General Public License v3.0\n","funding_links":["https://ko-fi.com/4ster","paypal.me/4sterLight","4ster.dev/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4ster-light%2Fstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4ster-light%2Fstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4ster-light%2Fstats/lists"}