diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+# ztar 0.0.1
+
+* Initial commit
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,11 @@
+Copyright 2018 Brandon Chinn
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
new file mode 100644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
+# ztar
+
+Reading and writing compressed `.tar` archives.
+
+An extension of the `tar` library that can create/extract compressed tar archives.
diff --git a/src/Codec/Archive/Tar/GZip.hs b/src/Codec/Archive/Tar/GZip.hs
new file mode 100644
--- /dev/null
+++ b/src/Codec/Archive/Tar/GZip.hs
@@ -0,0 +1,34 @@
+{-|
+Module      :  Codec.Archive.Tar.GZip
+Maintainer  :  Brandon Chinn <brandonchinn178@gmail.com>
+Stability   :  experimental
+Portability :  portable
+
+Functions to create/extract compressed tar archives.
+-}
+
+module Codec.Archive.Tar.GZip (createGZ, extractGZ) where
+
+import qualified Codec.Archive.Tar as Tar
+import qualified Codec.Compression.GZip as GZ
+import qualified Data.ByteString.Lazy as BS
+
+-- | Create a new @.tar@ file from a directory of files.
+--
+-- It is equivalent to calling the standard 'tar' program like so:
+--
+-- @$ tar -f tarball.tar -C base -c dir -z@
+--
+-- See 'Tar.create' for more details.
+createGZ :: FilePath -> FilePath -> [FilePath] -> IO ()
+createGZ tar base paths = BS.writeFile tar . GZ.compress . Tar.write =<< Tar.pack base paths
+
+-- | Extract all the files contained in a @.tar@ file.
+--
+-- It is equivalent to calling the standard 'tar' program like so:
+--
+-- @$ tar -x -f tarball.tar -C dir -z@
+--
+-- See 'Tar.extract' for more details.
+extractGZ :: FilePath -> FilePath -> IO ()
+extractGZ dir tar = Tar.unpack dir . Tar.read . GZ.decompress =<< BS.readFile tar
diff --git a/test/Example.hs b/test/Example.hs
new file mode 100644
--- /dev/null
+++ b/test/Example.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+import Codec.Archive.Tar.GZip (createGZ, extractGZ)
+import Control.Monad (unless)
+import Path
+import Path.IO (ensureDir, removeDirRecur, removeFile, withSystemTempDir)
+
+main :: IO ()
+main = withSystemTempDir "" $ \dir -> do
+  mapM_ (mkFile dir) files
+  createGZ (fromRelFile archive) (fromAbsDir dir) ["."]
+
+  extractGZ (fromRelDir extractDir) $ fromRelFile archive
+  contents <- mapM (readFile . fromRelFile . (extractDir </>)) files
+  putStrLn $ unlines contents
+  unless (contents == map show files) $
+    fail "Contents do not match files"
+
+  removeFile archive
+  removeDirRecur extractDir
+  where
+    archive = [relfile|example.tgz|]
+    extractDir = [reldir|dest|]
+    mkFile dir f = do
+      let f' = dir </> f
+      ensureDir $ parent f'
+      writeFile (fromAbsFile f') (show f)
+    files =
+      [ [relfile|foo.txt|]
+      , [relfile|bar.txt|]
+      , [relfile|baz/a.txt|]
+      , [relfile|baz/b.txt|]
+      ]
diff --git a/ztar.cabal b/ztar.cabal
new file mode 100644
--- /dev/null
+++ b/ztar.cabal
@@ -0,0 +1,38 @@
+name:                ztar
+version:             0.0.1
+license:             BSD3
+license-file:        LICENSE.md
+author:              Brandon Chinn <brandonchinn178@gmail.com>
+maintainer:          Brandon Chinn <brandonchinn178@gmail.com>
+category:            Codec
+synopsis:            Creating and extracting compressed tar archives
+description:         Creating and extracting compressed tar archives.
+build-type:          Simple
+cabal-version:       1.18
+extra-doc-files:     CHANGELOG.md, README.md
+
+source-repository head
+  type: git
+  location: https://github.com/brandonchinn178/ztar.git
+
+library
+  hs-source-dirs:     src
+  default-language:   Haskell2010
+  exposed-modules:    Codec.Archive.Tar.GZip
+  build-depends:      base >= 4.7 && < 5
+                    , bytestring >= 0.10.8 && < 0.11
+                    , tar >= 0.5 && < 0.6
+                    , zlib >= 0.6 && < 0.7
+  ghc-options:
+    -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat
+    -Wredundant-constraints -Wnoncanonical-monad-instances
+
+test-suite example
+  type:               exitcode-stdio-1.0
+  default-language:   Haskell2010
+  hs-source-dirs:     test
+  main-is:            Example.hs
+  build-depends:      base
+                    , path
+                    , path-io
+                    , ztar
