A Swift command-line tool for estimating the reading time of articles. It works perfectly with plain text as well as markdown.
Features of the readometer include:
- Estimates the reading time for a markdown and text file input.
- Displays the word count for a markdown and text file input.
You can install Readometer using Mint:
mint install ajithrnayak/Readometer
Build the tool using the release configuration, and then move the compiled binary to /usr/local/bin
:
swift build -c release
cd .build/release
cp -f Readometer /usr/local/bin/readometer
Use Xcode 14.3 and above
cd
into the repository- Run
xed Package.swift
- Run:
swift run readometer --help
- Use https://blog.medium.com/read-time-and-you-bc2048ab620c to improve the estimation logic.
- Improve the logic for stripping markdown syntax.