Giter Club home page Giter Club logo

aeriter's Introduction

Aeriter

This will generate a static site and upload it to Amazon S3.

The utility takes a folder of .md files and generates a blog based on the template you've specified.

The files must end in ".md" and be in the following format:

[title]
<title of blog bost>
[relpath]
<relative path of blog post>
[date]
<publish date of post in "yyyy-mm-dd-HH:MM" format>
[tags]
<comma separated list of tags>
[author]
<name of author of the post>
[post]
<all post content in MarkDown format. This will be HTML escaped when rendered before uploading>

A filename with '-draft' appending before the extension (example: 'post1-draft.md') will be ignored during processing.

You must also have a "settings.cfg" file in the same folder in the following format:

[Settings]
title=<title of blog>
subtitle=<used for tagline and blog description>
description=<Meta description for front page>
theme=<theme name, default is default>
favicon=<name of favicon file> // create a "favicons" folder in the blog posts folder and place the icon there.

Currently, there is only one template, but this will change in the future. This, among other things, will be included in the settings file.

You can render a blog with the following command:

python aeriter.py <name of folder with you .md files> <name of Amazon S3 bucket>

You'll need to store your AWS access key and secret key using either environment variables or a Boto configuration file, as specified by the Boto documentation.

If the AWS bucket doesn't exist, it will be created.

Currently the folder with the posts must be located inside the Aeriter folder, but this will change in the future.

Current To-Do List:

  • Blog-wide settings file
  • Actual template with formatting and whatnot
  • Pagination (Update: Might add this later, and will likely be a template=implementation)
  • Allow arbitrary folders
  • CSS/JS support
  • Template choice support
  • Multiple bucket support (Helps with naked domain support)
  • Gzip compression support
  • Serverside analytics support - Logs are stored, need to build a way to parse them and display the results.
  • RSS Support
  • Navigation that makes more sense than sort by date
  • "author" page, useful for blogs with multiple authors
  • Automatic DNS routing for hosting on domains/sub-domains
  • Automatic import of WordPress content
  • Intelligent error handling when '.md' doesn't conform to the specified format
  • Ability to git push to a repo of .md files in order to publish a new post or update your blog
  • Grab hot-linked pictures and host locally automatically
  • Finer grained Disqus control, allowing for owners of a blog to be moderators.
  • Favicon support

aeriter's People

Contributors

conceptpending avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.