Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.42 KB

README.md

File metadata and controls

58 lines (41 loc) · 1.42 KB

Readometer

A Swift command-line tool for estimating the reading time of articles. It works perfectly with plain text as well as markdown.

Twitter: @ajithrnayak

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.

Usage

You can install Readometer using Mint:

mint install ajithrnayak/Readometer
Manually

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

Preview

readometer_demo

Development

Use Xcode 14.3 and above

  • cd into the repository
  • Run
xed Package.swift
  • Run:
swift run readometer --help

Todo