maid: A simple static web server

[ bsd3, program, web ] [ Propose Tags ]

Serve files from the current path


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 2009.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 log changelog.md
Dependencies air (>=2014.5.19), air-th, base (>=4 && <100), bytestring, containers, data-default, directory, filepath, hack2 (>=2012.1.19), hack2-contrib (>=2012.1.19.1), hack2-handler-snap-server (>=2012.1.19), moe (>=2011.6), process, text [details]
License BSD-3-Clause
Author Jinjing Wang
Maintainer Jinjing Wang <nfjinjing@gmail.com>
Category Web
Home page https://github.com/nfjinjing/maid
Uploaded by JinjingWang at 2014-10-14T06:21:08Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables maid
Downloads 13933 total (42 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-11-13 [all 7 reports]

Readme for maid-2014.10.14

[back to package description]

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: src/Web/Maid/ApacheMimeTypes.hs