Git Product home page Git Product logo

qhttp-snap's Introduction

The Quantum HTTP snap

sudo snap install qhttp

This repository contains the files for the qhttp snap, a tiny 4KB wrapper of the Python built in webserver, but fully confined by the snapd sandbox! 4KB is the smallest a snap can possibly be, since it is the smallest size allowed by the squashfs filesystem. The entire Python implementation is contained in the core base snap, which is deduplicated with other snaps and usually will be installed by default.

If you need to just quickly send a file across the LAN, or whip up a quick HTTP server for any quick experiments, it's as simple as qhttp in the command line, and you can specify the port to bind to with qhttp -p 12345, and even get the standard HTTP port, 80, with sudo qhttp -p 80.

You'll need to place the files in $HOME/snap/qhttp/common, or if you use sudo to address ports <=1024, /root/snap/qhttp/common

And of course, keep in mind this snap won't set up NAT traversal for you, you'll need to do this yourself! (Sorry, I tried but it wouldn't be a quantum snap then).

qhttp-snap's People

Contributors

jgcarroll avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kamaranis

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.