I can't speak to your experience as a Portuguese person, but Porto really made a mark on me to the point where my half-Portuguese (of Azores descent) and I are considering to make Porto our second home outside of Toronto. Portugal in general feels ready for a wave of tech folk and I'm sure they could recruit back some of the talent that left, made inroads in North American tech, and are able to work remotely back in Portugal.
It's cheap, has excellent architecture, above average food, and absolutely charming people and nature.