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.
- 🖨️ CUPS-based printing
- 📡 Zeroconf for Bonjour service registration
- 📬 Discord webhook notifications
- 📝 Detailed logging
The Long Way
-
SSH into your Linux server:
ssh username@server_ip_address
-
Install Required Packages:
sudo apt update sudo apt install libcups2-dev curl
-
Install Poetry:
curl -sSL https://install.python-poetry.org | python3 -
-
Clone the Repository:
git clone https://github.com/zudsniper/pyrinter.git cd pyrinter
-
Install Dependencies:
poetry install
-
Build the Project:
poetry build
-
Run the Project:
poetry run pyrinter
Note: You can also run the project in the background using
nohup
:nohup poetry run pyrinter &
Use build.sh
to install packages / dependencies then build the project.
$ ./build.sh