{"id":20893320,"url":"https://github.com/anezih/stardictnet","last_synced_at":"2026-01-05T07:33:41.285Z","repository":{"id":241377822,"uuid":"627583726","full_name":"anezih/StarDictNet","owner":"anezih","description":"Rudimentary class lib that can read and write StarDict dictionaries. Also, a Powershell module which acts as a very basic cli StarDict dictionary lookup program.","archived":false,"fork":false,"pushed_at":"2024-05-27T19:58:52.000Z","size":4976,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-28T03:30:49.733Z","etag":null,"topics":["cli","dictzip","powershell","stardict"],"latest_commit_sha":null,"homepage":"","language":"C#","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/anezih.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-13T19:13:32.000Z","updated_at":"2024-05-28T03:30:54.827Z","dependencies_parsed_at":"2024-05-28T03:30:54.550Z","dependency_job_id":"6e562a3a-8f29-4095-abe5-58f769100f96","html_url":"https://github.com/anezih/StarDictNet","commit_stats":null,"previous_names":["anezih/stardictnet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anezih%2FStarDictNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anezih%2FStarDictNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anezih%2FStarDictNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anezih%2FStarDictNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anezih","download_url":"https://codeload.github.com/anezih/StarDictNet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245175331,"owners_count":20572781,"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","dictzip","powershell","stardict"],"created_at":"2024-11-18T10:15:27.477Z","updated_at":"2026-01-05T07:33:41.248Z","avatar_url":"https://github.com/anezih.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StarDictNet\r\n\r\nRudimentary class lib that can read and write StarDict dictionaries.\r\nAlso, a Powershell module which acts as a very basic cli StarDict dictionary lookup program.\r\n\r\n# Using Powershell Module\r\n\r\n- Add full path of *.ifo files of dictionaries to global variables:\r\n```powershell\r\n$Global:Dict1 = Set-Dict \"full/path/to/somedict.ifo\"\r\n```\r\n- Optionally, add them to arrays in order to create dictionary groups:\r\n```powershell\r\n$Global:English = @($Dict1, $Dict2, $Dict3, $Dict4)\r\n$Global:French = @($Dict5, $Dict6, $Dict7)\r\n```\r\n\r\n- At lines 100 and 154 add full path of **elinks** if it is not in the **PATH**. elinks enable us to display HTML nicely on the terminal.\r\n\r\n- Put StarDict.psm1 and StarDictNet.dll right next to your Microsoft.PowerShell_profile.ps1\r\n\r\n- Add these 2 lines to your Microsoft.PowerShell_profile.ps1:\r\n```powershell\r\nImport-Module $PSScriptRoot\\StarDict.psm1\r\nSet-DictSession\r\n```\r\n\r\n* Lookup words:\r\n    - Lookup at a single dictionary:\r\n    ```powershell\r\n    $Dict1 | Get-Def Beleaguered -IgnoreCase \u003c# will match beleaguered also #\u003e\r\n    $Dict1 | Get-DefRegex \"^beleag*\" \u003c# get words that starts with beleag #\u003e\r\n    $FrenchDict1 | Get-Def \"eutes\" -IgnoreDiacritics  \u003c# instead of eûtes #\u003e\r\n    ```\r\n    - Lookup at multiple dictionaries:\r\n    ````powershell\r\n    $English | Get-BatchDef \"daredevil\"\r\n    $Turkce | Get-BatchDefRegex \"^\\b(\\w+)\\s\\1$\" \u003c# search reduplicative words with regex #\u003e\r\n    ````\r\n# Screenshots\r\n![Ignore diacritics](/img/ignore_diacritics.png)\r\n*Ignore diacritics while searching.*\r\n\r\n![Batch lookup](/img/daredevil.png)\r\n*Batch lookup*\r\n\r\n![Query with regular expressions](/img/regex.png)\r\n*Query with regular expressions*\r\n\r\n# Note\r\nWindows elinks build is provided as-is, use at your own risk.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanezih%2Fstardictnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanezih%2Fstardictnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanezih%2Fstardictnet/lists"}