🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit d0ffe9b7561ed14c2f8148b2c9c5c5e08d0ca48c
Parent: 
Author: mcol <mcol@posteo.net>
Date: 2021-09-16 23:42:59 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-16 23:43:33 +0100

Initial commit

stack.yaml.lock Added

@@ -0,0 +1,13 @@
+# This file was autogenerated by Stack.
+# You should not edit this file by hand.
+# For more information, please see the documentation at:
+#   https://docs.haskellstack.org/en/stable/lock_files
+
+packages: []
+snapshots:
+- completed:
+    size: 587546
+    url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/10.yaml
+    sha256: 88b4f81e162ba3adc230a9fcccc4d19ac116377656bab56c7382ca88598b257a
+  original:
+    url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/10.yaml

stack.yaml Added

@@ -0,0 +1,5 @@
+resolver:
+  url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/10.yaml
+
+packages:
+- .

src/Main.hs Added

@@ -0,0 +1,5 @@
+module Main where
+
+main :: IO ()
+main = do
+  putStrLn "hello world"

gitserve.cabal Added

@@ -0,0 +1,20 @@
+name:                gitserve
+version:             0.1.0.0
+-- synopsis:
+description:         Dynamic/static git web page server/generator
+homepage:            https://github.com/m-col/gitserve#readme
+license:             BSD3
+license-file:        LICENSE
+author:              Matt Colligan
+maintainer:          mcol@posteo.net
+copyright:           2021 Matt Colligan
+category:            Web
+build-type:          Simple
+cabal-version:       >=1.10
+extra-source-files:  README.rst
+
+executable gitserve
+  hs-source-dirs:      src
+  main-is:             Main.hs
+  default-language:    Haskell2010
+  build-depends:       base >= 4.7 && < 5

Setup.hs Added

@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain

README.rst Added

@@ -0,0 +1,27 @@
+gitserve
+========
+
+This is all a work in progress and so nothing is implemented.
+
+gitserve generates pretty web pages from your git repositories.
+
+It has two modes of operations:
+
+*Dynamic mode*: In this mode, gitserve serves generated web pages in response
+to HTTP requests. Changes to the served git repositories are reflected
+immediately as gitserve will generate new pages when needed.
+
+*Static mode*: In this mode, gitserve will save generated web pages to file so
+that other software can serve the output from the filesystem as static files.
+Updates to the served git repositories are not reflected in the output until
+gitserve is called again.
+
+
+Outputs
+-------
+
+- Rendered markdown/rst readme (+ log in sidebar)
+- File index + page per file in the tree
+- Log index + page per commit
+- Refs + tags index
+- atom xml for repository

LICENSE Added

@@ -0,0 +1 @@
+TO COMPLETE

.gitignore Added

@@ -0,0 +1,2 @@
+.stack-work/
+*~
\ No newline at end of file