  A generalised Legendrian rack is a rack equipped with a Legendrian structure,
which is a pair of maps encoding the information of Legendrian Reidemeister
moves together with up and down cusps in the front diagram of an oriented
Legendrian link. Employing a purely rack theoretic approach, we associate a
generalised Legendrian rack (or a GL-rack) to an oriented Legendrian link, and
prove that it is an invariant under Legendrian isotopy. As immediate
applications, we prove that this invariant distinguishes infinitely many
oriented Legendrian unknots and oriented Legendrian trefoils. To comprehend
their algebraic structure, we prove that every GL-rack admits a homogeneous
representation. Further, using the idea of trunks, we define modules over
GL-racks, and prove the equivalence of the category of GL-rack modules and the
category of Beck modules over a fixed GL-rack.
