{"id":26237765,"url":"https://github.com/codemyst/guesslang-bun","last_synced_at":"2025-08-22T18:17:51.103Z","repository":{"id":280311535,"uuid":"861969855","full_name":"CodeMyst/guesslang-bun","owner":"CodeMyst","description":"A small bun executable wrapper around guesslang and vscode-languagedetection. Used for autodetecting programming languages.","archived":false,"fork":false,"pushed_at":"2025-03-02T18:19:13.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T05:31:59.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/CodeMyst.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}},"created_at":"2024-09-23T19:57:18.000Z","updated_at":"2025-03-02T18:19:16.000Z","dependencies_parsed_at":"2025-03-02T17:32:16.398Z","dependency_job_id":"6ea6662d-4082-407d-9ca3-9146593a964f","html_url":"https://github.com/CodeMyst/guesslang-bun","commit_stats":null,"previous_names":["codemyst/guesslang-bun"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CodeMyst/guesslang-bun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fguesslang-bun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fguesslang-bun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fguesslang-bun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fguesslang-bun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeMyst","download_url":"https://codeload.github.com/CodeMyst/guesslang-bun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fguesslang-bun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271680558,"owners_count":24802074,"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":"2025-03-13T05:29:10.515Z","updated_at":"2025-08-22T18:17:51.080Z","avatar_url":"https://github.com/CodeMyst.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# guesslang-bun\n\nTo install dependencies:\n\n```bash\nbun install\n```\n\nCopy the model.json and weights file from the vscode-languagedetection package:\n\n```bash\ncp node_modules/@vscode/vscode-languagedetection/model/model.json .\ncp node_modules/@vscode/vscode-languagedetection/model/group1-shard1of1.bin .\n```\n\nTo build as a standalone executable:\n\n```bash\nbun build index.ts --compile --outfile guesslang-bun --assets model.json group1-shard1of1.bin\n```\n\nTo run the executable:\n\n```bash\n./guesslang-bun path-to-file\n```\n\nThis project was created using `bun init` in bun v1.1.29. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemyst%2Fguesslang-bun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemyst%2Fguesslang-bun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemyst%2Fguesslang-bun/lists"}