Code Monkey home page Code Monkey logo

debrouwere.org's Introduction

debrouwere.org

This is the code to my personal blog and homepage.

The heart of my blogging platform lives in a GNU Make Makefile, which specifies the entire build process. Each blog post starts with YAML frontmatter (which contains metadata like the post's title) followed by the body content in Textile markup.

  1. blog posts are preprocessed with yaml2json
  2. they are then bundled with gather and groupby
  3. some defaults are filled in with jq and refract
  4. the jade templates for posts and pages are rendered with render
  5. CoffeeScript and Stylus stylesheets are compiled
  6. files are moved around with put and then synced to Amazon S3 with the AWS Command Line Interface

Everything is generated by running make. I use serve to check if everything looks alright on localhost, and then upload to S3 with make upload.

A full rebuild of the entire site takes roughly 30 seconds on my 2011 MacBook Pro, but render is smart enough to only rerender when needed, so adding a single post takes just 3 to 4 seconds.

I mostly edit my blog posts in Mou and the templates in Sublime Text, but everything else happens on the command line.

Previous iterations used Hector, Jekyll and WordPress.

debrouwere.org's People

Contributors

debrouwere 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.