{"id":27817213,"url":"https://github.com/tutupharirabu/bookbot","last_synced_at":"2026-08-16T18:31:45.386Z","repository":{"id":283570283,"uuid":"952207508","full_name":"tutupharirabu/bookbot","owner":"tutupharirabu","description":"Bookbot is a Python program that analyzes novels and prints a statistical report of the word and character usage found within","archived":false,"fork":false,"pushed_at":"2025-03-26T03:20:57.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T10:47:56.488Z","etag":null,"topics":["learning-python","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tutupharirabu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-20T22:51:47.000Z","updated_at":"2025-04-15T12:15:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"88a5fc06-0a7d-4395-b816-dc6a0298e7be","html_url":"https://github.com/tutupharirabu/bookbot","commit_stats":null,"previous_names":["tutupharirabu/bookbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tutupharirabu/bookbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutupharirabu%2Fbookbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutupharirabu%2Fbookbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutupharirabu%2Fbookbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutupharirabu%2Fbookbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tutupharirabu","download_url":"https://codeload.github.com/tutupharirabu/bookbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutupharirabu%2Fbookbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36721898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-16T02:00:06.462Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["learning-python","python"],"created_at":"2025-05-01T14:44:30.647Z","updated_at":"2026-08-16T18:31:45.354Z","avatar_url":"https://github.com/tutupharirabu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BookBot\n\nBookBot is a simple command-line tool that analyzes text files and provides word count and character frequency statistics.\n\n## Description\n\nBookBot is my first project from the [Boot.dev](https://www.boot.dev) curriculum. It's a Python program that reads text files (like books) and generates a report with:\n\n- Total word count\n- Character frequency count (alphabetic characters only, sorted by frequency)\n\n## Features\n\n- Count the total number of words in a text file\n- Count and sort character frequencies\n- Display a formatted report in the terminal\n- Simple command-line interface\n\n## Installation\n\nClone this repository to your local machine:\n\n```bash\nhttps://github.com/tutupharirabu/bookbot.git\ncd bookbot\n```\n\n## Usage\n\nRun the program by providing the path to the text file you want to analyze:\n\n```bash\npython main.py path/to/your/book.txt\n```\n\n### Example\n\n```bash\npython main.py books/frankenstein.txt\n```\n\nOutput:\n```\n============ BOOKBOT ============\nAnalyzing book found at books/frankenstein.txt...\n----------- Word Count ----------\nFound 77986 total words\n--------- Character Count -------\ne: 46043\nt: 30365\na: 26743\no: 25225\ni: 24613\nn: 24367\ns: 21155\nr: 20818\nh: 19725\nl: 12739\nd: 12624\n... (more characters)\n============= END ===============\n```\n\n## Project Structure\n\n- `main.py`: Entry point of the application\n- `stats.py`: Contains functions for counting words and characters\n\n## Dependencies\n\nThis project uses only Python standard libraries:\n- sys\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutupharirabu%2Fbookbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutupharirabu%2Fbookbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutupharirabu%2Fbookbot/lists"}