fakeprinter
gifDisco
fakeprinter | gifDisco | |
---|---|---|
1 | 2 | |
0 | 3 | |
- | - | |
5.5 | 4.9 | |
about 2 months ago | about 2 months ago | |
Go | Go | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fakeprinter
-
Ask HN: What was an interesting project you started and finished over a weekend?
The TXT records are based on the Bonjour Printing Spec [0] which list out which fields so it knows the type of the printer and it uses the SRV port to find the ipp port so it can contact the printer.
Further investigation using rvictl (iOS packet sniffing) showed the IPP traffic, which is really http API. It is via this API that iOS determines what paper is supported from what tray.
The path is then clear: create my own mDNS service that returns a printer on my own port, this IPP port acts as a reverse proxy to the real printer's IPP port, but it modifies the "media-col-ready" attribute to make iOS think A6 is loaded into the manual try.
It was extremely painful, but it was done: https://github.com/LittleLightLittleFire/fakeprinter
gifDisco
-
Ask HN: What was an interesting project you started and finished over a weekend?
It's extremely silly and inefficient but I love making random disco gifs: https://github.com/egeozcan/gifDisco
-
500 Lines or Less – Writing a useful program in fewer than 500 line code – AOSA
I could write a fairly useless program with nearly half the amount of lines!!:
https://github.com/egeozcan/gifDisco
Being able to write silly stuff because you can is immensely satisfying.
What are some alternatives?
Pingu - Pingu - 🐧 A nifty menubar app that... pings
naiveproxy - Make a fortune quietly
ioccc-obfuscated-c-contest - IOCCC International Obfuscated C code contest entries
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
shite - The little hot-reloadin' static site maker from shell.
sleep-machine - An RP2040-based project for generating brown noise for sleeping