{"repo":"cablehead/http-nu","free":true,"listed":false,"github":"https://github.com/cablehead/http-nu","clone":"git clone https://github.com/cablehead/http-nu.git","description":"The surprisingly performant, Nushell-scriptable, cross.stream-powered, Datastar-ready HTTP server that fits in your back pocket. 🐘💫🚀💜","language":"Rust","stars":154,"topics":["cli","http-server","nushell","datastar","http2-server","sdk","scripting","cqrs","cross-stream","event-streaming"],"license":"MIT","category":"networking-infra","readme_excerpt":"http-nu The surprisingly performant, Nushell -scriptable, cross.stream -powered, Datastar -ready HTTP server that fits in your back pocket. Install · Reference · Discord --- - Install - eget - Homebrew - cargo - Nix - Reference - GET: Hello world - UNIX domain sockets - Watch Mode - Reading from stdin - POST: echo - Request metadata - Response metadata - Content-Type Inference - TLS & HTTP/2 Support - Logging - Trusted Proxies - Serving Static Files - Streaming responses - server-sent events - In-memory SQLite - Local Bus - Embedded cross.stream (full featured Persistent Event Stream) - Reverse Proxy - Templates - .mj - Render templates - .mj compile / .mj render - Precompiled templates - Syntax Highlighting - Markdown - Evaluating User-Submitted Scripts - Streaming Input - Plugins - Module Paths - Embedded Modules - Routing - HTML DSL - Datastar SDK - Cookies - Eval Subcommand - Unit Testing Endpoints - Building and Releases - Available Build Targets - Examples - GitHub Releases - History Install eget Homebrew (macOS) cargo For fast installation using pre-built binaries: Or build from source: Nix http-nu is available in nixpkgs. For packaging and maintenance documentation, see NIXOS PACKAGING GUIDE.md. Reference GET: Hello world Or from a file: Try the live examples or run them locally with the examples hub: UNIX domain sockets Watch Mode Use -w / --watch to automatically reload when files change: This watches the script's directory for any changes (including included files)","default_branch":null,"files":null,"tree":[],"storefront":"/r/cablehead","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cablehead/http-nu/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}