{"id":25924812,"url":"https://github.com/likhithkp/bill-generator","last_synced_at":"2025-03-03T18:13:47.938Z","repository":{"id":241030246,"uuid":"803626234","full_name":"likhithkp/bill-generator","owner":"likhithkp","description":"Simple CLI tool, saves and generates the bill in .txt format","archived":false,"fork":false,"pushed_at":"2024-05-24T16:45:57.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T19:06:17.213Z","etag":null,"topics":["bufio","go","golang","os"],"latest_commit_sha":null,"homepage":"","language":"Go","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/likhithkp.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}},"created_at":"2024-05-21T04:57:09.000Z","updated_at":"2025-02-23T14:00:31.000Z","dependencies_parsed_at":"2024-05-22T02:47:59.101Z","dependency_job_id":"fb959a5d-11e3-4d5e-9d79-e86449333c5a","html_url":"https://github.com/likhithkp/bill-generator","commit_stats":null,"previous_names":["likhithkp/go-bill-generator","likhithkp/bill-generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likhithkp%2Fbill-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likhithkp%2Fbill-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likhithkp%2Fbill-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likhithkp%2Fbill-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/likhithkp","download_url":"https://codeload.github.com/likhithkp/bill-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241715022,"owners_count":20007914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bufio","go","golang","os"],"created_at":"2025-03-03T18:13:47.526Z","updated_at":"2025-03-03T18:13:47.928Z","avatar_url":"https://github.com/likhithkp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI Billing System in Go\n\nThis project is a simple Command Line Interface (CLI) application written in Go. It takes user input for names, items with their prices, and tips, then generates a bill and saves it in a `.txt` file.\n\n## Features\n\n- Accepts user input for customer names, items, and prices\n- Calculates the total bill including tips\n- Generates a formatted bill\n- Saves the bill to a `.txt` file\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- You have [Go](https://golang.org/doc/install) installed on your machine.\n\n## Installation\n\n1. Clone this repository to your local machine:\n\n    ```bash\n    git clone https://github.com/likhithkp/go-bill-generator.git\n    cd go-bill-generator\n    ```\n\n2. Build the application:\n\n    ```bash\n    go build -o go-bill-generator\n\n    ```\n\n## Usage\n\n1. Run the application:\n\n    ```bash\n    ./go-bill-generator\n\n    or\n\n    go run main.go bill.go\n    ```\n\n2. Follow the on-screen prompts to enter the required information:\n\n    - Enter the customer's name.\n    - Enter the items and their prices.\n    - Enter the tip amount.\n\n3. After entering all the required information, the application will generate a bill and save it in a `.txt` file.\n\n## Bill format \n\nBill breakdown: \n - Whiskers Biscuit:         ...$4.99\n - Shiba toys:               ...$5.89\n - CheeseCake:               ...$2.99\n - tip :                     ...$15.50\n - total :                   ...$29.37\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikhithkp%2Fbill-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flikhithkp%2Fbill-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikhithkp%2Fbill-generator/lists"}