snd  by BigJk

Thermal printer utility for tabletop RPGs

Created 5 years ago
561 stars

Top 57.2% on SourcePulse

GitHubView on GitHub
Project Summary

Sales & Dungeons (snd) is a utility for tabletop role-playing games, enabling users to create and print custom handouts, reference sheets, and character notes using thermal printers. It targets Dungeon Masters and players seeking portable, on-the-fly game aids, offering extensive customization and integration capabilities.

How It Works

The application leverages Nunjucks templating with HTML and CSS to define print layouts, allowing for rich formatting and integration of CSS frameworks. Rendered HTML is converted to an image via Chrome's Debug Protocol, which is then translated into ESC/POS commands for thermal printer output. This approach maximizes compatibility with modern web standards for template design while ensuring broad thermal printer support.

Quick Start & Requirements

  • Installation: Download pre-compiled binaries from the releases page or use Docker (ghcr.io/bigjk/snd:master).
  • Prerequisites: Thermal printer supporting ESC/POS command set. For Docker, USB device access (/dev/bus/usb) and appropriate group permissions are required.
  • Setup: Minimal for binaries; Docker setup requires understanding device mapping and group IDs.
  • Documentation: Wiki

Highlighted Details

  • Cross-platform support: Windows, macOS (Intel/M1), Linux (x64/ARM64), Raspberry Pi.
  • Extensive data source integration: Open5e, CSV, FoundryVTT, Fight Club 5e, 5eTools.
  • AI LLM support for generating and translating content via OpenAI, OpenRouter, or local endpoints.
  • Cloud sync for templates, generators, and data sources.

Maintenance & Community

  • Active development with community contributions.
  • Discord server available for support and discussion.
  • JetBrains Open Source Support Program sponsorship.

Licensing & Compatibility

  • License: MIT.
  • Compatibility: Permissive, suitable for commercial use and integration with closed-source projects.

Limitations & Caveats

macOS bundles are not signed, requiring manual user intervention to bypass security warnings. The HTML-to-image conversion relies on Chrome, which may be resource-intensive for a simple task.

Health Check
Last Commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
0
Star History
3 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Pietro Schirano Pietro Schirano(Founder of MagicPath), and
1 more.

SillyTavern by SillyTavern

1.1%
18k
LLM frontend for power users
Created 2 years ago
Updated 1 day ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), and
24 more.

open-webui by open-webui

0.6%
110k
Self-hosted AI platform for local LLM deployment
Created 1 year ago
Updated 1 day ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
20 more.

dify by langgenius

0.5%
114k
Open-source LLM app development platform
Created 2 years ago
Updated 16 hours ago
Feedback? Help us improve.