{"id":20594515,"url":"https://github.com/mainak55512/stto","last_synced_at":"2025-10-20T06:52:06.535Z","repository":{"id":249860664,"uuid":"832267238","full_name":"mainak55512/stto","owner":"mainak55512","description":"Simple line of code counter written in Go","archived":false,"fork":false,"pushed_at":"2024-11-14T18:19:34.000Z","size":80195,"stargazers_count":34,"open_issues_count":7,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T11:38:44.885Z","etag":null,"topics":["cli","cloc","command-line","command-line-tool","community","concurrency","concurrent-programming","go","gocloc","golang","golang-application","golang-library","line-of-code","linux","loc","open-source","scc","sloc","tokei","tui"],"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/mainak55512.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-07-22T16:58:11.000Z","updated_at":"2025-03-08T12:27:13.000Z","dependencies_parsed_at":"2024-10-20T17:57:59.854Z","dependency_job_id":null,"html_url":"https://github.com/mainak55512/stto","commit_stats":null,"previous_names":["mainak55512/stto"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainak55512%2Fstto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainak55512%2Fstto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainak55512%2Fstto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainak55512%2Fstto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mainak55512","download_url":"https://codeload.github.com/mainak55512/stto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248979114,"owners_count":21192903,"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","cloc","command-line","command-line-tool","community","concurrency","concurrent-programming","go","gocloc","golang","golang-application","golang-library","line-of-code","linux","loc","open-source","scc","sloc","tokei","tui"],"created_at":"2024-11-16T08:09:16.191Z","updated_at":"2025-10-20T06:52:06.453Z","avatar_url":"https://github.com/mainak55512.png","language":"Go","funding_links":[],"categories":["Code Analysis"],"sub_categories":["Routers"],"readme":"# STTO\n\nCommand-line utility written in Go to check total line of code in a file present in a directory.\n\n## Authors\n\n- [Mainak Bhattacharjee](https://github.com/mainak55512)\n\n## Dependencies\n\n- go 1.22.5\n- github.com/mattn/go-runewidth v0.0.9\n- github.com/olekukonko/tablewriter v0.0.5\n\n## Benchmark\n\n#### Benchmark was run on the clone of '[Redis](https://github.com/redis/redis)' repository\n\n![Demo](./resources/benchmark.gif)\n\n**N.B: stto is no way near the more established options like 'scc' or 'tokei' in terms of features. It is in early development stage and isn't production ready.\n\nAll the tools read over 1.5k files\n![stto](./resources/stto_redis.png)\n![scc](./resources/scc_redis.png)\n![tokei](./resources/tokei_redis.png)\n\n## Installation\n\nInstall using the following command for latest features\n```bash\ngo install github.com/mainak55512/stto@latest\n```\nAlternatively you can use the optimized builds from the [release section](https://github.com/mainak55512/stto/releases)\n\nN.B. Release builds are generally more optimized but lack latest features, 'go install' command is the prefered way to download the executable.\n\n## Usage\n\nFull usage details available in \n```bash\nstto --help\n```\n\n### Usage 1:\n![stto_usage_1](./resources/stto_usage_1.png)\n\n### Usage 2:\n![stto_usage_2](./resources/stto_usage_2.png)\n\n### Usage 3:\n![stto_usage_3](./resources/stto_usage_3.png)\n\nN.B. 'jproc' is a json query tool writtrn in javascript. For more details check out the [repo](https://github.com/mainak55512/JSONProcessor).\n\n## 🚀 About Me\nI'm a Tech enthusiast and a hobby programmer.\nYou can visit my [Github profile](https://github.com/mainak55512) to see my other works :)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainak55512%2Fstto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainak55512%2Fstto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainak55512%2Fstto/lists"}