Skip to content
/ bumble Public
forked from adamavenir/bumble

A very simple personal website and blog. (Work in progress!)

Notifications You must be signed in to change notification settings

nlf/bumble

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bumble

A very simple personal website and blog. (Work in progress!)

bumble can!

  • Read Tumblr URLs and 301 Redirect
  • Serve Markdown data from blog directory using jade templates
  • Read JSON files with the same name as Markdown files for post metatada
  • Serve any static files provided in views/static
  • Provide an index of available blog posts at /blog based on contents of blog directory
  • Provide date-based archives – Serve RSS – Serve a configurable number of posts on the home page and RSS
  • Comes with simple, default styles, built on Foundation.
  • Adds Gravatar based on Author email

Howto

Set your defaults in blogConfig.json

{
  "blogTitle": "Name of blog",
  "blogSubtitle": "Here's a tag line",
  "blogAuthor": "Blog Author",
  "blogAuthorEmail": "author@example.com",
  "blogBio": "One day, I decided to write a blog. This is the story of that blog.",
  "siteUrl": "http://example.com",
  "rssUrl": "http://example.com/feed/rss",
  "postDir": "blog",
  "blogHome": "/",
  "maxPosts": "10"
}

maxPosts will set the maximum number of posts available on the main page and RSS feed.

blogHome will accept routes like / or /blog or /somethingelse/. Just make sure whatever you use starts and ends with a slash. :)

Put a markdown file in the blog directory (or whichever you've chosen in postDir) in this format:

YYYY-MM-DD-this-is-the-name-of-the-post.md

URL slug will be set by the filename. Title will be taken from the first line, if it starts with a "#" or will fall back to "untitled" in the index.

0.1 under development

  • Proper ordering of posts
  • Pagination for home page
  • Pagination for individual posts
  • <3 post interaction
  • Support for HTML posts
  • Import from Tumblr
  • Watch directory for changes and update data

Stuff under consideration

General stuff:

  • Support for multiple authors
  • Compile to static HTML or put in a database or something
  • Alternate post types (quotes, photos/sets, videos, links)
  • Rub git at blog server so you can git push publish

Admin:

  • Persona authentication
  • Multi-user
  • Configuration
  • "New post" form
  • "Edit post" form
  • "Draft" state posts

APIs

  • Pull in other data for moderation +/-

About

A very simple personal website and blog. (Work in progress!)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 63.5%
  • JavaScript 36.5%