Perhaps he was a bit of both. Clearly, his primary association among the canonical Gospels is that of being a traitor, although the "handing over" of Jesus to the authorities is not necessarily to be rendered as a "betrayal" in the Greek.
My sense of the meaning of Shavuot, a Jewish holiday that begins in the evening on May 14, has been deeply transformed by an ancient teaching from the Nag Hammadi library, a collection of Gnostic texts.
The Gospel of Thomas is a collection of revolutionary sayings attributed to Jesus. Despite what the Church tells you, it can't be dismissed as the scribblings of a heretic. This is Jesus, raw and uncut.
As we celebrate Pride Month and the anniversary of the Stonewall uprising by LGBT bar patrons fighting back against the police, who were trying violently to arrest them, I wonder why more liberals and progressives don't seek to learn about a fascinating ancient theology called Gnosticism.