Skip to content

Test sample ebooks and comics in txt, rtf, epub, fb2, pdf, CBR, CBZ, CBT, CB7, etc. format.

License

Notifications You must be signed in to change notification settings

clach04/sample_reading_media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample reading media

Overview

Super small, sample ebooks that are representative samples of book formats (and content).

Pre-built files ready for download available from https://github.com/clach04/sample_reading_media/releases/

Test sample ebooks, etc. Formats:

  • test_book.md
  • test_book_md.md
  • test_book_txt.txt
  • test_book_txt_crlf_win.txt
  • test_book_txt_lf_unix.txt
  • test_book_html.html
  • test_book_odt.odt
  • test_book_docx.docx
  • test_book_pdf.pdf
  • test_book_fb2.fb2
  • test_book_epub.epub
  • test_book_md_zip.zip
  • test_book_txt_zip.zip
  • test_book_html_zip.zip
  • test_book_fb2_zip.zip
  • test_book_rtf.rtf
  • test_book_rtf_zip.zip

All the above sample books are generated from test_book.md.

  • source_test_book_fb2.fb2
  • source_test_book_fb2_zip.fbz
  • source_test_book_fb2_dot_zip.fb2.zip
  • test_book_epub_more_detail.epub
  • test_book_pdf_more_detail.pdf

LGPL license, so feel free to use in/with your projects. If you modify them, share your changes.

Test sample comics, Formats:

  • bobby_make_believe_sample.cb7
  • bobby_make_believe_sample.cbt
  • bobby_make_believe_sample.cbz
  • bobby_make_believe_sample.cbr
  • bobby_make_believe_sample_dir.cb7
  • bobby_make_believe_sample_dir.cbt
  • bobby_make_believe_sample_dir.cbz

Images in comics typically in root directory of archive (see bobby_make_believe_sample). bobby_make_believe_sample_dir sample have images in a sub-directory.

For other Comic book samples, see Comics.

bobby_make_believe images are in the Public Domain and are the first 4 four pages of "Bobby Make-Believe (1915)" from https://comicbookplus.com/?dlid=26481 - 4 pages to reduce file size whilst being realistic content.

Applications to read sample media

See:

Build setup

# Assuming Debian based
sudo apt install pandoc
sudo apt install wkhtmltopdf  # for pdf support
sudo apt install xvfb  # *might* be needed for wkhtmltopdf
sudo apt install wget  # for extra cbz comic
sudo apt install p7zip-full  # for cb7 comic (also default for zip and CBZ)
sudo apt install zip  # optional, can be used instead of 7z
sudo apt install rar  # for cbr comic

Alternative/minimal build:

env SKIP_COMICS=true env SKIP_PDF=true env SKIP_PANDOC_EOL=true ./build.sh

Issue build:

./build.sh

If wkhtmltopdf needs a display (not an issue under Microsoft Windows builds of Pandoc) can either try and use a diffrent PDF engine for pandoc or use Xvfb, for example:

Xvfb :1 &
env  DISPLAY=:1 ./build.sh
# killall Xvfb

Windows Build

Sample Windows build with 7-zip and MSYS2

path %PATH%;C:\msys32_32bit\usr\bin\
path %PATH%;C:\Program Files\7-Zip\

C:\msys32_32bit\usr\bin\bash.exe build.sh SKIP_COMICS

C:\msys32_32bit\usr\bin\bash.exe

env SKIP_COMICS=true sh build.sh

Other media samples

ebooks

Comics

Images

Videos

TODO

About

Test sample ebooks and comics in txt, rtf, epub, fb2, pdf, CBR, CBZ, CBT, CB7, etc. format.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages