{"id":14530999,"url":"https://github.com/ramirezfernando/ube","last_synced_at":"2025-09-02T03:31:38.981Z","repository":{"id":230172657,"uuid":"778403692","full_name":"ramirezfernando/ube","owner":"ramirezfernando","description":"A fun and fast lines of code counter, made with Go!","archived":false,"fork":false,"pushed_at":"2024-07-28T22:46:07.000Z","size":3285,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T13:33:26.693Z","etag":null,"topics":["bubbletea","cli","cloc","go","goreleaser","linux","macos","statistics","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ramirezfernando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-03-27T16:52:17.000Z","updated_at":"2024-12-23T10:18:12.000Z","dependencies_parsed_at":"2024-07-30T02:53:28.506Z","dependency_job_id":null,"html_url":"https://github.com/ramirezfernando/ube","commit_stats":null,"previous_names":["ramirezfernando/cloc-tool","ramirezfernando/ube-cli","ramirezfernando/ube"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ramirezfernando/ube","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramirezfernando%2Fube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramirezfernando%2Fube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramirezfernando%2Fube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramirezfernando%2Fube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ramirezfernando","download_url":"https://codeload.github.com/ramirezfernando/ube/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramirezfernando%2Fube/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273224969,"owners_count":25067198,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"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":["bubbletea","cli","cloc","go","goreleaser","linux","macos","statistics","windows"],"created_at":"2024-09-05T00:01:11.277Z","updated_at":"2025-09-02T03:31:38.506Z","avatar_url":"https://github.com/ramirezfernando.png","language":"Go","readme":"# Ube\n\u003cimg width=\"100%\" alt=\"Ube banner\" src=\"./images/ube-banner.png\"/\u003e\n\n[![Latest Release](https://img.shields.io/github/v/release/ramirezfernando/ube)](https://github.com/ramirezfernando/ube/releases/tag/v2.0.0)\n![Coverage](https://img.shields.io/badge/Coverage-78.1%25-brightgreen)\n![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/ramirezfernando/ube/total)\n![GitHub License](https://img.shields.io/github/license/ramirezfernando/ube)\n\nUbe (ooh-bay) is a program that displays statistics about your code. Ube will show the number of files, and total lines within those files grouped by language.\n\n## Example\n![ube-example](./images/ube-example.gif)\n\n## Table of Contents\n- [Features](#features)\n- [Installation](#installation)\n   - [macOS](#macos)\n   - [Linux](#linux)\n   - [Windows](#windows)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features \u003ca name=\"features\"\u003e\u003c/a\u003e\n- Ube has a huge range of languages, supporting over **220** language extensions.\n- It's **accurate**, and **consistent** as it counts the number of newline characters `/n` present in a specified path. This ensures consistency across different platforms and text editors.\n- The code statistics are displayed in a **clean**, **easy-to-read** format leveraging the following libraries:\n    - [Bubble Tea](https://github.com/charmbracelet/bubbletea) - A powerful little TUI framework\n    - [Bubbles](https://github.com/charmbracelet/bubbles) - TUI components for Bubble Tea\n    - [Lip Gloss](https://github.com/charmbracelet/lipgloss) - Style definitions for Bubble Tea\n    - [Log](https://github.com/charmbracelet/log) - A minimal, colorful Go logging library\n    - [Cobra](https://github.com/spf13/cobra) - A Commander for modern Go CLI interactions\n\n## Installation \u003ca name=\"installation\"\u003e\u003c/a\u003e\n\n### macOS \u003ca name=\"macos\"\u003e\u003c/a\u003e\n1. Download the appropriate release archive for your platform from the [Latest Release](https://github.com/ramirezfernando/ube-cli/releases) page:\n   - For Intel-based Macs: [ube_2.1.0_darwin_amd64.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_darwin_amd64.tar.gz)\n   - For Apple Silicon Macs: [ube_2.1.0_darwin_arm64.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_darwin_arm64.tar.gz)\n\n2. Extract the archive from your downloads folder using the following command in your terminal:\n    ```bash\n    # Use the name of your downloaded release archive\n    $ tar -xzf ~/Downloads/example.tar.gz\n    ```\n3. Move the extracted binary to a directory in your PATH for convenient access from any directory:\n    ```bash\n    $ mv ube /usr/local/bin/ube\n    ```\n4. Verify the installation (might have to allow in settings):\n    ```\n    $ ube -v\n    ```\n\n### Linux \u003ca name=\"linux\"\u003e\u003c/a\u003e\n1. Download the appropriate release archive for your platform from the [Latest Release](https://github.com/ramirezfernando/ube-cli/releases) page:\n    - For 32-bit systems: [ube-cli_2.1.0_linux_386.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_linux_386.tar.gz)\n    - For 64-bit systems: [ube-cli_2.1.0_linux_amd64.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_linux_amd64.tar.gz)\n    - For ARM 64-bit systems: [ube-cli_2.1.0_linux_arm64.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_linux_arm64.tar.gz)\n2. Extract the archive from your downloads folder using the following command in your terminal:\n    ```bash\n    # Use the name of your downloaded release archive\n    $ tar -xzf ~/Downloads/example.tar.gz\n    ```\n3. Move the extracted binary to a directory in your PATH for convenient access from any directory:\n    ```bash\n    $ sudo mv ube /usr/local/bin/ube\n    ```\n4. Set the correct permissions for the binary:\n    ```bash\n    $ sudo chmod +x /usr/local/bin/ube\n    ```\n5. Verify the installation:\n    ```bash\n    $ ube -v\n    ```\n\n### Windows \u003ca name=\"windows\"\u003e\u003c/a\u003e\n1. Download the appropriate release archive for your platform from the [Latest Release](https://github.com/ramirezfernando/ube-cli/releases) page:\n    - For 32-bit systems: [ube-cli_2.1.0_windows_386.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_windows_386.tar.gz)\n    - For 64-bit systems: [ube-cli_2.1.0_windows_amd64.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_windows_amd64.tar.gz)\n    - For ARM 64-bit systems: [ube-cli_2.1.0_windows_arm64.tar.gz](https://github.com/ramirezfernando/ube/releases/download/v2.1.0/ube-cli_2.1.0_windows_arm64.tar.gz)\n2. Extract the archive from your downloads folder using a tool like 7-Zip or WinRAR.\n3. Move the extracted binary (ube.exe) to a directory included in your system's PATH environment variable for convenient access. Alternatively, you can run the tool from its extracted location.\n4. Verify the installation:\n    ```\n    $ ube -v\n    ```\n\n## Usage \u003ca name=\"usage\"\u003e\u003c/a\u003e\n```\nUbe is a code statistics tool for your terminal.\n\nUsage:\n  ube [path] [flags]\n\nExamples:\n  $ ube /path/to/directory\n  $ ube /path/to/file.go\n\nFlags:\n  -h, --help      help for ube\n  -v, --version   version for ube\n```\n\n## Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\nContributions are welcome! Please check the [Contributing Guidelines](CONTRIBUTING.md) for a few helpful tips!\n\n## License \u003ca name=\"license\"\u003e\u003c/a\u003e\nThis project is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":["Applications"],"sub_categories":["Development Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framirezfernando%2Fube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framirezfernando%2Fube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framirezfernando%2Fube/lists"}