https://github.com/nhsz/read-time
:clock1::book: Medium-like reading estimation time
https://github.com/nhsz/read-time
go golang programming script
Last synced: 9 months ago
JSON representation
:clock1::book: Medium-like reading estimation time
- Host: GitHub
- URL: https://github.com/nhsz/read-time
- Owner: nhsz
- License: mit
- Created: 2017-05-28T01:05:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T16:51:26.000Z (over 8 years ago)
- Last Synced: 2025-02-08T18:47:34.077Z (11 months ago)
- Topics: go, golang, programming, script
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# read-time
:clock1::book: Medium-like reading estimation time
## Usage
Remember this is a Go script, so you need to [install Go first!](https://golang.org/dl/)
`go run readtime.go `
## Example
If both script and file are on the same directory:
```
> go run readtime.go example.txt
Total words: 455
Reading time: this will take about 1 minute and 39 seconds to be read.
```
Otherwise, you have to provide the full path for text file.