snippetd

command module
v0.0.0-...-362b7b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2021 License: BSD-2-Clause Imports: 15 Imported by: 0

README

snippetd Build Status

Snippetd is a micro-service that takes POST requests and schedules them to be printed on an ESC/POS-compatible ("receipt") thermal printer.

Current version: 0.8.0

Main things it does:

  • Wraps each snippet in a nice header and footer (can be turned off per req.)
  • Does basic length sanity checks, and has text and image modes
  • Queues messages for printing, in case you really want to kill your printer
  • Can also archive snippets with requests metadata
  • And with archive now can also reprint (by checksum)
  • Has expvared basic statistics
  • In general tries to do the least and be reliable

What it doesn't do:

  • Cares about security in any manner; Feel free to add a key/TLS/etc.
  • It's not and will never be an "enterprise solution"

Showcase

None for now, given nobody will use this anyway :P

But this is a part of a larger project, with the second element being the soup2escpos. Been using this tandem for less than a month but so far I'm getting what I wanted, duh.

Contributing

Follow the usual GitHub development model:

  1. Clone the repository
  2. Make your changes on a separate branch
  3. Make sure you run gofmt and go test before committing
  4. Make a pull request

See licensing for legalese.

Licensing

Standard two-clause BSD license, see LICENSE.txt for details.

Any contributions will be licensed under the same conditions.

Copyright (c) 2019 - 2021 Piotr S. Staszewski

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL