GithubHelp home page GithubHelp logo

reanzu / comic-backup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cortys/comic-backup

0.0 0.0 0.0 5.38 MB

Back up comics as CBZ.

Home Page: https://cmxlgy.wordpress.com

HTML 3.70% JavaScript 91.92% CSS 4.38%

comic-backup's Introduction

Comic Backup

Do you like online comic platforms? Me too!

Are you annoyed that you can't download all the comics you bought in a standard format? Me too!

This is a Chrome/Chromium extension, that allows you to do just that. After installation you are able to download comics from any publisher. It should work on any OS where Chrome works.

IMPORTANT: Do not use the extension for piracy! Only create private backups! We do not intent to compromise any comic platform. Downloaded comics always have your username included. Distributed comics can be tracked back to you!

Installation

The installation is slightly complicated (since I don't want to add this to the Chrome Store).

  • In Chrome, click on the settings icon on the right (looks like three vertical lines on top of each other)
  • Select Tools > Extensions
  • Select "Developer mode"
  • Click on "Load unpacked extension"
  • Select the "source" folder
  • Now you just open your comics in the online reader and you should see an orange panel, asking for back-up.

Updates

If you want to be notified about updates you can add an update server in the extensions options. You get there by opening the extensions panel in the settings and then click on "Options" right to the Comic Backup extension. The options should open and you can click on "Set update server".

The update server URL is: https://raw.githubusercontent.com/Cortys/comic-backup/master

Copy it exactly like that.

Why it's not on Chrome Store?

I am fairly certain comic platforms will, unfortunately, try to remove this extension from Chrome Store, because it goes around their DRM.

How to use

  • Open your online comic library by clicking on "My Books" in the menu.
  • If this is your first time using the extension you will see a red "Activate Scan" button next to each comic.
  • Click one of the red buttons and a new tab should be opened.
  • In there a scan will be created. This basically means that the extension will ask you to click on some element of the reader. The things you are asked to do (switch view mode, open thumbnails...) are operations you can accomplish with one click. So only perform ONE click in each step or the setup won't work.
  • After you completed all tasks the extension will use this information to determine how to exploit the reader for backups.
  • Then you are asked to modify a setting in the web reader. Please do so!
  • If everything worked fine you will get a success message and may start to backup your comic library now.
  • To start a backup simply click the "Scan Comic" button, that should now appear next to each comic.
  • Some comics also offer a direct PDF and CBZ download. Those are official high quality downloads available for a selection of publishers.
  • Sometimes backups of comics with many pages (~200+) fail. To circumvent that you can enable single image container compression in the options and all the pages of the comic will be downloaded as separate images. To get a CBZ you then have to zip the images manually.

How it works

You can look at the source code - but basically, it fetches the pixels of the canvas elements that compose the opened page, puts them together, and then it downloads those zipped using zip.js or as single image blobs using JavaScript-Canvas-to-Blob.

About, licence

Project started by SpergLord Enterprises, LLC and continued by other awesome contributors.

If you have problems with the software/have an idea, add an issue on Github via Issues.

The code is under GPLv3 licence. Code uses zip.js by Gildas Lormeau and JavaScript-Canvas-to-Blob by Sebastian Tschan.

League Gothic by Caroline Hadilaksono, Micah Rich, & Tyler Finck is used.

comic-backup's People

Contributors

cortys avatar cyberman-tm avatar gfieldgg avatar reanzu avatar andrewd2 avatar ericponvelle avatar tomchiverton 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.