All Projects → PowerShell → Polaris

PowerShell / Polaris

Licence: mit
A cross-platform, minimalist web framework for PowerShell

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to Polaris

Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Stars: ✭ 329 (-29.09%)
Mutual labels:  hacktoberfest, framework, webserver
Prest
PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new
Stars: ✭ 3,023 (+551.51%)
Mutual labels:  hacktoberfest, framework
Python Telegram Bot
We have made you a wrapper you can't refuse
Stars: ✭ 17,209 (+3608.84%)
Mutual labels:  hacktoberfest, framework
Front End Web Development Resources
This repository contains content which will be helpful in your journey as a front-end Web Developer
Stars: ✭ 3,452 (+643.97%)
Mutual labels:  hacktoberfest, framework
Swiftycontacts
A Swift library for Contacts framework.
Stars: ✭ 171 (-63.15%)
Mutual labels:  hacktoberfest, framework
Pest
Pest is an elegant PHP Testing Framework with a focus on simplicity
Stars: ✭ 3,712 (+700%)
Mutual labels:  hacktoberfest, framework
Commands
Java Command Dispatch Framework - (Bukkit, Spigot, Paper, Sponge, Bungee, JDA, Velocity supported, generically usable anywhere)
Stars: ✭ 266 (-42.67%)
Mutual labels:  hacktoberfest, framework
Playframework
Play Framework
Stars: ✭ 12,041 (+2495.04%)
Mutual labels:  hacktoberfest, framework
Restana
Super fast and minimalist framework for building REST micro-services.
Stars: ✭ 341 (-26.51%)
Mutual labels:  framework, webserver
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (-25%)
Mutual labels:  framework, webserver
Fiber
⚡️ Express inspired web framework written in Go
Stars: ✭ 17,334 (+3635.78%)
Mutual labels:  hacktoberfest, framework
Freedomotic
Open IoT Framework
Stars: ✭ 354 (-23.71%)
Mutual labels:  hacktoberfest, framework
Ncf
NeuCharFramework Template Project
Stars: ✭ 167 (-64.01%)
Mutual labels:  hacktoberfest, framework
Yii2
Yii 2: The Fast, Secure and Professional PHP Framework
Stars: ✭ 13,852 (+2885.34%)
Mutual labels:  hacktoberfest, framework
Framework
This repository contains the core code of Laravel Zero
Stars: ✭ 167 (-64.01%)
Mutual labels:  hacktoberfest, framework
Zencart
Zen Cart® is a full-function e-commerce application for your website.
Stars: ✭ 250 (-46.12%)
Mutual labels:  hacktoberfest, framework
Gofast
gofast is a FastCGI "client" library written purely in go
Stars: ✭ 140 (-69.83%)
Mutual labels:  hacktoberfest, webserver
Custom Pod Autoscaler
Custom Pod Autoscaler base, allows creation of Custom Pod Autoscalers
Stars: ✭ 148 (-68.1%)
Mutual labels:  hacktoberfest, framework
Plan
Player Analytics plugin for Minecraft Server platforms (Bukkit/Sponge/Nukkit/BungeeCord/Velocity) - View player activity of your server with ease. 📆
Stars: ✭ 322 (-30.6%)
Mutual labels:  hacktoberfest, webserver
Loopback Next
LoopBack makes it easy to build modern API applications that require complex integrations.
Stars: ✭ 3,972 (+756.03%)
Mutual labels:  hacktoberfest, framework

Polaris

Join the chat at https://gitter.im/PowerShell/Polaris Build Status PowerShell Gallery

A cross-platform, minimalist web framework for PowerShell.

Disclaimer

Polaris is currently an unsupported, experimental, proof-of-concept. There is no current plan to turn it into a supported Microsoft product.

That being said, we do plan on continuing to experiment within this repository for the foreseeable future.

Example

New-PolarisGetRoute -Path "/helloworld" -Scriptblock {
    $Response.Send('Hello World!')
}

Start-Polaris

Why yet another web framework for PowerShell?

There have been a great list of other micro web frameworks written over the years (Thanks @jaykul for the list!).

Polaris' differentiation is that it is cross-platform and uses the .NET HttpListener class.

Getting Started

Prerequisites

Steps

From the PowerShell Gallery

PS > Install-Module -Name Polaris -Scope CurrentUser -Force

You can now try out the example above or checkout the site for more usage information!

From source

  1. Clone or download the zip of the repo
  2. Open PowerShell
  3. At this point, you can now run Import-Module ./Polaris.psd1

You can now try out the example above or checkout the site for more usage!

You can also run all the Pester tests by running Invoke-Pester in the test directory. You will need Pester version 4.1.0 or higher to run the tests on Linux or MacOS.

Documentation

Check out the docs folder or the site for a full API reference.

Troubleshooting / Questions

  • Twitter: #PSPolaris
  • Slack: See us in the #Polaris channel of the PowerShell Slack
  • GitHub Issues: Submit a bug / new feature idea / or just a question as a new GitHub issue

Roadmap

We have a few paths we are interested in taking. We hope the community helps direct us.

  • Expanding on the current implementation using HttpListener to deliver features you'd expect from projects ASP.NET or Expressjs (route parameters, query parameters, middleware, auth etc)
  • Investigating the use of Kestrel/ASP.NET Routing instead of HttpListener
  • Creating a routing domain-specific language (DSL) for isolating and running script blocks as routes. Drawing inspiration from Pester.

Feedback

This project is an experiment that has the possibility to grow into something great. We can't do that without great feedback from you.

If you have an idea or find a bug, join the discussions in the issues or create a new issue.

License

Polaris is licensed under the MIT License.

Maintainers

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].