Skip to content

Latest commit

 

History

History
62 lines (53 loc) · 1.61 KB

File metadata and controls

62 lines (53 loc) · 1.61 KB

Puffi

puffi

Puffi is an angular.js blog engine written in pure javascript, no back-end scripts needed.

Features

  • Markdown syntax for post writing
  • Google Code Prettify for highlight source codes (just for developers)
  • Automatic twitter nickname hightlighting in blog post
  • Custom page making
  • Tag searching
  • Social sharing

### TODO

  • ✘ Improving page making
  • ✘ Add post searching
  • ✘ Make management client
  • ✘ Add SASS or LESS for style templating
  • ✘ Add more themes
  • ✔ Social sharing

Test it

Just clone git repo:

https://github.com/jiin/Puffi

and run:

cd Puffi
bower install

Now change in index.html this line:

<base href="/dev/Puffi/"> <!-- [!!!] change the original value [!!!] -->

with your real base path. In the .htaccess change this line:

RewriteBase /dev/Puffi/

again with your real base path. Finally in scripts/config/base.js customize the informations:

angular.module('configuration', [])
  .constant('BLOG', {
    name: "OMG A PUFFI!", // blog name
    author: "Mr. Puffi", // blog author (you)
    description: "Another amazing puffi powered blog", // blog description
    email: "blah.puffi@gmail.com", // your email
    keywords: "foo, bar, omg", // keywords
    theme: "default",
    baseurl: "/dev/Puffi/" // your base url
  });

That's all! Puffi is actually in experiment phase, for bug or other issues open a thread in issues section.