Chess programs: Chess and it's source code ; xcchess and it's source code ; X client for Xi Chen's ICCS and it's source code ;
The source code for xiangqi-minor-mode is here.