{"id":25765642,"url":"https://github.com/ucx15/slocc","last_synced_at":"2026-06-09T01:02:03.447Z","repository":{"id":195740326,"uuid":"625315442","full_name":"ucx15/slocc","owner":"ucx15","description":"command line program to count Source lines of code in a directory.(currently only Python 3.x)","archived":false,"fork":false,"pushed_at":"2023-04-08T18:27:31.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T22:20:25.436Z","etag":null,"topics":["cpp","lines-of-code","sloccount"],"latest_commit_sha":null,"homepage":"","language":"C++","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/ucx15.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-08T18:23:38.000Z","updated_at":"2024-10-05T01:57:19.000Z","dependencies_parsed_at":"2023-09-19T12:22:33.309Z","dependency_job_id":null,"html_url":"https://github.com/ucx15/slocc","commit_stats":null,"previous_names":["ucx15/slocc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ucx15/slocc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucx15%2Fslocc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucx15%2Fslocc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucx15%2Fslocc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucx15%2Fslocc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucx15","download_url":"https://codeload.github.com/ucx15/slocc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucx15%2Fslocc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34086664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cpp","lines-of-code","sloccount"],"created_at":"2025-02-26T22:20:00.272Z","updated_at":"2026-06-09T01:01:59.406Z","avatar_url":"https://github.com/ucx15.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Source Lines of Code\n\n## Description\n\n**slocc** _(Source Lines of Code in C++)_ is a command line program which can be used to count Source lines of code in a given directory made in C++.\n\nCurrently, it only supports **PYTHON** but\n in coming days, I will add support for other languages also.\n\nI made it because I didn't like the  [cloc](https://github.com/AlDanial/cloc) project, and wanted to try something I made as a tool in my other projects.\n\n## Build\n\n```\n$ g++ Src/main.cpp -std=c++20 -O2 -o slocc.exe\n```\n\n## Usage\n\n```\n$ ./slocc [options] [path]\n```\n\n## Examples\n\n```\n$ ./slocc Test/\nChecking: Test/\n\nParsing 3 Files\n\n__________________________________________________\nLines   cmnts   Blanks  SLOC    File\n__________________________________________________\n1000    94      243     665     Test/a_orig.py\n1000    94      243     665     Test/a_orig2.py\n1000    94      243     665     Test/a_orig3.py\n__________________________________________________\n3000    282     729     1995    TOTAL\n__________________________________________________\n\nTook    2.2738 ms @ (3958131 lines/s)\n```\n\n## Author\n\n[ucx15](https://github.com/ucx15/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucx15%2Fslocc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucx15%2Fslocc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucx15%2Fslocc/lists"}