Giter VIP home page Giter VIP logo

orgpress's Introduction

Simple Org Blog Generator

https://api.travis-ci.org/jcouyang/blog.svg

TL;DR Why another Org Mode Blog Generator

1. This is a really really simple blog generator

so you can focus on writting

only thing you need to do is adding org or markdown files into org folder and git push, no more C-c C-e P f

2. You Don’t need to learn EMACS…and Travis-ci will do all the job

just focus on writting, travis ci will take care of everything

  • (org-publish-all)
  • git push to github pages

3. You Don’t need to know Ruby to build a Blog

4. Github Favored Markdown support

5. Disqus comment system

everthing you want to custom can be added to html/postamble.html

6. RSS

7. Site Search

using http://swiftype.com/

Live Demo

[https://blog.oyanglul.us]

OK here is the Magic

https://github.com/jcouyang/orgpress/blob/master/emacs.el

Configuration

there’re few places you need to customize for you own blog

Deploy Key

https://github.com/jcouyang/orgpress/orgpress/master/deploy.enc

this is my encrypted deploy key so you better generate your own.

here’s how

  1. ssh-keygen: with name deploy or somthing you like, I named it deploy
  2. gem install travis
  3. travis login
  4. travis encrypt-file deploy --add:

this will generate encrypted version of deploy file. Make sure not to add deploy to the git repository. only add deploy.enc. the option --add will add something like this to your .travis.yml file, which is the decrypt step running on travis ci, so make sure it’s at least before before_script step

  1. cat deploy.pub | pbcopy
  2. open the github repo you wanna publish as github pages > Settings > Deploy keys
  3. PASTE

config.el

fill your info

Disqus, Google Analystics and Swiftype

https://github.com/jcouyang/orgpress/blob/master/html/postamble.html

orgpress's People

Contributors

jcouyang 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.