{"id":19487940,"url":"https://github.com/burningtyger/farhang-txt2mongo","last_synced_at":"2026-06-19T10:32:17.194Z","repository":{"id":137746152,"uuid":"1917279","full_name":"burningTyger/farhang-txt2mongo","owner":"burningTyger","description":"A converter and integrity checker for the farhang lexicon files","archived":false,"fork":false,"pushed_at":"2014-02-20T20:26:59.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T18:48:54.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/ckh/farhang","language":"Ruby","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/burningTyger.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":"2011-06-18T21:22:28.000Z","updated_at":"2014-02-20T20:26:59.000Z","dependencies_parsed_at":"2023-03-12T01:05:45.699Z","dependency_job_id":null,"html_url":"https://github.com/burningTyger/farhang-txt2mongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/burningTyger/farhang-txt2mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burningTyger%2Ffarhang-txt2mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burningTyger%2Ffarhang-txt2mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burningTyger%2Ffarhang-txt2mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burningTyger%2Ffarhang-txt2mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burningTyger","download_url":"https://codeload.github.com/burningTyger/farhang-txt2mongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burningTyger%2Ffarhang-txt2mongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34528134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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-10T20:48:03.313Z","updated_at":"2026-06-19T10:32:17.162Z","avatar_url":"https://github.com/burningTyger.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"#txt2mongo#\nwith txt2mongo you can check the integrity of your lexicon text files as\nused in farhang. You pass the file name or wildcard along to check the\nfile entries. If you pass in a database name as a second argument txt2mongo\nwill store the entries in your mongodb. If you don't get any output it means\nyour files are ok. If you get filenames and line numbers it means you need to\ncorrect them. Usually a `;` is forgotten.\n\nTo check all files you need to put `*.txt` into quotation marks:\n\n`ruby txt2mongo.rb file.txt|'*.txt' [database]`\n\nexample:\n\n`ruby txt2mongo.rb k.txt test_db`\n\nor:\n\n`ruby txt2mongo.rb '*.txt'`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburningtyger%2Ffarhang-txt2mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburningtyger%2Ffarhang-txt2mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburningtyger%2Ffarhang-txt2mongo/lists"}