Giter VIP home page Giter VIP logo

sblog's Introduction

sblog :: A simple and beautiful blog for you

**Note: The original version of the blog is here. I have done a lot of modifications to it for meeting my needs.If you do not like sblog, please go to the original version here **

You may want to skip to Installation.

Demo

You can visit sblog here.

Functions or Features added

Tag Cloud

I add the tag cloud in the right side of sblog. Tag cloud should be generated dynamically according to the number of the corresponding blogs. A python moduel called python-tagcloud can do this, but it needs many dependencies which related to OS.

Because sblog is hosted at SAE and lack of dependencies python-tagcloud needed, so I generate a static tag cloud for sblog. If you use sblog in you own computer or VPS, you can use python-tagcloud, it's very cool!

Excerpt

The home page shows excerpts of the latest blogs sorted by creation time.

You can do a quick view for every blog. If you like some one, you can click the title for details.

Markdown Live Preview and Post

Thanks for (MD Preview)[markdownlivepreview.com]. You can edit markdown and make a quick preview very very handy. After you finish the edition of your blog, you can post it to your blog database online. Not every one can post it, it needs security key which set by you!

It is very convenient, isn't?

Installation and Usage

# Installation
  1. You probably already have python and bottle (if not, go get it right now. I'll wait). However, for this beast, you will need python 2.75 and bottle 0.11.

  2. Get SQLAlchemy here. SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.

  3. Get markdown, jinja2. You can easily fine them in PYPI.

  4. Clone the repository from git://github.com/songuo/sblog.git.

  5. First you should configure your environment in setting.py, including database arguments and so on.

  6. Do the following for initialization:

     python syncdb.py
     cat "It's me!" > templates/me.html
    
  7. Create your security key:

     python bin/generate_key.py
    
  8. Run sblog:

     python app.py
    

It needs wsgi server for python!

Any questions: [email protected]

sblog's People

Contributors

songuo avatar

Stargazers

Shawn avatar

Watchers

James Cloos 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.