Spread0r
spread0r is a txt reader, which makes your reading twice as fast as usual
Install / Use
/learn @xypiie/Spread0rREADME
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 Fedora
yum install perl-Gtk2
Dependencies on OSX
Preparation:
- Install and setup X11
- Install and setup Homebrew
Setup
- Install glib/Pango/Gtk2 with Homebrew
- brew install glib pango gtk+
- Add X11 Package Config Path to bashrc
- add: export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/X11/lib/pkgconfig
- 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
- Install Perl modules
- perl -MCPAN -e shell
- perl> install Glib
- perl> install Cairo
- perl> install Pango
- perl> install Gtk2
- 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:
- Install Perl
- Install GTK for windows
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:
- use the calibre GUI
- use the commandline tool "ebook-convert" of calibre installation
- Open a terminal
- run
ebook-convert input_ebook.epub output_ebook.txt
Converting PDFs
Poppler
On Linux you can use pdftotext from Poppler:
$ pdftotext file.pdf
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
