There’s a blog about it, of course! It’s called ExecutedToday. It even has a special literary section. My favorite is Captain Henry Nicholas Nicholls, executed in 1833 for sodomy. According to ExecutedToday:

A first-person narrative written in 1833 under the name of Lord Byron (who was in fact nine years dead, but whose queer identity clearly informs the work), Don Leon was a signal piece of literature: the first overt literary defense of homosexuality in English.

It opens with a scene said to be inspired by Captain Nicholls:

Thou ermined judge, pull off that sable cap!
What! Cans’t thou lie, and take thy morning nap?
Peep thro’ the casement; see the gallows there:
Thy work hangs on it; could not mercy spare?
What had he done? Ask crippled Talleyrand,
Ask Beckford, Courtenay, all the motley band
Of priest and laymen, who have shared his guilt
(If guilt it be) then slumber if thou wilt;
What bonds had he of social safety broke?
Found’st thou the dagger hid beneath his cloak?
He stopped no lonely traveller on the road;
He burst no lock, he plundered no abode;
He never wrong’d the orphan of his own;
He stifled not the ravish’d maiden’s groan.
His secret haunts were hid from every soul,
Till thou did’st send thy myrmidons to prowl,
And watch the prickings of his morbid lust,
To wring his neck and call thy doings just.

The author — whose identity is still debated — continues writing more or less autobiographically of Byron’s life, and using his illicit desires and lifestyle (with digressions into historical precedent) to defend homosexuality as ultimately natural and harmless.