Think of it as the end of rural sprawl. Most small towns were built to support surrounding farming and ranching. Once that stopped being labor-intensive, the small towns lost their economic reason for being. Farming today is something like 1.2% of the US workforce. Most of the income in many small towns is now from Social Security, disability, and welfare for the people who didn't leave. In time, they will die off. T…
There need to be towns in picturesque locations (Been to western Wyoming, it's basically that non-stop) supported by industry other than agriculture. The ability to remote work should draw a subset of developers and other workers into the area as long as the corresponding infrastructure has been met. Especially for self contracting / employed software engineers.
Then let entrepreneurs scour town lists for the need that interests them. "I want to paint houses. These two towns in my state need a painter." Or "I moved to this town with my partner; the community is begging for a small garden store - I can do that."