A project for some simple ebook publishing
Ruby CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
log
public
script
test
tmp
views
.deferred_server
.gitignore
.travis.yml
Gemfile
Gemfile.lock
Procfile
Procfile.dev
README.md
Rakefile
app.rb
config.ru
license.txt

README.md

Blog2Ebook

This is a simple project that started because I was going on a trip and wanted to turn some full blogs into books on my kindle. Take your blogs on the go, or just enjoy reading on a kindle screen more than a computer screen this project can help.

  • Currently supports only Kindle
    • RSS feed to kindle
    • Single post to kindle (useful because some https sites no longer allow bookmarklets to work)
    • PDF files, given PDF url it will email it to your kindle
    • Copied Text to kindle
    • git repos specifically formatted to be converted to a ebook

To see a a brief overview of the project see my post Introducing Blog2Ebook

CI Build Status

Build Status

This project runs travis-ci.org

To Run Locally

To Run locally Configure your environment
#(on time setup in ~/.profile or equivalent)
#available free at mail gun
MAILGUN_API_KEY=XXX_get_your_own_token
#available free at readability
export READ_API_TOKEN=XXX_get_your_own_token
export PORT=3000
Then start the app
foreman start
open http://localhost:3000

#old way
bundle exec rackup -p 3000
redis-server
open http://localhost:3000

Examples

open "http://localhost:3000/?url=http://mayerdan.com/atom.xml"
open "http://localhost:3000/kindleizeblog?url=http://mayerdan.com/atom.xml&email=YOUREMAIL@gmail.com"
open "http://localhost:3000/kindleizeblog?url=http://erinashleymiller.com/feed/&email=YOUREMAIL@gmail.com"
open "http://localhost:3000/kindleizeblog?url=http://codeascraft.com/feed/&email=YOUREMAIL@gmail.com"
open "http://localhost:3000/kindleizeblog?url=http://techblog.netflix.com/rss.xml&email=YOUREMAIL@gmail.com"

Useful related links

Other similar projects

TODO

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b my_markup)
  3. Commit your changes (git commit -am "Added something awesome, it does X which solves problem Y")
  4. Push to the branch (git push origin my_markup)
  5. If you haven't already read about good Pull Request practices or have never submitted one before read about submitting your first pull request
  6. Open a Pull Request
  7. Awesome thanks I will try to get back to you soon.

MIT License

See the file license.txt for copying permission.