diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 The MIT License (MIT)
 
-Copyright (c) 2019 Tom Sydney Kerckhove
+Copyright (c) 2019-2022 Tom Sydney Kerckhove
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,1 +1,8 @@
-# remote-static
+# yesod-remote-static
+
+[![NixCI](https://staging.nix-ci.com/badge/gh:NorfairKing:yesod-static-remote)](https://staging.nix-ci.com/gh:NorfairKing:yesod-static-remote)
+
+Embed static files from remote sources.
+
+See this blogpost for more info:
+https://cs-syd.eu/posts/2019-07-14-yesod-static-remote
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/src/Yesod/EmbeddedStatic/Remote.hs b/src/Yesod/EmbeddedStatic/Remote.hs
--- a/src/Yesod/EmbeddedStatic/Remote.hs
+++ b/src/Yesod/EmbeddedStatic/Remote.hs
@@ -1,10 +1,9 @@
-{-# LANGUAGE QuasiQuotes #-}
-{-# LANGUAGE TemplateHaskell #-}
-
 module Yesod.EmbeddedStatic.Remote
-  ( embedRemoteFileAt
-  , ensureFile
-  ) where
+  ( embedRemoteFile,
+    embedRemoteFileAt,
+    ensureFile,
+  )
+where
 
 import Control.Monad
 import qualified Data.ByteString.Lazy as LB
@@ -17,21 +16,36 @@
 import Yesod.EmbeddedStatic.Types
 
 -- | Embed a file after downloading it (once, and caching it locally)
-embedRemoteFileAt ::
-     FilePath -- ^ The path to put it (relative)
-  -> String -- ^ The url to download it from
-  -> Generator
-embedRemoteFileAt fp url = do
-  runIO $ ensureFile fp url
+embedRemoteFile ::
+  -- | The path to put it (relative)
+  FilePath ->
+  -- | The url to download it from
+  String ->
+  Generator
+embedRemoteFile fp url = do
+  runIO $ ensureFile fp fp url
   embedFile fp
 
-ensureFile :: FilePath -> String -> IO ()
-ensureFile rp url = do
+-- | Embed a file after downloading it (once, and caching it locally)
+embedRemoteFileAt ::
+  -- | The path to generate for it (for the yesod naming) (relative)
+  String ->
+  -- | The path to put it (relative)
+  FilePath ->
+  -- | The url to download it from
+  String ->
+  Generator
+embedRemoteFileAt fp' fp url = do
+  runIO $ ensureFile fp' fp url
+  embedFileAt fp' fp
+
+ensureFile :: String -> FilePath -> String -> IO ()
+ensureFile rp' rp url = do
   createDirectoryIfMissing True $ takeDirectory rp
   exists <- doesFileExist rp
   unless exists $ do
     man <- newManager tlsManagerSettings
-    putStrLn $ unwords ["Downloading", url, "to put it at", rp]
+    putStrLn $ unwords ["Downloading", url, "to put it at", rp, "and embed it at", rp']
     req <- parseUrlThrow url
     resp <- httpLbs req man
     LB.writeFile rp $ responseBody resp
diff --git a/test/Spec.hs b/test/Spec.hs
deleted file mode 100644
--- a/test/Spec.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
-module Main where
-
-import Yesod.EmbeddedStatic
-import Yesod.EmbeddedStatic.Remote
-
-mkEmbeddedStatic
-  False
-  "myStatic"
-  [ embedRemoteFileAt
-      "tmp/test/deep/README.md"
-      "https://raw.githubusercontent.com/NorfairKing/yesod-static-remote/master/README.md"
-  ]
-
-main :: IO ()
-main = pure ()
diff --git a/yesod-static-remote.cabal b/yesod-static-remote.cabal
--- a/yesod-static-remote.cabal
+++ b/yesod-static-remote.cabal
@@ -1,19 +1,19 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.31.1.
+-- This file has been generated from package.yaml by hpack version 0.38.3.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 1fa979e2ae3a67d8c5387c3970bda5bfe431c85f03fe6dbbd5498ff32d46b908
+-- hash: a891c43bfe4f0c6c075ef27c41ebddad80dee32d3bf44ce62fcf975f6ac87462
 
 name:           yesod-static-remote
-version:        0.0.0.0
-description:    Please see the README on GitHub at <https://github.com/NorfairKing/remote-static#readme>
+version:        0.0.0.1
+synopsis:       Embed static files from remote sources
 homepage:       https://github.com/NorfairKing/yesod-static-remote#readme
 bug-reports:    https://github.com/NorfairKing/yesod-static-remote/issues
 author:         Tom Sydney Kerckhove
 maintainer:     syd@cs-syd.eu
-copyright:      Copyright: (c) 2019 Tom Sydney Kerckhove
+copyright:      Copyright: (c) 2019-2022 Tom Sydney Kerckhove
 license:        MIT
 license-file:   LICENSE
 build-type:     Simple
@@ -40,18 +40,4 @@
     , http-client-tls
     , template-haskell
     , yesod-static
-  default-language: Haskell2010
-
-test-suite remote-static-test
-  type: exitcode-stdio-1.0
-  main-is: Spec.hs
-  other-modules:
-      Paths_yesod_static_remote
-  hs-source-dirs:
-      test
-  ghc-options: -threaded -rtsopts -with-rtsopts=-N
-  build-depends:
-      base >=4.7 && <5
-    , yesod-static
-    , yesod-static-remote
   default-language: Haskell2010
