{"id":19626104,"url":"https://github.com/deepsourcecorp/dracula","last_synced_at":"2025-08-22T03:14:38.897Z","repository":{"id":103253653,"uuid":"575763564","full_name":"DeepSourceCorp/dracula","owner":"DeepSourceCorp","description":"Library to calculate lines of code for a given project. Works for all languages.","archived":false,"fork":false,"pushed_at":"2025-07-08T03:58:29.000Z","size":106,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T23:53:23.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/DeepSourceCorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null}},"created_at":"2022-12-08T08:42:14.000Z","updated_at":"2025-07-08T03:58:34.000Z","dependencies_parsed_at":"2025-04-28T05:43:46.550Z","dependency_job_id":null,"html_url":"https://github.com/DeepSourceCorp/dracula","commit_stats":null,"previous_names":["deepsourcelabs/dracula"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/DeepSourceCorp/dracula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepSourceCorp%2Fdracula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepSourceCorp%2Fdracula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepSourceCorp%2Fdracula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepSourceCorp%2Fdracula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeepSourceCorp","download_url":"https://codeload.github.com/DeepSourceCorp/dracula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepSourceCorp%2Fdracula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271578523,"owners_count":24784053,"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-08-22T02:00:08.480Z","response_time":65,"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":[],"created_at":"2024-11-11T11:44:58.550Z","updated_at":"2025-08-22T03:14:38.832Z","avatar_url":"https://github.com/DeepSourceCorp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \"Count\" Dracula\n\nA parser + utils for counting lines and figuring out their meaningfulness for better line counting API.\n\nCan identify lines based on the following criteria:\n- Blank, (contains only whitespace)\n- Meaningless (has no impact on the code, e.g. braces, comments, etc.)\n- Comment (number of lines with comments)\n- String (strings, language strings, raw strings, literal strings, format strings, etc.)\n- Source (the actual code)\n\n## How to run?\n\nTentative, planned to be made into a library + binary.\n\nThe APIs for use as libraries are WIP.\n\n```sh\n# to test\ncargo test\n\n# to run as a dumb util\ncargo run -- \u003crust|python|cpp|c\u003e /path/to/file\n```\n\n## Table of Contents\n- [\"Count\" Dracula](#count-dracula)\n  - [How to run?](#how-to-run)\n  - [Table of Contents](#table-of-contents)\n  - [Key Goals](#key-goals)\n  - [Works with](#works-with)\n  - [Dependencies](#dependencies)\n  - [Development](#development)\n  - [Credits](#credits)\n\n## Key Goals\n\n- General enough to work over any language.\n- Performant enough to work with as many files as possible, and allow scanning huge files.\n- Pull Parsing for lazy parsing of the code to allow flexible usage. \n\n## Works with\n\n- C \u0026 C++\n- Python\n- Rust\n- etc...\n\n## Dependencies\n\nDefault runtime dependencies: None.\n\nRust version dependencies:`1.59.0` (Could possibly work with older Rust versions)\n\n## Development\n## Credits","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepsourcecorp%2Fdracula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepsourcecorp%2Fdracula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepsourcecorp%2Fdracula/lists"}