cwdegidio
May want to consider government contracting roles. After spending about 15 years in what has come to be known as "martech" as a web developer, I realized how soulless and unsatisfying the work is. By random chance I was scouted by a small consulting firm that does work for the fed and couldn't be happier. I'm on a project now that helps countless people everyday, has some interesting domain problems, and nobody tries to convince me I'm part of a corporate family with the expectation that I will lie to my dev team about rewarding them for long hours to make some director look good.

I get to touch a lot of things tech wise, as we take on new projects there is the chance to move around when a project finishes or I've done enough time on it to convince them I'm bored and want to try something new.

Sure some firms specialize in defense... but there are many firms that do work with the EPA, NASA, etc.

dv35z
An interesting field you may want to check out is prototyping physical custom assistive devices for disabled / differently-abled people.

Examples: 3D printed bookmark with a "line slot" to allow people with dyslexia to read without distractions, customized wheelchair / scooters for kids (since they are smaller, its hard to find the right size for them as they grow), to prosthetic legs and more.

A plan would be to do a search for "makerspaces in (CITY)", find the one with the best reviews and take a tour. You're guaranteed to meet interesting creative people. Makerspaces always need tech/coders (from setting up apps, to programming robots, to community infra like setting up Discourse servers, helping makerspace entrepreneurs setup an ecommerce site, etc).

Best of luck!

iteria
Webdev can be impactful. It's really a matter of thr domain. Some of my most impactful work work was webdev in health IT. Some of the stuff I did across jobs in order of when I remember:

- Validate covid positive/negative status for reentry into various nations - Dynamic reports that allowed hospitals to understand how in or out of compliance with regulations they were. - Take the data underlying those reports and submitting them to thr government in order to continue funding for the hospital - Integrating various health insurance APIs into a system to vastly speed up approvals for surgeries (we're talking from days down to minutes) - Honestly, every battle I've waged and won around accessibility

That's just off the cuff. I really enjoyed my time in health IT. The technology and regulatory challenges made for interesting problems, and it was nice to understand immediately the good I was doing. It's easy to understand the good in an assignment like, "Identify all the tired doctors/nurses/staff based on this data and flag them for forced time off"

WireFraudSpammy
Would you volunteer your time?

Recently, there was a FAANG engineer who volunteered his time to do serious programming work for free, not to a charity but to anyone who had a good cause and needed an engineer.