Skip to content

kimjoar/fermat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fermat

Fermat is a dead simple, no-frills Sinatra powered blog engine. Does a blog engine need a database, editing functionality and commenting? Indeed not. Fermat parses Markdown formatted files, and that's about it. In includes rudimentary caching and is exceptionally simple to extend because of the plugin system. Blogging doesn't get any simpler than this.

Requirements

  • sinatra
  • maruku

Default tree structure

.
|-- README.markdown
|-- cache
|-- fermat.rb
|-- images
|-- plugins
|   `-- rss
|       |-- rss.rb
|       `-- rss.builder
|-- posts
`-- views
    |-- index.erb
    |-- layout.erb
    `-- post.erb

Posts

Posts are Markdown formatted, and must be named yyyy-mm-dd-postname.markdown. The first line of the file must be the post title. An example of a Fermat supported filename is 2009-05-16-simple-fermat.markdown.

Need more functionality?

Fermat includes a plugin system. By adding .rb files (or directories with .rb files) in the plugins folder, they will automatically be loaded. Check out the RSS plugin for an example. If the plugin includes views, they must be included in the same folder as the plugin.

About

A dead simple, no-frills Sinatra powered blog engine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages