Skip to content

outworlder/ChickenPress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Chicken Press

To create a new blog, this is the (proposed) sequence of steps:

Initialize the local repository

chicken-press create

This will create the following (proposed) directory structure and add it to a (local) git repository:

Posts Comments Templates

"Published" posts go to the master branch.

Running the blog

The simplest way is

chicken-press serve

Another option: see below.

Generating static pages

It (TODO: should) is possible to create an static blog. It will run the content through Hyde (TODO: use Discount). The commenting functionality will then be disabled. (TODO: Add Disqus support).

Post Structure

UPDATE: No longer a s-exp.

A post is a simple (s-expression) describing an a-list, which should contain the following:

  • Title (Scratch that: Taken from the first line)
  • Date (Scratch that: Taken from the first commit. Update date is taken from the last)
  • Author (Scratch that: taken from the comitter)
  • Unique ID (Oh look: Git already provides it)

Comment structure

UPDATE: Not so obvious anymore.

A comment is... obviously a s-expression, containing the following:

  • Author
  • Email (required but not shown)
  • Content
  • Unique ID (See above)

This need not be stored in the repository.

In addition, initial blog versions will integrate with Disqus.

Prior Art

There's git-blog [https://github.com/elliottcable/git-blog]

About

Wordpress-like in Chicken Scheme. Actually, it is completely NOT Wordpress-like :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages