ref2html is a (very) small utility that processes a list
of citation labels on stdin, and writes a simply-formatted
bibliography to stdout. It obtains the information from a
database file in refer format.
See the man page.
For more information on the refer bibliographic database format, the best place to look is the man page for grefer, which is part of GNU troff.