---
title: "svenstaro/miniserve: 🌟 For when you really just want to serve ..."
description: "!https://github.com/svenstaro/miniserve"
date: 2024-07-07
published: true
tags:
  - http
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/svenstaro/miniserve" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://repository-images.githubusercontent.com/github-production-repository-image-32fea6/131135585/9cf09f00-614a-11e9-8676-f2a20b52cd4b?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260804%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260804T230319Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=6dde9e7e1273ad7608f0c6fd1bb68a3a39eebfc4297a97e5099c6c1eae195480&amp;X-Amz-SignedHeaders=host&amp;jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoiaHR0cHM6Ly9yZXBvc2l0b3J5LWltYWdlcy5naXRodWJ1c2VyY29udGVudC5jb20vIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4NTg4NDg5OSwibmJmIjoxNzg1ODg0NTk5LCJwYXRoIjoicmVwb3NpdG9yeS1pbWFnZXMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIn0.lZhOY-JwFXvkobx1NaGavLZGDGeymmOSxJ_4qGTGmQQ" alt="GitHub - svenstaro/miniserve: 🌟 For when you really just want to serve some files over HTTP right now! — 🌟 For when you really just want to serve some files over HTTP right now! - svenstaro/miniserve" loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">GitHub - svenstaro/miniserve: 🌟 For when you really just want to serve some files over HTTP right now!</div>
      <div class="embed-card-description">🌟 For when you really just want to serve some files over HTTP right now! - svenstaro/miniserve</div>
      <div class="embed-card-meta">GitHub &middot; github.com</div>
    </div>
  </a>
</div>


miniserve is a sweet http server, replacement for `python -m http.server`.  It's fast, runs off a small binary, but why would I want to use it over something that already exists on most machines, because it includes a bunch of features like qr codes, pretty themes, and uploads.  I've used `python -m http.server` many times to transfer files from one machine to another in a pinch, like at a family members house.  But what if they have an android, windows, or something not easy to get a python repl running on, you can run miniserve and upload from their device rather than hosting from their device.
