a step forward in blog automation
- use this ruby gem to convert your stackoverflow profile to a jekyll blog and more
- fetch questions for a specifc user id and convert them to markdown or html
how do i
- install autpilot?
gem 'auto_pilot', '~> 2.0.0'to gemfile as development dependency
- use autopilot?
bundle exec autopilotfrom command line
- the bin will create a config file in the root of your project
- customize templates?
- register for an API key?
- see demo?
customized templates are as easy as updating your config:
- we can update our config with an override of MarkdownConverter#md_template
- for html, override HTMLConverter#html_template
- fork it
- create your feature branch
- commit your changes
do i have to use jekyll
no. we are just generating partials from stackoverflow posts - they could be integrated with wordpress or rails projects with ease.
afterall, its just html :)
you will also want to set
disable_front_matter = true in your config when using outside of jekyll
checkout the demo application and experiment
- change file naming convention to date question answered
- update config options
- get questions after date x
- credit sources
- support erb templates