diff --git a/scripts/lunar.coffee b/scripts/lunar.coffee
index 3d35c9f..3d666c7 100644
--- a/scripts/lunar.coffee
+++ b/scripts/lunar.coffee
@@ -27,6 +27,7 @@ amqplib = require 'amqp'
api_key = process.env.HUBOT_PASTE_API_KEY
channel = process.env.HUBOT_PASTE_CHANNEL
lvu_pattern = 'what|where|website|sources|maintainer|version'
+lvu_gh_pat = 'DETAILS|DEPENDS|CONFIGURE|CONFLICTS|INSTALL|PRE_BUILD|BUILD|POST_BUILD|POST_INSTALL|PRE_REMOVE|POST_REMOVE'
amqp_url = process.env.HUBOT_RMQ_URL
responses = [
@@ -97,6 +98,19 @@ module.exports = (robot) ->
output.stdout.on 'data', (data) ->
msg.reply data.toString().replace(/\n/g, " ")
+ robot.hear new RegExp('^!lvu (' + lvu_gh_pat + ')($|\\s+[-\\w]+)', 'i'), (msg) ->
+ module = msg.match[2].replace /^\s+|\s+$/g, ""
+ output = spawn "/bin/lvu", ["where", module]
+
+ file = msg.match[1]
+
+ output.stderr.on 'data', (data) ->
+ if data.toString().match /Unable to find/i
+ msg.reply "Module #{module} not found."
+ return
+ output.stdout.on 'data', (data) ->
+ msg.reply "https://github.com/lunar-linux/moonbase-" + data.toString().replace(/\//, "/blob/master/") + "/" + module + "/" + file
+
robot.hear /^!paste$/, (msg) ->
msg.reply "http://devnull.lunar-linux.org"
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}