All Projects → sungiant → zenith

sungiant / zenith

Licence: MIT license
⚡ Functional Scala HTTP server, client, and toolkit.

Programming Languages

scala
5932 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to zenith

Http4s
A minimal, idiomatic Scala interface for HTTP
Stars: ✭ 2,173 (+14386.67%)
Mutual labels:  cats, http-client, http-server
cpphttpstack
c++ api for http client & server
Stars: ✭ 30 (+100%)
Mutual labels:  http-client, http-server
aiohttp-json-rpc
Implements JSON-RPC 2.0 using aiohttp
Stars: ✭ 54 (+260%)
Mutual labels:  http-client, http-server
matador
Take your appclication by the horns
Stars: ✭ 59 (+293.33%)
Mutual labels:  http-client, http-server
http4s-dom
http4s, in a browser near you
Stars: ✭ 13 (-13.33%)
Mutual labels:  cats, http-client
cats-helper
Helpers for cats & cats-effect
Stars: ✭ 19 (+26.67%)
Mutual labels:  cats, tagless-final
go-sse
Fully featured, spec-compliant HTML5 server-sent events library
Stars: ✭ 165 (+1000%)
Mutual labels:  http-client, http-server
Libhv
🔥 比libevent、libuv更易用的国产网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket client/server.
Stars: ✭ 3,355 (+22266.67%)
Mutual labels:  http-client, http-server
tinyweb
Simple and lightweight HTTP async server for micropython
Stars: ✭ 182 (+1113.33%)
Mutual labels:  cats, http-server
rawhttp
HTTP library to make it easy to deal with raw HTTP.
Stars: ✭ 156 (+940%)
Mutual labels:  http-client, http-server
tagless-final-jam
Workshop On Tagless Final Interpreters
Stars: ✭ 37 (+146.67%)
Mutual labels:  cats, tagless-final
Donkey
Modern Clojure HTTP server and client built for ease of use and performance
Stars: ✭ 199 (+1226.67%)
Mutual labels:  http-client, http-server
Http Kit
http-kit is a minimalist, event-driven, high-performance Clojure HTTP server/client library with WebSocket and asynchronous support
Stars: ✭ 2,234 (+14793.33%)
Mutual labels:  http-client, http-server
BCA-Phantom
A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3
Stars: ✭ 80 (+433.33%)
Mutual labels:  http-client, http-server
Zio Http
A scala library to write Http apps.
Stars: ✭ 162 (+980%)
Mutual labels:  http-client, http-server
EthernetWebServer SSL
Simple TLS/SSL Ethernet WebServer, HTTP Client and WebSocket Client library for for AVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet/QNEthernet. It now supports Ethernet TLS/SSL Client. The library supports …
Stars: ✭ 40 (+166.67%)
Mutual labels:  http-client, http-server
Aiohttp
Asynchronous HTTP client/server framework for asyncio and Python
Stars: ✭ 11,972 (+79713.33%)
Mutual labels:  http-client, http-server
Httpp
Micro http server and client written in C++
Stars: ✭ 144 (+860%)
Mutual labels:  http-client, http-server
http4ts
Server as a Function http toolkit for TypeScript & JavaScript
Stars: ✭ 30 (+100%)
Mutual labels:  http-client, http-server
waspy
WASP framework for Python
Stars: ✭ 43 (+186.67%)
Mutual labels:  http-client, http-server

Zenith

Build Status Maven Central Coverage Size License

Zenith is a functional HTTP toolkit for Scala.

Getting started

Zenith is currently available for Scala 2.11.12 and 2.12.4.

To get started with SBT, simply add the following to your build.sbt file:

libraryDependencies += "io.github.sungiant" %% "zenith" % "0.4.5"

Additionally, the zenith-netty package contains an off the shelf implementation of Zenith's abstract network layer:

libraryDependencies += "io.github.sungiant" %% "zenith-netty" % "0.4.5"

Finally the zenith-default package is great for getting started, it contains an the shelf implementation of a Zenith compatible sequencing context as well as some useful Zenith plugins:

libraryDependencies += "io.github.sungiant" %% "zenith-default" % "0.4.5"

A working example

A demo project can be found in the orphan demo branch of this repository.

Architecture

Zenith is achitected around an abstract network layer and a generic sequencing context. This make it possible to write a web service using Zenith that allows for easily changing both the network layer implementation (Netty, Akka HTTP...) and the sequencing context (Scala Future, Twitter Future, Akka Future + WriterT Monad Transformer) that binds operations together.

Zenith makes it easy to write a webservice against exactly the dependences you want, if you decide that you want your project to only have dependencies on Akka HTTP, you can do that, simply switch out the zenith-netty package for your own implementation of Zenith's abstract network layer using Akka HTTP. Zenith doesn't impose such choices upon your project.

Zenith is written in a functional style; the codebase does not include a single instance of Scala's var keyword.

The core part of Zenith, the package zenith, depends upon:

An implementation of Zenith's abstract network layer is provided in a seperate package zenith-netty that additionally depends upon:

  • netty an event-driven asynchronous network application framework

An implementation of a Zenith compatible sequencing context and a handful of useful plugins are, again, provided in a seperate package zenith-default that additionally depends upon:

  • circe for functional JSON

Alternatives

  • unfiltered a toolkit for servicing HTTP requests
  • finch a combinator library for building Finagle HTTP services

License

Zenith is licensed under the MIT License; you may not use this software except in compliance with the License.

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].