{"id":19346330,"url":"https://github.com/pacifio/loci","last_synced_at":"2025-04-23T04:36:54.609Z","repository":{"id":56377499,"uuid":"309085278","full_name":"pacifio/loci","owner":"pacifio","description":"A simple python script that will show you how many lines you've written inside your code project !","archived":false,"fork":false,"pushed_at":"2021-01-10T04:23:47.000Z","size":3371,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T08:35:53.597Z","etag":null,"topics":["cli","codelines","python","script"],"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/pacifio.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}},"created_at":"2020-11-01T11:55:22.000Z","updated_at":"2021-01-10T04:23:51.000Z","dependencies_parsed_at":"2022-08-15T17:40:18.795Z","dependency_job_id":null,"html_url":"https://github.com/pacifio/loci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacifio%2Floci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacifio%2Floci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacifio%2Floci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacifio%2Floci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pacifio","download_url":"https://codeload.github.com/pacifio/loci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372529,"owners_count":21419719,"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":["cli","codelines","python","script"],"created_at":"2024-11-10T04:09:39.528Z","updated_at":"2025-04-23T04:36:51.837Z","avatar_url":"https://github.com/pacifio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LOCI\n\nLOCI means Lines Of Codes Indicator . A simple python script that will show you how many lines you've written inside your code project !\n\n```bash\ngit clone https://github.com/pacifio/loci.git\ncd loci\n```\nNow add loci to the path\n\nNow in your project use loci\n```bash\ncd YOUR_PROJECT\nloci.py LANG\n```\n\nSuported languages\n\n* html\n* css\n* javascript\n* typescript\n* python\n* dart\n* c\n* c++\n\nYou can add custom languages . The configuration file lives under ```~/.config/loci.json```\n\nThe configuration for your language is set like this\n\n```json\n\"LANGUAGE_NAME\": {\n  \"extension\": \"LANGUAGE_EXTENSION\",\n  \"ids\": [\"LANGUAGE_ID\"]\n}\n```\n\nExample configuration for ```dart```:\n```json\n\"dart\": {\n  \"extension\": \".dart\",\n  \"ids\": [\"dart\", \"flutter\", \".dart\"]\n}\n```\n\nhere the ids are how loci identifies differet languages . For dart\n\n```bash\nloci.py dart\n```\nand\n```bash\nloci.py flutter\n```\n\nboth of these commands are the same . These are ids . You can add more languages in the main configuration file which lives at ```~/.config/loci.json```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacifio%2Floci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacifio%2Floci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacifio%2Floci/lists"}