Spixel (Spy + Pixel) is a simple server built in Golang designed to host a spy pixel. This tracking pixel can be used to detect whether an email or a web page was loaded by the recipient, letting you know when it was read or viewed.
- Track Email Opens: Generate a unique tracking pixel for each target to monitor email opens or web page views.
- Simple Setup: Lightweight and easy to deploy with minimal dependencies.
- Logs Access Information: Records details of each access, such as timestamp, IP address, and user-agent, if desired.
- Go installed (version 1.16 or higher)
-
Clone this repository:
git clone https://github.com/yourusername/spixel.git cd spixel -
Build the server:
go build -o spixel
-
Run the server:
./spixel
-
Generate a Target: To create a unique target. This will provide you with a unique ID representing the target.
-
Insert the Pixel in an Email or Web Page: Embed the tracking pixel by adding an
tag pointing to your server, including the unique ID in the URL:
<img src="http://yourserver.com/ID" alt="tracking pixel" style="display:none;" />
Each time the pixel is loaded, Spixel will log the access, confirming that the email or page was viewed.
This project is licensed under the MIT License.
Ensure compliance with privacy laws when using tracking pixels. Always obtain consent before tracking email opens.