https://github.com/mainak55512/stto
Simple line of code counter written in Go
https://github.com/mainak55512/stto
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
Last synced: 8 months ago
JSON representation
Simple line of code counter written in Go
- Host: GitHub
- URL: https://github.com/mainak55512/stto
- Owner: mainak55512
- License: mit
- Created: 2024-07-22T16:58:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T18:19:34.000Z (over 1 year ago)
- Last Synced: 2025-03-28T11:38:44.885Z (about 1 year ago)
- 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
- Language: Go
- Homepage:
- Size: 76.5 MB
- Stars: 34
- Watchers: 1
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-go - stto - A light-weight superfast line of code counter written in pure Go. (Code Analysis / Routers)
- fucking-awesome-go - stto - A light-weight superfast line of code counter written in pure Go. (Code Analysis / Routers)
- awesome-go-with-stars - stto - weight superfast line of code counter written in pure Go. | 2025-11-25 | (Code Analysis / Routers)
README
# STTO
Command-line utility written in Go to check total line of code in a file present in a directory.
## Authors
- [Mainak Bhattacharjee](https://github.com/mainak55512)
## Dependencies
- go 1.22.5
- github.com/mattn/go-runewidth v0.0.9
- github.com/olekukonko/tablewriter v0.0.5
## Benchmark
#### Benchmark was run on the clone of '[Redis](https://github.com/redis/redis)' repository

**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.
All the tools read over 1.5k files



## Installation
Install using the following command for latest features
```bash
go install github.com/mainak55512/stto@latest
```
Alternatively you can use the optimized builds from the [release section](https://github.com/mainak55512/stto/releases)
N.B. Release builds are generally more optimized but lack latest features, 'go install' command is the prefered way to download the executable.
## Usage
Full usage details available in
```bash
stto --help
```
### Usage 1:

### Usage 2:

### Usage 3:

N.B. 'jproc' is a json query tool writtrn in javascript. For more details check out the [repo](https://github.com/mainak55512/JSONProcessor).
## 🚀 About Me
I'm a Tech enthusiast and a hobby programmer.
You can visit my [Github profile](https://github.com/mainak55512) to see my other works :)