Code Monkey home page Code Monkey logo

spread0r's Introduction

spread0r

spread0r is a txt reader, which makes your reading twice as fast as usual

Installation

spread0r should run on all platforms supporting perl and gtk2-perl. Just clone into the github repo or download a snapshot of: spread0r github repo

After installing perl and gtk2-perl you can start it by double clicking spread0r.pl or running it in terminal like:

./spread0r.pl

Dependencies on ArchLinux

pacman -S gtk2-perl

Dependencies on OSX

Preparation:

  • Install and setup X11
  • Install and setup Homebrew

Setup

  1. Install glib/Pango/Gtk2 with Homebrew
  • brew install glib pango gtk+
  1. Add X11 Package Config Path to bashrc
  • add: export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/X11/lib/pkgconfig
  1. Local Perl CPAN Setup
  • perl -MCPAN -e shell
  • follow setup
  • $ echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)"' >>~/.bashrc
  1. Install Perl modules
  • perl -MCPAN -e shell
  • perl> install Glib
  • perl> install Cairo
  • perl> install Pango
  • perl> install Gtk2
  1. have fun with spread0r

Dependencies on Windows

Disclaimer:

This section does not come with any warranty, whatsoever. The following steps are copied from this tutorial.

Preparation:

Setup

  • Open a Command shell
  • run ppm repo add http://www.sisyphusion.tk/ppm
  • run ppm install Gtk2 --force

Converting ebooks

Ebook-tools

Using ebook-tools and html2text you can convert your .epubs (or any other format supported by ebook-tools) into a .txt file using this command: einfo -p input_book.epub | html2text | sed -r "s/<[^>]+>//g" > blackout.txt

Calibre

Using Calibre you can convert your .epubs (or any other format supported by calibre) into a .txt file, which can be used by spread0r. To do this, you've got two options:

  1. use the calibre GUI
  2. use the commandline tool "ebook-convert" of calibre installation
  • Open a terminal
  • run ebook-convert input_ebook.epub output_ebook.txt

spread0r's People

Contributors

xypiie avatar

Watchers

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