Skip to content

splurf/donut.live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

donut.live

A tribute to parrot.live. Here it is in donut form.

Demo - Try It

curl donut.rustychads.com

Description

  • HTTP server that distributes frames of a rotating donut to every curl client.

Usage

Usage: donut-live [OPTIONS]

Options:
  -a, --addr <ADDR>  IP address [default: 127.0.0.1]
  -p, --port <PORT>  Port number [default: 8080]
      --path <PATH>  Location path [default: /]
  -h, --help         Print help
  -V, --version      Print version

Todo

  • Improve trim_frames by removing all possible redundant ASCII-whitespace from every frame.

Notes

Credit

  • The gen_frame function within util.rs heavily references the original donut.c script