1{-# LANGUAGE OverloadedStrings #-}
5import Data.Maybe (mapMaybe)
6import WaiAppStatic.Types (ssIndices, toPiece)
7import Network.Wai.Application.Static (staticApp,defaultFileServerSettings)
8import Network.Wai.Handler.Warp (runSettings, settingsPort, defaultSettings)
11main = runSettings defaultSettings
14 } $ staticApp (defaultFileServerSettings $ fromString ".")
16 ssIndices = mapMaybe (toPiece . pack) ["index.html"]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list