Skip to content

Instantly share code, notes, and snippets.

@cfjedimaster
Created May 8, 2026 14:14
Show Gist options
  • Select an option

  • Save cfjedimaster/d6404e65e46b651abf0f9912dcfe4485 to your computer and use it in GitHub Desktop.

Select an option

Save cfjedimaster/d6404e65e46b651abf0f9912dcfe4485 to your computer and use it in GitHub Desktop.
Webflow + Pixoo
from http.server import HTTPServer, BaseHTTPRequestHandler
from pixoo_ng import Pixoo, Channel
from pixoo_ng.config import PixooConfig
import time
class Handler(BaseHTTPRequestHandler):
def do_GET(self):
if self.path == '/favicon.ico':
self.send_response(404)
self.end_headers()
return
pix = Pixoo(PixooConfig(address='use your ip...'))
pix.draw_image('webflow.png')
pix.draw_text('Site Published', (5, 44), (20, 110, 245))
pix.push()
time.sleep(10)
pix.set_channel(Channel.FACES)
pix.set_face(0)
self.send_response(200)
self.end_headers()
do_POST = do_GET
def log_message(self, format, *args):
print(f"{self.address_string()} - {format % args}")
if __name__ == "__main__":
server = HTTPServer(("", 80), Handler)
print("Listening on port 80")
server.serve_forever()

Comments are disabled for this gist.