SkillAgentSearch skills...

Webcat

Web interface for BlueTooth thermal cat printers :3

Install / Use

/learn @k0rnh0li0/Webcat
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

webcat

A work-in-progress web interface for conveniently printing images on BlueTooth thermal cat printers.

I can't guarantee this will work on all cat printers, but this is the one I'm using.

This program is Free Software, licensed under the terms of the GNU GPLv2. See LICENSE.txt for details.

Setup

Windows is not supported by this project, only GNU/Linux.

  1. Clone this repository and cd into it.
  2. Install Python requirements: sudo python3 -m pip install -r requirements.txt.
  3. Install imagemagick using your distro's package manager.
  4. Turn your printer on so it's discoverable.
  5. Edit src/config.py as necessary, especially to set BDADDR to your printer's bluetooth address.
  6. cd into the src/ directory.
  7. Run the printer driver: ./driver.py & (might need root, I did on Raspbian but not on Arch).
  8. Lastly, launch the web server: ./webcat.py &.

Then you will be able to navigate to http://localhost:<PORT> in your browser and print images.

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated1y ago
Forks1

Languages

Python

Security Score

80/100

Audited on Oct 18, 2024

No findings