I procrastinate by building tools to stop me from procrastinating: A sad story
HI version is available. Content is displayed in original English for accuracy.
I don't know if it's something of my generation, my worsening ADHD or just laziness, but whenever I sit down and start studying something, magically, I find myself researching the most random shit ever.
Need to do at least 1 hour of Game Theory? Best I can do is 3.5 hours of WWII fun facts.
Anyways, as the lazy person I am, instead of finding the willpower to focus and get shit done, I made a customizable forward proxy. You can define your custom rules in nodes, arrange them visually in policy flows and bundle them into modes. You can find it here: https://github.com/Vaccarini-Lorenzo/ProductivityProxy
It's a project I built for personal use but, with work and shit, I don't have as much free time as I used to, so I hope someone smarter and with more time than me might just take it and make it good. Or maybe it's just useful to someone as it is.
A few notes:
- It's a project thought for "power-users", you might need to write some (python) code in the nodes to describe their behaviour, but hey, just let a LLM do it for you: The project is well documented and I plan on bundling an AGENTS.md and expose agent-friendly APIs so that you can define your local flows in plain natural language and let your favourite LLM write the policies.
- It is built on top of mitmproxy, you will need it as dependency (as well as their certificates)
P.S. It's a Tauri app. Right now the automatic proxy setup is macOS-only (I've tested on Apple Silicon). On other platforms you'd have to point your browser at the proxy manually, and cross-platform support is still a TODO.

Discussion (5 Comments)Read Original on HackerNews
The bizantine failure assumption is fundamental though: If by any chance some LLM injects a rule like "send traffic to xyz", the story changes.
As usual, always doublecheck the LLM work. Triple-check it whenever redirection of traffic is involved.