The maid package

[Tags: bsd3, program]

Serve files from the current path


[Skip to ReadMe]

Properties

Versions2009.7.24, 2009.7.24.1, 2009.7.25, 2009.8.16, 2009.8.18, 2009.8.25, 2009.12.20, 2010.4.24, 2010.9.9, 2010.9.9.1, 2010.9.19, 2010.9.29, 2011.6.20, 2011.6.21, 2011.10.12, 2011.10.13, 2012.1.19, 2013.9.13, 2013.9.14, 2014.8.31, 2014.10.14
Change logchangelog.md
Dependenciesair (>=2011.6.19), air-extra, base (==4.*), bytestring, containers, data-default, directory, hack2 (>=2011.6.20), hack2-contrib (>=2011.6.20), hack2-handler-warp, haskell98, moe (>=2011.6), process, unix [details]
LicenseBSD3
AuthorJinjing Wang
MaintainerJinjing Wang <nfjinjing@gmail.com>
CategoryWeb
Home pagehttps://github.com/nfjinjing/maid
Executablesmaid
UploadedMon Jun 20 13:38:55 UTC 2011 by JinjingWang
DistributionsNixOS:2014.10.14
Downloads2779 total (129 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-06-04 [all 2 reports]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for maid-2011.6.20

Maid

A simple static web server

install

cabal install maid

run

on port 3000

maid

on port 5000

maid 5000

custom css

place maid.css in current path

default is

body {
line-height: 1.5em;
font-size: 1.3em;
}

  .directory a
, .directory a:visited {
color: grey;
}

  a
, a:visited {
text-decoration: none;
color: #222;
display: block;
background: #eee;
padding: 3px;
padding-left: 20px;
}

a:hover {
background: #ccc;
}

li {
list-style-type: none;

width: 80%;
margin: 5px;
}

custom overwritten mime-types

place mime.types in current path

default is

hs text/plain; charset=utf-8
lhs text/plain; charset=utf-8

note

use the git version

maid