In reply to Sayontan Sinha.

I built the same widget. My plugin, literally named Query Posts, hasn't been updated in 10 years. :) Surprisingly, it still has 3,000+ installs.