Skip to content

python based "printer proxy" for homeserver with local printer hardwired. Bonjour support in progress

Notifications You must be signed in to change notification settings

zudsniper/pyrinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧰 Pyrinter 🖨️

A simple yet effective way to set up a WiFi printer service on a Linux server. It uses Zeroconf for Bonjour service registration and Discord webhooks for real-time print job notifications.


🌟 Features

  • 🖨️ CUPS-based printing
  • 📡 Zeroconf for Bonjour service registration
  • 📬 Discord webhook notifications
  • 📝 Detailed logging

🛠️ Setup

The Long Way
  1. SSH into your Linux server:

    ssh username@server_ip_address
  2. Install Required Packages:

    sudo apt update
    sudo apt install libcups2-dev curl
  3. Install Poetry:

    curl -sSL https://install.python-poetry.org | python3 -
  4. Clone the Repository:

    git clone https://github.com/zudsniper/pyrinter.git
    cd pyrinter
  5. Install Dependencies:

    poetry install
  6. Build the Project:

    poetry build
  7. Run the Project:

    poetry run pyrinter

    Note: You can also run the project in the background using nohup:

    nohup poetry run pyrinter &

✨ Recommended Way

Use build.sh to install packages / dependencies then build the project.

$ ./build.sh

About

python based "printer proxy" for homeserver with local printer hardwired. Bonjour support in progress

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published