Bookbot Project
The first real CLI project that I built was a tool which receives a .txt file as input and prints out some data. While this isn’t the most impressive program ever built, it means a lot to me, because it was the project that proved to me I can do this.
Below is an example, using Mary Shelley’s Frankenstein:
============ BOOKBOT ============
Analyzing book found at books/frankenstein.txt...
----------- Word Count ----------
Found 75767 total words
--------- Character Count -------
e: 44538
t: 29493
a: 25894
o: 24494
i: 23927
n: 23643
s: 20360
r: 20079
h: 19176
d: 16318
l: 12306
m: 10206
u: 10111
c: 9011
f: 8451
y: 7756
w: 7450
p: 5952
g: 5795
b: 4868
v: 3737
k: 1661
x: 691
j: 497
q: 325
z: 235
æ: 28
â: 8
ê: 7
ë: 2
ô: 1
============= END ===============
I may come back to this later and add some other features. I’ve considered adding additional file types to be analyzed and building in more data types to be returned.
You can check out the project here.