Giter Site home page Giter Site logo

snippetd's Introduction

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

snippetd's People

Contributors

drbig avatar

Watchers

James Cloos avatar  avatar  avatar

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.