I procrastinate by building tools to stop me from procrastinating: A sad story
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.
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.
My own examples
- Instead of learning a language, I can write a tool that generates flashcards for me from books I'm reading, surely that's better than "actually" reading a book
- Instead of using my morning willpower to hit the gym, surely a dashboard that shows me how many reps I did per week, with graphs of my progressions will get me better gains ... someday.
The fact you called it ProductivityProxy seems like we are on the same page.
It's way too early to make strong claims, after all I built it only a few days ago, but yesterday it helped me quite a lot focussing on a particular topic (I built a little node that detects when the requests/response content is drifting from the original intended topic using embeddings)