Coder Social home page Coder Social logo

ikskuh / zig-serve Goto Github PK

View Code? Open in Web Editor NEW
37.0 3.0 4.0 1.48 MB

Server implementations for several protocols in Zig. Includes http(s), gemini and gopher

Zig 100.00%
zig ziglang zig-package http gemini gopher-protocol gopher gemini-protocol https-server http-server

zig-serve's Introduction

zig-serve

project logo

A implementation of several network protocols for Zig:

  • HTTP 1.1
  • Gemini
  • Gopher
  • Finger

Disclaimer

DO NOT USE THESE SERVER IMPLEMENTATIONS IN PRODUCTION!

They are very much work-in-progress without any warranty of function or correctness. Don't even think about security right now!

Status

Protocol Status
Finger ⏸ Not started
Gopher 🧪 Experimental
Gemini 🧪 Experimental
HTTP(S) 🧪 Experimental

Experimental means that there is basic support for the protocol, but no spec compliance has been proven yet.

Development / Tasks

Create a new self-signed SSL certificate

openssl req -new -x509 -config examples/data/cert-config.cfg -nodes -newkey rsa:2048 -keyout examples/data/key.pem -out examples/data/cert.pem -days 36500

RFCs & Specs

  • RFC1945 - Hypertext Transfer Protocol -- HTTP/1.0
  • RFC2616 - Hypertext Transfer Protocol -- HTTP/1.1
  • RFC7231 - Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
  • RFC1436 - The Internet Gopher Protocol (a distributed document search and retrieval protocol)
  • Project Gemini - Speculative specification
  • RFC1288 - The Finger User Information Protocol

zig-serve's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zig-serve's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.