Skip to content

About

Web server to interface to our Little Printer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Stampantina

A simple Python Flask app to interface to the DoES Liverpool Little Printer.

It provides the websocket interface that the Little Printer Bridge requires, and then interfaces to allow messages to be sent to the printer(s).

Installation

  1. virtualenv venv
  2. . venv/bin/activate
  3. pip install flask-sock

Running

  1. . venv/bin/activate
  2. flask run --host=0.0.0.0

Testing

For general poking, websocat is handy for interactive connection to the websocket; run websocat ws://localhost:5000/api/v1/connection, for example.

About

Web server to interface to our Little Printer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages