← all field notes
TECHNeill's Vibe · Field Notes

“I have a working script. I just need a URL.

Sometimes the right tool is the small one. Flask turns a script into an endpoint.

✓ what worked
01 · the learning

What I set out to add

I had a script that worked. All I needed was to call it over the web. My instinct was to reach for the big framework, and it was overkill. The right-sized lesson: Flask — a tiny server that wraps a function in a URL with a dozen lines.

02 · the test

The thing I actually tried

I tested the smallest thing that could work: a minimal Flask app exposing the script as one endpoint, plus the requirements to run it.

app.pyrequirements.txt
03 · the frustrations

Where it bit

A working Python script and a simple need — just give it a URL — met with a full web framework I didn't need.
04 · the verdict

What worked, what didn't

✓ worked

The tiny server. Minutes to a working URL, nothing to maintain that I didn't understand.

✗ didn't

Over-building. The full framework would have been weeks of machinery around a fifteen-line need.

the durable rule

Match the tool to the need, not to the trend. A script that needs a URL needs Flask, not a platform.

🔒 this became a classModule 10 — Flask, the tiny server members