A cross-platform, minimalist web framework for PowerShell - https://www.powershellgallery.com/packages/Polaris
ashishcw (discord)
but it's giving an error.
ashishcw (discord)
can anyone please point me in the right direction, as where can I find a documentation or how to guide?
ashishcw (discord)
So, I updated my $PSVersion
ashishcw (discord)
however I am still unable to get this thing working.
ashishcw (discord)
what am I doing wrong here?
ashishcw (discord)
any clue? someone?
Peter Wawa (slack)
if you want to load the module from local path, use Import-Module
with path to .psd1 file
🌸Joel🌸 (discord)
@ashishcw looks like a TLS issue
🌸Joel🌸 (discord)
try running this and then run the install again:[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
tiberriver256 (slack)
Install-Module will download it from PowerShell Gallery, which we haven't been able to get a new version out to in quite awhile. If you want to use the latest from the code repo use the import-module ./Polaris.psd1
method.
ashishcw (discord)
I finally, managed to get it working with powershell, as per my understanding, there are 2 basic requirements, PSVersion >= 5.1 and Execution policy set to bypass.
ashishcw (discord)
Earlier, when the Execution policy was set to default, it gave me that error
ashishcw (discord)
also, while I am this topic, I found another powershell web frame work PoshWebFrameworkashishcw (discord)
It's far easy to understand and to configure the webpages on the go.
ashishcw (discord)
So I am exploring both of these options, to see, which serves my purpose the better.
ashishcw (discord)
by anyway, would any of you have any examples for polaris? I am having hard time to find any examples/usage case for it.
ashishcw (discord)
@🌸Joel🌸 Thanks for your input, I found the issue was with my execution policy, cause, once I set it bypass, it worked fine. 😐
BrettMiller (discord)
https://github.com/Badgerati/Pode
freddie_sackur (discord)
To anyone else hitting this channel, I've just assessed these options:freddie_sackur (discord)
HttpListener is on every box and ultra-basic.
freddie_sackur (discord)
Pode has 650 issues on github, all closed, only 18 left open. It has 1351 commits, most recently 6 days ago. Someone has put a lot of effort into the docs. It has a lot of features yet seems simple to use.
DougFinke (discord)
```
Date Owner Name IsPrivate Issues PullRequests Releases Stargazers Watchers ForkCount
4/17/2021 7:51:37 AM PowerShell Polaris False 111 105 1 467 65 91
4/17/2021 7:51:38 AM posh-web PSWeb False 1 0 0 3 3 1
4/17/2021 7:51:38 AM Badgerati Pode False 348 383 63 343 30 36
4/17/2021 7:51:38 AM yusufozturk PoSHServer False 4 4 5 110 28 38
```
DougFinke (discord)
Get-GHMetrics
is in my PSAdvantage module, it uses the GitHub REST API and GraphQL to get the stats.Install-Module -Name PSAdvantage
(edited)
tiberriver256 (slack)
311 downloads from the PowerShell gallery in the last 6 weeks so somebody out there is still using it. I might be tempted to start contributing again if we could get someone on the Microsoft side that can get changes out to the PowerShell gallery. There have been 12 commits to the master branch on GH since the last PowerShell gallery push on 12/6/2018. Some of them with bug fixes.
tiberriver256 (slack)
Tyler was pointing people to Pode as what he considered a better alternative before he left the PowerShell team though
belser (slack)
This is a beautiful piece of craftsmanship.