r/PowerShell • • Feb 04 '20

Pode - PowerShell Web Server

I've been meaning to post about this on here for a while, so thought a new release would be a good time!

Pode is a cross-platform pure PowerShell Web Server - even HTTPS. There's also support for template engines in views, and even Azure Functions and AWS Lambda support.

Pode lets you build fully custom REST APIs and Websites, with support for Routing, Middleware, Sessions, CSRF, Authentication, and even Web Sockets.

You can run Pode on Windows or Linux, as a Windows/Linux service, in a Docker container, or even on a Raspberry Pi!

The latest release, v1.5.0, now adds OpenAPI and Swagger/ReDoc support.

You can find Pode on [Github] with a full list of features, and the documentation here.

I know some people frown at the idea of PowerShell as a Web Server, but for DevOps Automation and Dashboards it can be quite a useful tool to have! :)

116 Upvotes

30 comments sorted by

View all comments

16

u/SMFX Feb 04 '20

Okay, this is a really cool project that I'm going to have to dig into more as I have time. However, why 'Pode'?

25

u/Badgerati Feb 04 '20

I knew someone would ask eventually! I started on Pode about 3yrs ago, but back then it was more of a "we need simple REST API in work", "we can't use Node", and "I wonder if PowerShell could do it?". The result was "PowerNode".

We quickly realised how useful it was, and at that time we couldn't find anything like it being maintained - even Polaris was a few months later!

I went to put it onto GitHub, but didn't want to stick with "PowerNode", so we just shrunk it down to "Pode".

I have considered changing the name a few times, but haven't thought of anything better - yet. The name is just quirky enough to sorta stick in your mind!

I also found out at one point that "pode" in Portuguese is the verb "can" - which was amusing on "PowerShell 'can' be a Web Server" xD

10

u/SMFX Feb 04 '20

Fair enough! Might want to consider putting an FAQ on your page or Wiki or something so you don't have to deal with dumb questions ;-)