{"id":21612450,"url":"https://github.com/altanis/code-tally","last_synced_at":"2025-03-18T16:27:28.068Z","repository":{"id":154073249,"uuid":"631664409","full_name":"Altanis/code-tally","owner":"Altanis","description":"A simple command line utility which counts the lines of code in a directory.","archived":false,"fork":false,"pushed_at":"2023-04-23T20:34:44.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T16:44:25.292Z","etag":null,"topics":["cli","lines-of-code"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Altanis.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}},"created_at":"2023-04-23T18:23:11.000Z","updated_at":"2023-05-12T13:17:51.000Z","dependencies_parsed_at":"2023-07-24T14:51:38.150Z","dependency_job_id":null,"html_url":"https://github.com/Altanis/code-tally","commit_stats":null,"previous_names":["altanis/lines-of-code"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altanis%2Fcode-tally","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altanis%2Fcode-tally/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altanis%2Fcode-tally/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altanis%2Fcode-tally/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Altanis","download_url":"https://codeload.github.com/Altanis/code-tally/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244258807,"owners_count":20424438,"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":["cli","lines-of-code"],"created_at":"2024-11-24T21:20:32.887Z","updated_at":"2025-03-18T16:27:28.040Z","avatar_url":"https://github.com/Altanis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeTally\n\nCodeTally is a simple command line utility which counts the amount of lines of code in a directory.\n\n\n### Installation \n\nCodeTally is available in both NPM and Yarn. \n\n```bash\nnpm install -g code-tally\n```\n\n### Usage\n\nAfter installing the package, you can simply restart the shell and run the  `code-tally` command anywhere, and it will tally up the lines of code in that directory.\n\n```bash\n$ code-tally --dir [directory] --extensions [extensions] --exclude [paths] [--breakdown?]\n```\n\n- The `--dir` flag is used to determine in which folder the lines of code should be tallied. If not provided, it will run from the folder in which the command was ran from.\n  - Example: `code-tally --dir ~/coding_project_101`\n- The `--extensions` flag is used to determine which file extensions the command should look for. If not provided, every file will be checked for its lines of code. Separate each extension by a comma, and ensure no spaces are applied.\n  - Example: `code-tally --extensions js,jsx,mjs,ts`\n- The `--exclude` paths are paths which should not count towards the total lines of code. If not provided, every file will have its lines of code checked.\n  - Example: `code-tally --exclude node_modules,lib`\n- The `--breakdown` flag is an optional flag. When used, it will give a breakdown of the lines of code from each file.\n  - Example: `code-tally --breakdown`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltanis%2Fcode-tally","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltanis%2Fcode-tally","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltanis%2Fcode-tally/lists"}