{"id":40594130,"url":"https://github.com/avvertix/franc-bin","last_synced_at":"2026-01-21T03:35:50.612Z","repository":{"id":42628350,"uuid":"109886849","full_name":"avvertix/franc-bin","owner":"avvertix","description":"The Franc Natural Language Detection library as a binary file ","archived":false,"fork":false,"pushed_at":"2025-04-06T15:42:57.000Z","size":264,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T16:35:18.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"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/avvertix.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-11-07T20:25:11.000Z","updated_at":"2025-04-06T15:42:59.000Z","dependencies_parsed_at":"2024-06-28T19:51:14.307Z","dependency_job_id":"5e7d6266-d558-4a7c-9ac6-24efbdc02b56","html_url":"https://github.com/avvertix/franc-bin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/avvertix/franc-bin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avvertix%2Ffranc-bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avvertix%2Ffranc-bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avvertix%2Ffranc-bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avvertix%2Ffranc-bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avvertix","download_url":"https://codeload.github.com/avvertix/franc-bin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avvertix%2Ffranc-bin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28624556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-21T03:35:50.364Z","updated_at":"2026-01-21T03:35:50.596Z","avatar_url":"https://github.com/avvertix.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release binaries](https://github.com/avvertix/franc-bin/actions/workflows/ci.yml/badge.svg)](https://github.com/avvertix/franc-bin/actions/workflows/ci.yml)\n\n# Franc as Binary\n\nThe [Franc](https://github.com/wooorm/franc) Natural Language Detection library inside a single executable with no dependencies.\n\n## Getting Started\n\nDownload the pre-built binary for your Operating System from the [Release page](https://github.com/avvertix/franc-bin/releases/latest).\n\n```bash\nfranc-bin [options] \u003cstring\u003e\n```\n\nwhere `\u003cstring\u003e` is the text to recognize\n\nOptions:\n\n- `-h`, `--help` output usage information\n- `-v`, `--version` output Franc-Cli version number\n- `-m`, `--min-length \u003cnumber\u003e` minimum length to accept\n- `-o`, `--only \u003cstring\u003e` allow specific languages\n- `-i`, `--ignore \u003cstring\u003e` disallow specific languages\n- `-a`, `--all` display all guesses with probability score\n\n**Usage examples**\n\noutput language\n\n```bash\n$ franc \"Alle menslike wesens word vry\"\n# afr\n```\n\noutput language from stdin (expects utf8)\n\n```bash\n$ echo \"এটি একটি ভাষা একক IBM স্ক্রিপ্ট\" | franc\n# ben\n```\n\nignore certain languages\n\n```bash\n$ franc --ignore por,glg \"O Brasil caiu 26 posições\"\n# src\n```\n\n## Supported languages\n\nSupport 187 languages. See [Franc supported languages for more info](https://github.com/wooorm/franc/tree/franc@4.1.0/packages/franc#support).\n\n\u003e Franc can support more than 380 languages, but this packaged version stops at 187\n\n## Compile from source\n\n**Requirements:**\n\n- NodeJS (16.0 or newer)\n- NPM\n\n\u003e Yes, it is a Javascript project, but thanks to [PKG, by Vercel](https://github.com/vercel/pkg) can be packed into a real executable.\n\n**Generate the binaries**\n\nDownload all the dependencies\n\n```bash\n# pull the dependencies\nnpm ci\n```\nNow generate the binaries for MacOS, Windows and Linux in the `./dist` folder\n\n```bash\n# Build the executables\nnpm run production\n```\n\n## Contribution\n\nContributions are welcomed, just make a pull request.\n\n## License\n\nThis project is licensed under the [`MIT` license](./LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favvertix%2Ffranc-bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favvertix%2Ffranc-bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favvertix%2Ffranc-bin/lists"}