{"id":13592708,"url":"https://github.com/nightroman/FarNet","last_synced_at":"2025-04-08T23:34:09.867Z","repository":{"id":28719056,"uuid":"32240029","full_name":"nightroman/FarNet","owner":"nightroman","description":"Far Manager framework for .NET modules and scripts in PowerShell, F#, JavaScript.","archived":false,"fork":false,"pushed_at":"2024-05-19T05:34:29.000Z","size":9012,"stargazers_count":129,"open_issues_count":0,"forks_count":18,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-05-19T06:29:07.400Z","etag":null,"topics":["c-sharp","dot-net","f-sharp","far-manager","javascript","plugin","powershell"],"latest_commit_sha":null,"homepage":"https://github.com/nightroman/FarNet/wiki","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nightroman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["nightroman"]}},"created_at":"2015-03-15T01:24:48.000Z","updated_at":"2024-06-06T04:44:03.662Z","dependencies_parsed_at":"2023-02-14T09:31:12.067Z","dependency_job_id":"ade75e2f-5969-4cb0-8b29-398394629209","html_url":"https://github.com/nightroman/FarNet","commit_stats":{"total_commits":1128,"total_committers":2,"mean_commits":564.0,"dds":0.0008865248226950229,"last_synced_commit":"af960bbac6b086f12b65b21f6f7b270020c9474b"},"previous_names":[],"tags_count":306,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FFarNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FFarNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FFarNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FFarNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nightroman","download_url":"https://codeload.github.com/nightroman/FarNet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221968666,"owners_count":16909278,"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":["c-sharp","dot-net","f-sharp","far-manager","javascript","plugin","powershell"],"created_at":"2024-08-01T16:01:12.300Z","updated_at":"2025-04-08T23:34:09.859Z","avatar_url":"https://github.com/nightroman.png","language":"C#","funding_links":["https://github.com/sponsors/nightroman"],"categories":["C\\#","C#","Development Tools"],"sub_categories":["Editor Plugins"],"readme":"﻿\u003cimg src=\"https://github.com/nightroman/FarNet/raw/main/Zoo/FarNetLogo.png\" align=\"right\"/\u003e\n\n# FarNet\n\nFar Manager platform for .NET modules and scripts in PowerShell, F#, JavaScript\n\n- [Wiki](https://github.com/nightroman/FarNet/wiki) - framework, modules, libraries\n- [Issues](https://github.com/nightroman/FarNet/issues) - bug reports and problems\n- [Discussions](https://github.com/nightroman/FarNet/discussions) - questions and ideas\n\n## Prerequisites\n\n**.NET 9.0**\n\nDownload and install [.NET 9.0 SDK or runtime](https://aka.ms/dotnet/download), **x64 or x86 depending on Far Manager**.\\\nSDK is needed for developing FarNet modules but recommended in any case.\n\nCheck for existing installations by these commands:\n\n    dotnet --version\n    dotnet --info\n\n**Visual C++ Redistributable**\n\nLook at the installed programs and find entries like:\n\n- Microsoft Visual C++ 2015-2022 Redistributable (x64)\n- Microsoft Visual C++ 2015-2022 Redistributable (x86)\n\nIf they are missing, then install the required.\nLinks are not provided, they keep changing.\n\n**Far Manager**\n\nChoose the required from [downloads](https://www.farmanager.com/download.php?l=en).\\\nNormally the stable build is recommended.\n\n## Install using PowerShell\n\nThis way avoids manual steps and allows updates later.\n\nClose Far Manager and start the PowerShell console.\n\nChange to the Far Manager directory\n\n```powershell\nSet-Location \"C:\\Program Files\\Far Manager\"\n```\n\nImport Far package functions\n\n```powershell\niex (iwr https://raw.githubusercontent.com/nightroman/FarNet/main/web.ps1)\n```\n\nIf it fails on older systems, try\n\n```powershell\n[Net.ServicePointManager]::SecurityProtocol = \"Tls11,Tls12,$([Net.ServicePointManager]::SecurityProtocol)\"\niex (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/nightroman/FarNet/main/web.ps1')\n```\n\nInstall FarNet\n\n```powershell\nInstall-FarPackage FarNet\n```\n\nInstall modules\n\n```powershell\nInstall-FarPackage FarNet.CopyColor\nInstall-FarPackage FarNet.Drawer\nInstall-FarPackage FarNet.EditorKit\nInstall-FarPackage FarNet.Explore\nInstall-FarPackage FarNet.FolderChart\nInstall-FarPackage FarNet.FSharpFar\nInstall-FarPackage FarNet.GitKit\nInstall-FarPackage FarNet.JavaScriptFar\nInstall-FarPackage FarNet.JsonKit\nInstall-FarPackage FarNet.PowerShellFar\nInstall-FarPackage FarNet.RedisKit\nInstall-FarPackage FarNet.RightControl\nInstall-FarPackage FarNet.RightWords\nInstall-FarPackage FarNet.Vessel\n```\n\nInstall libraries\n\n```powershell\nInstall-FarPackage FarNet.FSharp.Charting\nInstall-FarPackage FarNet.FSharp.Data\nInstall-FarPackage FarNet.FSharp.PowerShell\nInstall-FarPackage FarNet.FSharp.Unquote\nInstall-FarPackage FarNet.Redis\nInstall-FarPackage FarNet.ScottPlot\nInstall-FarPackage FarNet.Stateless\nInstall-FarPackage FarNet.SQLite\n```\n\nYou may start Far Manager after this.\nModules are installed in `%FARHOME%\\FarNet\\Modules`.\nLibraries are installed in `%FARHOME%\\FarNet\\Lib`.\n\n\n## Update using PowerShell\n\nFarNet packages installed by `Install-FarPackage` may be updated in the same way.\n\nClose Far Manager, open PowerShell console, and invoke\n\n```powershell\nSet-Location \"C:\\Program Files\\Far Manager\"\niex (iwr https://raw.githubusercontent.com/nightroman/FarNet/main/web.ps1)\n```\n\nTo update all packages, use\n\n```powershell\nUpdate-FarPackage\n```\n\nTo update one package, use `Install-FarPackage`\n\n```powershell\nInstall-FarPackage FarNet.PowerShellFar\n```\n\nTo remove one package, use `Uninstall-FarPackage`\n\n```powershell\nUninstall-FarPackage FarNet.PowerShellFar\n```\n\n## Install packages manually\n\nGiven a package `Bar`, download it as \u003chttps://nuget.org/api/v2/package/Bar\u003e\n\nThe downloaded file name is `Bar.\u003cversion\u003e.nupkg`. This is a zip archive, you\nmay save it with the zip extension for easier unpacking.\n\nAll needed files are in the folder `tools`. This folder contains `FarHome` and\nmay contain `FarHome.x64` and `FarHome.x86` folders.\n\nCopy `FarHome` items to the Far Manager home directory preserving the folder\nstructure. For example, by this command in Far Manager:\n\n```cmd\nrobocopy FarHome \"%FARHOME%\" /s\n```\n\nIf `FarHome.x64` and `FarHome.x86` exist then, depending on x64 or x86, copy\nitems of `FarHome.x64` or `FarHome.x86` to Far Manager:\n\n```cmd\nrobocopy FarHome.x64 \"%FARHOME%\" /s\nrobocopy FarHome.x86 \"%FARHOME%\" /s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightroman%2FFarNet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnightroman%2FFarNet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightroman%2FFarNet/lists"}