 
   app.redirect('index', (req, res) ->
     '/view/welcome-visitors'
-    #res.sendfile("#{argv.r}/server/sinatra/views/static.html")
+  )
+
+  app.redirect('remotefav', (req, res) ->
+    console.log req.params
+    "http://#{req.params[0]}"
   )
 
   # Get routes
 
   app.get('/', (req, res) ->
     res.redirect('index')
+  )
+
+  app.get(///^/remote/([a-zA-Z0-9:\.-]+)/([a-z0-9-]+)\.json$///, (req, res) ->
+    getopts = {
+      host: req.params[0]
+      port: 80
+      path: "/#{req.params[1]}.json"
+    }
+    console.log getopts
+    http.get(getopts, (resp) ->
+      responsedata = ''
+      resp.on('data', (chunk) ->
+        responsedata += chunk
+      )
+      resp.on('end', ->
+        console.log responsedata
+        res.json(JSON.parse(responsedata))
+      )
+    )
   )
 
   app.get('*.json', (req, res) ->

          for item, index in page.story
            if item.id is action.after
              before = action.after
          page.story.splice(index, 0, action.item)

        when 'remove'
          page.story = (item for item in page.story when item?.id isnt action.id)

    next()
  )

  app.get(///^/remote/([a-zA-Z0-9:\.-]+/favicon.png)$///, (req, res) ->
        res.redirect('remotefav')
  )

  # Put routes
