u/Izvestiya

I can't modify the code, so I modified reality instead
🔥 Hot ▲ 291 r/selfhosted+1 crossposts

I can't modify the code, so I modified reality instead

I built a mock API tool that runs a local DNS interceptor and Express server. When an app phones home, LicensR redirects the request to a local server that, purely by coincidence, always responds with good news.

It doesn't modify, patch, or reverse-engineer any application code. It just provides a network environment where license servers happen to be very supportive.

You define .egg files that describe which domain/route an app calls and what to respond with, and LicensR handles the DNS override and fake API response automatically. Supports both HTTP and HTTPS with auto-generated self-signed certs.

Built because a certain license says I can't modify the code, but doesn't say anything about modifying reality around it.

github.com
u/Izvestiya — 16 hours ago