Author: Christopher Ray Langford <email@example.com>
Date: Tue, 1 Oct 2019 17:04:23 -0400
Added README and LICENSE
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/LICENSE.txt b/LICENSE.txt
@@ -0,0 +1,15 @@
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
diff --git a/README.md b/README.md
@@ -0,0 +1,15 @@
+cld-ssg is a simple static blog generator I created for generating my personal homepage. It's written in pure C, relies on the excellent [cmark](https://github.com/commonmark/cmark) library for parsing Commonmark and dirent.h functionality for navigating directories.
+Configuration is done by modifying the parameters in config.h. When the application is run it generates the following:
+ - The full contents of the most recent INDEX_COUNT posts
+ - A list of all posts on the site
+It also copies the contents of RESOURCESDIR into the HTMLDIR recursively, so any images/CSS/static HTML/other files you want to host should go in there.
+cld-ssg is licensed under the zlib license. If you do use it, awesome! I'd love to hear what you think and see what you create with it.